summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMike Ma <yanmin@google.com>2017-10-31 12:30:42 -0700
committerMike Ma <yanmin@google.com>2017-11-01 14:20:31 -0700
commitd2239828d608a936e8a92319ce9c2b415998acb8 (patch)
tree853e1ee7885b54411e32bdefb933655c2c16c661 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf8a9169949c589755d300530f7b2390e687a9f8b (diff)
Record proto to file in am instrument
Add an option -f to record instrumentdata proto produced by am instrument to a file in addition to printing to stdout. Default path is /sdcard/instrument-logs/log-yyyyMMdd-hhmmss-SSS.instrumentation_data_proto. If the file exits, it will be deleted before writing. Path can be changed via optional <FILE> argument after -f. If -f and -m are both present, proto will be written to a file and print to stdout. Test: build, flash and run: bit -bi FrameworksCoreTests adb shell am instrument -w -r -f tmp/tmp.log \ -e class com.android.internal.os.BatteryStatsNoteTest \ com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Change-Id: Iabc320c066d5995eee842c26416623eeb3d403f4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions