summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorSohani Rao <sohanirao@google.com>2017-07-06 10:15:53 -0700
committerSohani Rao <sohanirao@google.com>2017-08-11 17:23:59 -0700
commit85c806c0d32bb30f421ebc372a59b2f3ea2dce41 (patch)
tree7581f1a8ed7c13cd419a51a87f075ed625ac659c /service
parent8f5c6f25e0b8266b3bae3540e854d67442bc60d2 (diff)
AIDL changes for Offload HAL metrics collection
Implement new APIs in IPnoScanEvent AIDL interface that report data related to Offload HAL scan metrics. Bug: 32842314 Test: Unit tests, on-device test for connecting to a network found by Offload HAL during Pno scans Change-Id: Id02dd045684b4e0f3fd95f58fb9793b0c8e8f3cb
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WificondControl.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WificondControl.java b/service/java/com/android/server/wifi/WificondControl.java
index 2f829fcc1..005f36042 100644
--- a/service/java/com/android/server/wifi/WificondControl.java
+++ b/service/java/com/android/server/wifi/WificondControl.java
@@ -99,6 +99,18 @@ public class WificondControl {
Log.d(TAG, "Pno Scan failed event");
// Nothing to do for now.
}
+
+ @Override
+ public void OnPnoScanOverOffloadStarted() {
+ Log.d(TAG, "Pno scan over offload started");
+ // Update metrics
+ }
+
+ @Override
+ public void OnPnoScanOverOffloadFailed(int reason) {
+ Log.d(TAG, "Pno scan over offload failed");
+ // Update metrics
+ }
}
/** Enable or disable verbose logging of WificondControl.