summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authormukesh agrawal <quiche@google.com>2017-04-07 16:01:51 -0700
committermukesh agrawal <quiche@google.com>2017-04-07 17:28:28 -0700
commit4776ec875d92edd7ed00d739720ed08c7894bc8a (patch)
tree27bfd5b788d6544ef78de161ed3e8c550e56554a /service
parentf335b8d32d3aa8d8e38d16855ae7b03cfd6ee6f3 (diff)
WifiDiagnostics: enlarge ring-buffers for dogfood
During early dogfooding, we need larger ring-buffers, to help partners diagnose issues with the HAL, driver, and firmware. In particular, I'm hoping that the larger buffers will help with any recurrences of b/36599054. Make it so. Bug: 36811396 Test: manual (see below) Change-Id: I54b82407d130d387646bfa443f6dd78c7dfcce15 Manual test: $ adb reboot bootloader && fastboot flashall $ adb shell dumpsys wifi \ | awk '/driver_prints/ { found = 1; next } /^$/ { found = 0 } (found) { print }' \ | base64 --decode \ | pigz --zlib -d \ | wc -c -> result should be >32768
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiDiagnostics.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiDiagnostics.java b/service/java/com/android/server/wifi/WifiDiagnostics.java
index 9803b6dc0..f9c550c06 100644
--- a/service/java/com/android/server/wifi/WifiDiagnostics.java
+++ b/service/java/com/android/server/wifi/WifiDiagnostics.java
@@ -492,7 +492,8 @@ class WifiDiagnostics extends BaseWifiDiagnostics {
}
private boolean enableVerboseLoggingForDogfood() {
- return false;
+ return true;
+
}
private BugReport captureBugreport(int errorCode, boolean captureFWDump) {