Searched refs:getFailureCount (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLastResortWatchdog.java | 571 return (getFailureCount(bssid, FAILURE_CODE_ASSOCIATION) in isOverFailureThreshold() 572 + getFailureCount(bssid, FAILURE_CODE_AUTHENTICATION) in isOverFailureThreshold() 573 + getFailureCount(bssid, FAILURE_CODE_DHCP)) >= FAILURE_THRESHOLD; in isOverFailureThreshold() 581 public int getFailureCount(String bssid, int reason) { in getFailureCount() method in WifiLastResortWatchdog
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLastResortWatchdogTest.java | 127 assertEquals(associationRejections, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals() 129 assertEquals(authenticationFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals() 131 assertEquals(dhcpFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
|