Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java550 int associationRejections = WifiLastResortWatchdog.FAILURE_THRESHOLD; in testFailureCounting_failureOverThresholdCheck()
551 int authenticationFailures = WifiLastResortWatchdog.FAILURE_THRESHOLD; in testFailureCounting_failureOverThresholdCheck()
552 int dhcpFailures = WifiLastResortWatchdog.FAILURE_THRESHOLD; in testFailureCounting_failureOverThresholdCheck()
593 int associationRejections = WifiLastResortWatchdog.FAILURE_THRESHOLD - 1; in testFailureCounting_failureUnderThresholdCheck()
594 int authenticationFailures = WifiLastResortWatchdog.FAILURE_THRESHOLD - 1; in testFailureCounting_failureUnderThresholdCheck()
595 int dhcpFailures = WifiLastResortWatchdog.FAILURE_THRESHOLD - 1; in testFailureCounting_failureUnderThresholdCheck()
989 int associationRejections = WifiLastResortWatchdog.FAILURE_THRESHOLD; in testTriggerCondition_someNetworksOverFailureThreshold_allHaveEverConnected()
990 int authenticationFailures = WifiLastResortWatchdog.FAILURE_THRESHOLD + 2; in testTriggerCondition_someNetworksOverFailureThreshold_allHaveEverConnected()
991 int dhcpFailures = WifiLastResortWatchdog.FAILURE_THRESHOLD + 3; in testTriggerCondition_someNetworksOverFailureThreshold_allHaveEverConnected()
1044 int associationRejections = WifiLastResortWatchdog.FAILURE_THRESHOLD; in testTriggerCondition_allNetworksOverFailureThreshold_allHaveEverConnected()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLastResortWatchdog.java63 public static final int FAILURE_THRESHOLD = 7; field in WifiLastResortWatchdog
350 badAuth += (entry.getValue().first.authenticationFailure >= FAILURE_THRESHOLD) ? 1 : 0; in incrementWifiMetricsTriggerCounts()
351 badAssoc += (entry.getValue().first.associationRejection >= FAILURE_THRESHOLD) ? 1 : 0; in incrementWifiMetricsTriggerCounts()
352 badDhcp += (entry.getValue().first.dhcpFailure >= FAILURE_THRESHOLD) ? 1 : 0; in incrementWifiMetricsTriggerCounts()
428 if ((getFailureCount(bssid, FAILURE_CODE_ASSOCIATION) >= FAILURE_THRESHOLD) in isOverFailureThreshold()
429 || (getFailureCount(bssid, FAILURE_CODE_AUTHENTICATION) >= FAILURE_THRESHOLD) in isOverFailureThreshold()
430 || (getFailureCount(bssid, FAILURE_CODE_DHCP) >= FAILURE_THRESHOLD)) { in isOverFailureThreshold()