diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2018-02-12 21:21:20 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2018-02-15 10:44:17 +0000 |
commit | e7a566f2fb6701d7fd32ca0c983dbe9364a90ca1 (patch) | |
tree | 9e98a378a9809f4232082e49f358d261760e13dc /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 90f285ba517995f391494279d12a7cdb4bd024c2 (diff) |
Add more ways to run AppLaunch.
1) Pass a list of compiler filters.
2) Pass an option to output cpu cycles and major faults from app.
bug: 73091359
Test: adb shell "am instrument -e drop_cache true -e compiler_filters \"speed-profile|verify|quicken\" -e simpleperf_app true -e apps com.google.android.apps.maps^Maps -e launch_directory /data/local/tmp -w com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner"
Test:
adb shell "am instrument -e drop_cache true -e simpleperf_cmd \"simpleperf stat -a\" -e apps com.google.android.apps.maps^Maps -e launch_directory /data/local/tmp -w com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner"
com.android.tests.applaunch.AppLaunch:INSTRUMENTATION_STATUS: Maps=1488,1850,1973,1972,1929,1947,1968,1771,2006,1912,
INSTRUMENTATION_STATUS_CODE: 0
.
Test results for InstrumentationTestRunner=.
Time: 88.636
OK (1 test)
Change-Id: I61fea8c124107cbd7234f69358078780ab74c4b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions