Searched refs:getFailureCount (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLastResortWatchdog.java | 705 return (getFailureCount(bssid, FAILURE_CODE_ASSOCIATION) in isOverFailureThreshold() 706 + getFailureCount(bssid, FAILURE_CODE_AUTHENTICATION) in isOverFailureThreshold() 707 + getFailureCount(bssid, FAILURE_CODE_DHCP)) >= FAILURE_THRESHOLD; in isOverFailureThreshold() 716 int getFailureCount(String bssid, int reason) { in getFailureCount() method in WifiLastResortWatchdog
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLastResortWatchdogTest.java | 165 assertEquals(associationRejections, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals() 167 assertEquals(authenticationFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals() 169 assertEquals(dhcpFailures, mLastResortWatchdog.getFailureCount(bssid, in assertFailureCountEquals()
|