Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBlocklistMonitor.java482 int failureThreshold = getFailureThresholdForReason(reasonCode); in handleBssidConnectionFailureInternal() local
484 if (currentStreak > 0 || entry.failureCount[reasonCode] >= failureThreshold) { in handleBssidConnectionFailureInternal()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java7648 int failureThreshold = 5; in testRepeatedIpReachabilityFailureDisableNetwork() local
7650 when(mWifiGlobals.getRepeatedNudFailuresThreshold()).thenReturn(failureThreshold); in testRepeatedIpReachabilityFailureDisableNetwork()
7658 for (int i = 0; i < failureThreshold; i++) { in testRepeatedIpReachabilityFailureDisableNetwork()
7673 for (int i = 0; i < failureThreshold - 1; i++) { in testRepeatedIpReachabilityFailureDisableNetwork()
7675 (long) (i + failureThreshold + 1) * (failureWindowMs)); in testRepeatedIpReachabilityFailureDisableNetwork()