summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSohani Rao2017-07-11 19:57:57 -0500
committerSohani Rao2017-08-11 19:10:33 -0500
commitdbc54f3c734786d4dc40d455a7900f2a7e408dcc (patch)
tree9a6e30d6518df6dded2c5a34936239db97d9e38c
parent8a89f6126f00edc71e77bb77b2cfe17b8c90dab1 (diff)
downloadsystem-connectivity-wificond-dbc54f3c734786d4dc40d455a7900f2a7e408dcc.tar.gz
system-connectivity-wificond-dbc54f3c734786d4dc40d455a7900f2a7e408dcc.tar.xz
system-connectivity-wificond-dbc54f3c734786d4dc40d455a7900f2a7e408dcc.zip
Wificond: AIDL APIs for Offload HAL API metrics
Add new APIs to IPnoScanEvent AIDL itnerface that can be used to report Offload HAL events for purposes of Offload HAL scan metric collection by framework Bug: 32842314 Test: Unit tests, on-device test for connecting to a network found by Offload HAL during PNO scans Change-Id: Iae97389a35a728e3c0fc67f4f2c9937a8fa4acee
-rw-r--r--aidl/android/net/wifi/IPnoScanEvent.aidl9
1 files changed, 9 insertions, 0 deletions
diff --git a/aidl/android/net/wifi/IPnoScanEvent.aidl b/aidl/android/net/wifi/IPnoScanEvent.aidl
index 6488c19..50c1918 100644
--- a/aidl/android/net/wifi/IPnoScanEvent.aidl
+++ b/aidl/android/net/wifi/IPnoScanEvent.aidl
@@ -18,6 +18,15 @@ package android.net.wifi;
18 18
19// A callback for receiving pno scanning events. 19// A callback for receiving pno scanning events.
20interface IPnoScanEvent { 20interface IPnoScanEvent {
21 const int PNO_SCAN_OVER_OFFLOAD_BINDER_FAILURE = 0;
22 const int PNO_SCAN_OVER_OFFLOAD_REMOTE_FAILURE = 1;
23
21 oneway void OnPnoNetworkFound(); 24 oneway void OnPnoNetworkFound();
22 oneway void OnPnoScanFailed(); 25 oneway void OnPnoScanFailed();
26 // Callback notifying the framework that PNO scan is started over Offload HAL
27 // interface, this is meant for metrics collection only
28 oneway void OnPnoScanOverOffloadStarted();
29 // Callback notifying the framework that a PNO scan running over Offload HAL
30 // has failed, this is meant for metrics collection only
31 oneway void OnPnoScanOverOffloadFailed(int reason);
23} 32}