Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLastResortWatchdog.java650 return (getFailureCount(bssid, FAILURE_CODE_ASSOCIATION) in isOverFailureThreshold()
651 + getFailureCount(bssid, FAILURE_CODE_AUTHENTICATION) in isOverFailureThreshold()
652 + getFailureCount(bssid, FAILURE_CODE_DHCP)) >= FAILURE_THRESHOLD; in isOverFailureThreshold()
660 public int getFailureCount(String bssid, int reason) { in getFailureCount() method in WifiLastResortWatchdog
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java142 assertEquals(associationRejections, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
144 assertEquals(authenticationFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
146 assertEquals(dhcpFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()