Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java110 public static final int MAX_SCAN_RESTART_ALLOWED = 5; field in WifiConnectivityManager
427 if (mSingleScanRestartCount++ < MAX_SCAN_RESTART_ALLOWED) { in onFailure()
432 + MAX_SCAN_RESTART_ALLOWED + " times"); in onFailure()
484 if (mScanRestartCount++ < MAX_SCAN_RESTART_ALLOWED) { in onFailure()
489 + MAX_SCAN_RESTART_ALLOWED + " times"); in onFailure()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java1351 for (int i = 0; i < (WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED * 2); i++) { in checkMaximumScanRetry()
1360 verify(mWifiScanner, times(WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED + 1)).startScan( in checkMaximumScanRetry()
1405 for (int i = 0; i < (WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED * 2); i++) { in verifyScanFailureCountIsResetAfterOnResult()
1414 verify(mWifiScanner, times(WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED + 3)).startScan( in verifyScanFailureCountIsResetAfterOnResult()