Home
last modified time | relevance | path

Searched refs:getScanReturnEntry (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java629 public int getScanReturnEntry(int scanReturnCode) { in getScanReturnEntry() method in WifiMetrics
852 pw.println(" SCAN_UNKNOWN: " + getScanReturnEntry( in dump()
854 pw.println(" SCAN_SUCCESS: " + getScanReturnEntry( in dump()
856 pw.println(" SCAN_FAILURE_INTERRUPTED: " + getScanReturnEntry( in dump()
858 pw.println(" SCAN_FAILURE_INVALID_CONFIGURATION: " + getScanReturnEntry( in dump()
860 pw.println(" FAILURE_WIFI_DISABLED: " + getScanReturnEntry( in dump()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java518 assertEquals(mWifiMetrics.getScanReturnEntry(WifiMetricsProto.WifiLog.SCAN_UNKNOWN), 1); in sendSingleScanRequestWhichFailsToStart()
560 assertEquals(mWifiMetrics.getScanReturnEntry(WifiMetricsProto.WifiLog.SCAN_UNKNOWN), 1); in sendSingleScanRequestWhichFailsAfterStart()
691 assertEquals(mWifiMetrics.getScanReturnEntry(WifiMetricsProto.WifiLog.SCAN_SUCCESS), 2); in sendSingleScanRequestWhilePreviousScanRunning()
807 assertEquals(mWifiMetrics.getScanReturnEntry(WifiMetricsProto.WifiLog.SCAN_SUCCESS), 3); in sendMultipleSingleScanRequestWhilePreviousScanRunning()