Home
last modified time | relevance | path

Searched refs:mWifiLastResortWatchdog (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBlocklistMonitorTest.java140 @Mock private WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiBlocklistMonitorTest
259 mWifiLastResortWatchdog, mClock, mLocalLog, mWifiScoreCard, mScoringParams, in setup()
377 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_1)).thenReturn(true); in testIgnoreIfOnlyBssid()
378 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_2)).thenReturn(false); in testIgnoreIfOnlyBssid()
400 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_1)).thenReturn(true); in testIgnoreIfOnlyBssidNotApplicableForSomeFailures()
420 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_1)).thenReturn(true); in testFailuresOnDisabledConfigsGetBlocked()
421 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_2)).thenReturn(true); in testFailuresOnDisabledConfigsGetBlocked()
849 when(mWifiLastResortWatchdog.shouldIgnoreBssidUpdate(anyString())).thenReturn(true); in testWatchdogIsGivenChanceToTrigger()
856 when(mWifiLastResortWatchdog.shouldIgnoreBssidUpdate(anyString())).thenReturn(false); in testWatchdogIsGivenChanceToTrigger()
867 when(mWifiLastResortWatchdog.shouldIgnoreBssidUpdate(anyString())).thenReturn(true); in testUnrelatedErrorsBypassWatchdogCheck()
[all …]
DWifiShellCommandTest.java99 @Mock WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiShellCommandTest
130 when(mWifiInjector.getWifiLastResortWatchdog()).thenReturn(mWifiLastResortWatchdog); in setUp()
DClientModeImplTest.java533 @Mock WifiLastResortWatchdog mWifiLastResortWatchdog; field in ClientModeImplTest
830 mMultiInternetManager, mWifiLastResortWatchdog, mWakeupController, in initializeCmi()
857 verify(mWifiLastResortWatchdog, atLeastOnce()).clearAllFailureCounts(); in initializeCmi()
2769 verify(mWifiLastResortWatchdog, times(2)).noteConnectionFailureAndTriggerIfNeeded( in testDhcpFailure()
4993 verify(mWifiLastResortWatchdog, never()).noteConnectionFailureAndTriggerIfNeeded( in testAssociationRejectionWithReasonApUnableToHandleNewStaUpdatesWatchdog()
5014 verify(mWifiLastResortWatchdog, never()).noteConnectionFailureAndTriggerIfNeeded( in testAssociationRejectionWithReasonDeniedInsufficientBandwidth()
5035 verify(mWifiLastResortWatchdog).noteConnectionFailureAndTriggerIfNeeded( in testAssociationRejectionUpdatesWatchdog()
5063 verify(mWifiLastResortWatchdog, never()).noteConnectionFailureAndTriggerIfNeeded( in testAssociationRejectionForRole()
5071 verify(mWifiLastResortWatchdog).noteConnectionFailureAndTriggerIfNeeded( in testAssociationRejectionForRole()
5103 verify(mWifiLastResortWatchdog, never()).noteConnectionFailureAndTriggerIfNeeded( in testFailureWrongPassIsIgnoredByWatchdog()
[all …]
DWifiConnectivityManagerTest.java202 when(mWifiLastResortWatchdog.shouldIgnoreBssidUpdate(anyString())).thenReturn(false); in setUp()
298 @Mock private WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiConnectivityManagerTest
628 mWifiLastResortWatchdog, in createConnectivityManager()
DWifiConfigManagerTest.java191 @Mock private WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiConfigManagerTest
327 when(mWifiLastResortWatchdog.shouldIgnoreSsidUpdate()).thenReturn(false); in setUp()
348 when(mWifiInjector.getWifiLastResortWatchdog()).thenReturn(mWifiLastResortWatchdog); in setUp()
DWifiServiceImplTest.java410 @Mock WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiServiceImplTest
593 when(mWifiInjector.getWifiLastResortWatchdog()).thenReturn(mWifiLastResortWatchdog); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java183 private final WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiInjector
411 mWifiLastResortWatchdog = new WifiLastResortWatchdog(this, mContext, mClock, in WifiInjector()
418 mWifiLastResortWatchdog, in WifiInjector()
535 mWifiConnectivityHelper, mWifiLastResortWatchdog, mOpenNetworkNotifier, in WifiInjector()
654 mWifiLastResortWatchdog.enableVerboseLogging(verboseEnabled); in enableVerboseLogging()
762 return mWifiLastResortWatchdog; in getWifiLastResortWatchdog()
880 mMultiInternetManager, mWifiLastResortWatchdog, mWakeupController, in makeClientModeImpl()
DWifiBlocklistMonitor.java125 private final WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiBlocklistMonitor
257 mWifiLastResortWatchdog = wifiLastResortWatchdog; in WifiBlocklistMonitor()
388 return isWatchdogRelatedFailure && mWifiLastResortWatchdog.shouldIgnoreBssidUpdate(bssid); in shouldWaitForWatchdogToTriggerFirst()
557 && mWifiLastResortWatchdog.isBssidOnlyApOfSsid(bssid)) { in handleBssidConnectionFailure()
1305 if (mWifiLastResortWatchdog.shouldIgnoreSsidUpdate()) { in updateNetworkSelectionStatus()
DClientModeImpl.java265 private final WifiLastResortWatchdog mWifiLastResortWatchdog; field in ClientModeImpl
823 mWifiLastResortWatchdog = wifiLastResortWatchdog; in ClientModeImpl()
979 mWifiLastResortWatchdog.registerForWifiMonitorEvents(mInterfaceName); in registerForWifiMonitorEvents()
988 mWifiLastResortWatchdog.deregisterForWifiMonitorEvents(mInterfaceName); in deregisterForWifiMonitorEvents()
4377 mWifiLastResortWatchdog.clearAllFailureCounts(); in setupClientMode()
4578 mWifiLastResortWatchdog.noteStartConnectTime(config.networkId); in connectToNetwork()
5904 mWifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded( in processMessageImpl()
6186 mWifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded( in processMessageImpl()
6288 mWifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded( in processMessageImpl()
6552 mWifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded( in processMessageImpl()
[all …]
DWifiShellCommand.java202 private final WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiShellCommand
455 mWifiLastResortWatchdog = wifiInjector.getWifiLastResortWatchdog(); in WifiShellCommand()
918 mWifiLastResortWatchdog.setWifiWatchdogFeature(enabled); in onCommand()
923 + mWifiLastResortWatchdog.getWifiWatchdogFeature()); in onCommand()
DWifiConnectivityManager.java161 private final WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiConnectivityManager
662 mWifiLastResortWatchdog.updateAvailableNetworks( in handleScanResults()
1365 mWifiLastResortWatchdog = wifiLastResortWatchdog; in WifiConnectivityManager()
DWifiConfigManager.java308 private final WifiLastResortWatchdog mWifiLastResortWatchdog; field in WifiConfigManager
444 mWifiLastResortWatchdog = wifiInjector.getWifiLastResortWatchdog(); in WifiConfigManager()