summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2018-06-08 14:48:48 -0700
committerEtan Cohen <etancohen@google.com>2018-06-08 14:48:48 -0700
commit99efc1409f44ada7f6c7ca3e849b86ec47103159 (patch)
tree36d0d5fcb9f9f01a3ac93ef060096000ac5bd28a
parent4c23cef241b5d93d2bf49d620a924911ae1ce916 (diff)
[RTT] Dump native status information into dumpsys
Native status of RTT operation is collected and uploaded to metrics but was not printed to dumpsys. Added. Critical to diagnose RTT failures from dumpsys (bug reports). Bug: 109943669 Test: run RTT then: adb shell dumpsys wifirtt Change-Id: Id7fff1522c1c44f2ac44c85fd54dd1043dc53bce
-rw-r--r--service/java/com/android/server/wifi/rtt/RttMetrics.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/rtt/RttMetrics.java b/service/java/com/android/server/wifi/rtt/RttMetrics.java
index c1bec8f97..ecc1c4812 100644
--- a/service/java/com/android/server/wifi/rtt/RttMetrics.java
+++ b/service/java/com/android/server/wifi/rtt/RttMetrics.java
@@ -116,6 +116,7 @@ public class RttMetrics {
return "numCalls=" + numCalls + ", numIndividualCalls=" + numIndividualCalls
+ ", perUidInfo=" + perUidInfo + ", numRequestsHistogram="
+ numRequestsHistogram + ", requestGapHistogram=" + requestGapHistogram
+ + ", statusHistogram=" + statusHistogram
+ ", measuredDistanceHistogram=" + measuredDistanceHistogram;
}
}