summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2019-03-08 14:59:41 +0000
committerDavid Brazdil <dbrazdil@google.com>2019-03-14 14:34:20 +0000
commita5c3a808020d81447bc19d07a99288e9d28a6e6c (patch)
tree83a9b1eac0a7209e6e407c0462d0b1ba8f95f62c /test/ProfileTestMultiDex
parent98fb083a30e9b37685f943e2923e65e60e0a0971 (diff)
hiddenapi domain: Use oat dex file location if available
To determine the caller and callee domains of a hidden API access check, the logic will test the dex location against several known system locations. However, DexFile instances backed by an OatFile have relative dex locations to avoid need to rewrite the .oat file when moving files between folders. The canonical dex location is stored in the OatDexFile instead. Because the OatDexFile data structure is not available in libdexfile, move the domain resolution logic to hidden_api.cc and resolve when dex files is first registered with the class linker. Test: m test-art-gtest Test: camera does not crash Bug: 126901248 Bug: 127852529 Change-Id: Id494b1c47a2199c227dec046174e08320b9cbc3b
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions