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.java98 public static final int MAX_SCAN_RESTART_ALLOWED = 5; field in WifiConnectivityManager
601 if (mSingleScanRestartCount++ < MAX_SCAN_RESTART_ALLOWED) { in onFailure()
606 + MAX_SCAN_RESTART_ALLOWED + " times"); in onFailure()
658 if (mScanRestartCount++ < MAX_SCAN_RESTART_ALLOWED) { in onFailure()
663 + MAX_SCAN_RESTART_ALLOWED + " times"); in onFailure()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java2048 for (int i = 0; i < (WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED * 2); i++) { in checkMaximumScanRetry()
2057 verify(mWifiScanner, times(WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED + 1)).startScan( in checkMaximumScanRetry()
2103 for (int i = 0; i < (WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED * 2); i++) { in verifyScanFailureCountIsResetAfterOnResult()
2112 verify(mWifiScanner, times(WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED + 3)).startScan( in verifyScanFailureCountIsResetAfterOnResult()