summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2019-01-11 11:28:34 -0800
committerWinson <chiuwinson@google.com>2019-01-14 14:52:00 -0800
commit2f3669b767129bc8739bb03e80abc65eb54a3471 (patch)
treeccb7294d22f43c64f863defb345a1383294f221b /tests/DynamicCodeLoggerIntegrationTests/src/cpp
parent0c891e8f4e5d7e1798e564cee80694264751aa9a (diff)
Add function to return path for last resolved resource
After an AssetManager.FindEntry call is made, either directly or from any of the resource entry calls, a stack of the steps taken to resolve the resource is saved. Those steps can be retrieved as a log later on by calling AssetManager.GetLastResourceResolution, which returns a formatted string of the resource ID/name and path taken, including the configs and package names of each step. Logging and the saving of the steps to memory can be enabled/disabled with the @hide .setResourceResolutionLoggingEnabled() method on AssetManager. Bug: 122374289 Test: cases for single and multi ApkAssets loaded Test: case for no resolution made Test: made test app to display log on device Test: added debugging call to source and ran through on-device apps Change-Id: I6a32b8d4020c3f8510032ff7f431510089fff43f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp')
0 files changed, 0 insertions, 0 deletions