summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-08-11 09:32:55 +0900
committerJiyong Park <jiyong@google.com>2021-01-12 20:50:27 +0900
commit834e5b2bf292f3372de4e11611a84ec28ecf0aa5 (patch)
tree38455dae4955db31e6a626d58b4b315feca21ac1 /trusty/coverage/coverage.cpp
parent0b6c67598382453c6212e1f44fe390241de8e7bf (diff)
Cgroup APIs are guarded
The following API was added for the API level 30 and beyond. Currently, its existence is tested using the null check which is done regardless of the min sdk version of the compilation unit. (which in turn required us to mark the API symbol weak regardless of the min sdk version.) * AGroupController_getFlags Now, we have a better way of testing the API availability; __builtin_available. The null check is replaced with the call to the compiler-provided macro which determines if the code is running in a version of OS where the API is known to exist. Bug: 150860940 Bug: 134795810 Test: m Change-Id: I5d17fc877c553c402a62485b61af574a54658a76
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions