diff options
author | mukesh agrawal <quiche@google.com> | 2018-01-22 14:07:31 -0800 |
---|---|---|
committer | mukesh agrawal <quiche@google.com> | 2018-01-24 10:03:35 -0800 |
commit | d9e1df58be2882d025aa0585e0258742afad21cb (patch) | |
tree | a5ed4fcc03d4ee0f9f2b708855e3ebf6fef7d83f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2bdb9af08f280ada8b6db5ef73913f0ca984bbd5 (diff) |
ActivityManager: add API for wifi bug report
Under certain (limited) conditions, we would like to
automatically trigger a bug report to help diagnose
Wifi problems.
The regular bugreport can't be used for this purpose,
as it takes a long time to generate. To support
lightweight auto-bug generation, add a Wifi-specific
bugreport.
Bug: 69934148
Test: manual
Manual test
-----------
- boot walleye
- enable wifi
- connect to googleguest
$ adb root
$ adb shell pkill -f 'wifi@'
- notice "Bug report #1 captured" notification
$ adb pull '/data/user_de/0/com.android.shell/files/bugreports
$ unzip bugreports/*.zip
$ grep "was the duration of 'DUMPSTATE'" bugreport*.txt
-> ------ 1.548s was the duration of 'DUMPSTATE' ------
Change-Id: If657eb8f61b16cefe717c977663438c28f515bd7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions