Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java115 public static final int MAX_SCAN_RESTART_ALLOWED = 5; field in WifiConnectivityManager
1085 if (mSingleScanRestartCount++ < MAX_SCAN_RESTART_ALLOWED && mScreenOn) { in onFailure()
1152 if (mScanRestartCount++ < MAX_SCAN_RESTART_ALLOWED) { in onFailure()
1157 + MAX_SCAN_RESTART_ALLOWED + " times"); in onFailure()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java3980 for (int i = 0; i < (WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED * 2); i++) { in checkMaximumScanRetry()
3989 verify(mWifiScanner, times(WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED + 1)).startScan( in checkMaximumScanRetry()
4014 for (int i = 0; i < (WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED * 2); i++) { in testNoRetryScanWhenScreenOff()
4071 for (int i = 0; i < (WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED * 2); i++) { in verifyScanFailureCountIsResetAfterOnResult()
4080 verify(mWifiScanner, times(WifiConnectivityManager.MAX_SCAN_RESTART_ALLOWED + 3)).startScan( in verifyScanFailureCountIsResetAfterOnResult()