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.java662 return (getFailureCount(bssid, FAILURE_CODE_ASSOCIATION) in isOverFailureThreshold()
663 + getFailureCount(bssid, FAILURE_CODE_AUTHENTICATION) in isOverFailureThreshold()
664 + getFailureCount(bssid, FAILURE_CODE_DHCP)) >= FAILURE_THRESHOLD; in isOverFailureThreshold()
672 public int getFailureCount(String bssid, int reason) { in getFailureCount() method in WifiLastResortWatchdog
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java147 assertEquals(associationRejections, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
149 assertEquals(authenticationFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
151 assertEquals(dhcpFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()