take bug report in BUGREPORT_MODE_FULL mode
Currently WifiDiagnostic. takeBugReport() takes bug report in BUGREPORT_MODE_WIFI mode. However, the captured bug report is not debug friendly.
When the bug report is opened in Android Bug Tool, it doesn't have nicely grouped dumpsys sections. Its format doesn't work with existing WLAN driver and FW parser tools.
The bug report captured in BUGREPORT_MODE_WIFI does reduce file size from ~30 MB to ~15 MB. But the size reduction can't be justified given by its debugging unfriendly capture format.
Change bug report parameter to use BUGREPORT_MODE_FULL mode.
Bug: 151354219
Test: manual test
1) add the following line in reportConnectionAttemptEnd() of ClientModeImpl.java
mWifiDiagnostics.takeBugReport("wifi bugReport", "experiment");
2) keep wifi enabled, reboot phone.
3) after phone is rebooted and connects to a wifi network, bugReport
capture should be triggered already.
4) use adb pull to pull out bugReport file and check it out with android
bug tool.
Change-Id: Idd40b70c13e0b37781778c774800ebfae0bc60ae
1 file changed