Searched refs:failureThreshold (Results 1 – 2 of 2) sorted by relevance
482 int failureThreshold = getFailureThresholdForReason(reasonCode); in handleBssidConnectionFailureInternal() local484 if (currentStreak > 0 || entry.failureCount[reasonCode] >= failureThreshold) { in handleBssidConnectionFailureInternal()
7648 int failureThreshold = 5; in testRepeatedIpReachabilityFailureDisableNetwork() local7650 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()