summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-12-14 14:36:15 +0000
committerDavid Brazdil <dbrazdil@google.com>2019-01-21 09:48:59 +0000
commit90faceb71e25748172ba6369209f8a2a66735394 (patch)
tree64707bbd718b29de9a19c01b12b0cc872685bb13 /test/ProfileTestMultiDex/Second.java
parent62a4bcf3fe11e6800f5d451b41003c135358ed6a (diff)
hiddenapi: Support 'core-platform-api' flag
Add support for parsing @CorePlatformApi stubs and encoding it in hiddenapi dex flags of the corresponding fields/methods. (1) The CL refactors hiddenapi::ApiList class to store a second value: a bit vector of "domain API" flags. These are intended for encoding membership in a set of API stubs only available to certain callers, e.g. @CorePlatformApi when platform code calls core platform or @TestApi for CTS tests. (2) Parse @CorePlatformApi stubs and set domain flags for its members. (3) Parse the flags at runtime and set kAccCorePlatformApi access flag on the corresponding ArtField/ArtMethod objects. Bug: 119068555 Test: m appcompat Test: dexlayout -b <core-oj jar> | grep 'CORE-PLATFORM-API' Change-Id: Idbfa6d3af7459258a5a0b6da7c03c037a577eb75
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions