summaryrefslogtreecommitdiff
path: root/tools/preload-check/src
AgeCommit message (Collapse)Author
2020-08-17profman: inclusive language updates Orion Hodson
Based on: https://source.android.com/setup/contribute/respectful-code Bug: 161336379 Bug: 161896447 Test: m Change-Id: Iaf7db2f76d8979f1ccc06c7e9e705b69c1f8069d
2019-04-16PreloadCheck: Add support for regex checking Andreas Gampe
Add some reflection hackery to retrieve boot classpath dex files. This requires unstripped jars. Then use DexFile APIs to retrieve all classes, and run a check if the given regular exception matches. Use the new infrastructure to check that NoPreloadHolder classes are not initialized. Test: atest --test-mapping frameworks/base/tools/preload-check Change-Id: Ic19e950647e5827d3c3ec4a7109553f39be7f43a
2019-04-15PreloadCheck: Add preloaded-classes-blacklist Andreas Gampe
Embed the preloaded-classes-blacklist file and check all classes in it. Test: atest --test-mapping frameworks/base/tools/preload-check Change-Id: I4292cae1eb24eafe1f63e914143433b57cc74751
2019-04-11Preload: Add a simple test for the state of classes Andreas Gampe
Use app_process and reflection to find the class state. This is expected to break when internals change, so include a test for expectations. Bug: 130206915 Test: atest PreloadCheck Change-Id: I7ecdb88a19efcfcfa1c7aa5c7e67d1990306166e