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.java428 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()
441 public int getFailureCount(String bssid, int reason) { in getFailureCount() method in WifiLastResortWatchdog
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java108 assertEquals(associationRejections, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
110 assertEquals(authenticationFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
112 assertEquals(dhcpFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()