diff options
author | Igor Murashkin <iam@google.com> | 2018-09-13 13:56:58 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2018-09-13 13:56:58 -0700 |
commit | 45087deef43f2cab06838596c645f161ea2cda76 (patch) | |
tree | fa2498d88f8b4ace5e220cad4d50a1513882ddc8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 25f394d681649c9cb23622a445ff505bfe55219b (diff) |
startop: Add script to force dex2oat compilation filter for app
Example: ./force_compiler_filter --package com.google.android.apps.maps --compiler-filter speed-profile
Run the app just slightly enough to fully start up, then force it to
dump the profile and recompile the application with dex2oat under the
speed-profile filter.
(Also supports any other compilation filter such as quicken, speed,
etc).
Subsequently, this command can be used to manually validate that the
compiler filter was indeed changed:
$ adb shell dumpsys package com.google.android.apps.maps | grep -A10 "Dexopt state"
Dexopt state:
[com.google.android.apps.maps]
path: /data/app/com.google.android.apps.maps-D7s8PLidqqEq7Jc7UH_a5A==/base.apk
arm64: [status=speed-profile] [reason=unknown]
Test: Manual (see above)
Change-Id: Iea6067f90dc287d1de651d1ab36df69d23b2e9c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions