summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLee Shombert <shombert@google.com>2020-06-15 12:55:18 -0700
committerLee Shombert <shombert@google.com>2020-07-15 00:37:04 +0000
commite2fbc3b8111de71424cfa42a2c826e6e8e5ca278 (patch)
tree33686593f357c2f1a9bfca9905777e8aef5f8251 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent97683bf1dabec493e92b5e2eda2bbe68a2d1c877 (diff)
Enhance PropertyInvalidatedCache debug
Bug: 159039903 A set of small changes to the class to allow for addition debugging. 1. Distinguish a cache that is disabled because the nonce has not set from a cache that is disabled because it is corked. 2. Count the times the cache was bypassed because it was corked, unset, or disabled. This does not count the times the cache was bypassed because it was locally disabled. Add these counts to dumpsys. 3. Count the number of times a cache is invalidated, corked, and recorked (corked while already corked). Add these counts to dumpsys. 4. Log some additional information if cache inconsistency is detected. 5. Record cache overflows and cache high-water marks. Test: Run the following tests with and without the changes. Verify that the changes do not affect behavior. * CtsContactsProviderTestCases * FrameworksServicesTests * FrameworksServicesTests:UserManagerServiceCreateProfileTest * PlatformScenarioTests * PtsChreTestCases * FrameworksServicesTests:UserManagerServiceUserInfoTest * FrameworksServicesTests:UserManagerServiceIdRecyclingTest * CtsProviderTestCases * FrameworksServicesTests:UserSystemPackageInstallerTest * FrameworksServicesTests:PackageManagerSettingsTests * FrameworksServicesTests:UserLifecycleTests * CtsCalendarProviderTestCases * BluetoothInstrumentationTests Pull a bug report and verify that the new counters are included. Change-Id: I38d5545947d6f09c7e62e094c7b2858aab4a8cf9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions