Home
last modified time | relevance | path

Searched refs:mSelfRecovery (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java55 SelfRecovery mSelfRecovery; field in SelfRecoveryTest
75 mSelfRecovery = new SelfRecovery(mContext, mActiveModeWarden, mClock, mWifiNative, in setUp()
100 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testValidTriggerReasonsSendMessageToWifiController()
107 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testValidTriggerReasonsSendMessageToWifiController()
119 mSelfRecovery.trigger(-1); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
122 mSelfRecovery.trigger(8); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
131 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testStaIfaceDownDisablesWifi()
146 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
149 mSelfRecovery.onWifiStopped(); in testTimeWindowLimiting_typicalUse()
150 assertTrue(mSelfRecovery.isRecoveryInProgress()); in testTimeWindowLimiting_typicalUse()
[all …]
DConcreteClientModeManagerTest.java120 @Mock SelfRecovery mSelfRecovery; field in ConcreteClientModeManagerTest
269 mListener, mWifiMetrics, mWakeupController, mWifiInjector, mSelfRecovery, in createClientModeManager()
406 verify(mSelfRecovery).trigger(eq(REASON_IFACE_ADDED)); in clientInScanOnlyModeInterfaceHotPlug()
422 verify(mSelfRecovery).trigger(eq(REASON_IFACE_ADDED)); in interfaceDestroyedAndAdded()
669 verify(mSelfRecovery).trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in clientModeStartedStopsWhenInterfaceDown()
689 verify(mSelfRecovery, never()).trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in clientModeStartedWithConnectedMacRandDoesNotStopWhenInterfaceDown()
DActiveModeWardenTest.java169 @Mock SelfRecovery mSelfRecovery; field in ActiveModeWardenTest
331 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in createActiveModeWarden()
1182 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailureDeviceNotShuttingDown()
1196 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailureDeviceShuttingDown()
1209 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeStatusReady()
2716 when(mSelfRecovery.isRecoveryInProgress()).thenReturn(true); in testRestartWifiStackInTetheredSoftApEnabledState()
2735 verify(mSelfRecovery).isRecoveryInProgress(); in testRestartWifiStackInTetheredSoftApEnabledState()
2736 verify(mSelfRecovery).onWifiStopped(); in testRestartWifiStackInTetheredSoftApEnabledState()
2746 verify(mSelfRecovery).onRecoveryCompleted(); in testRestartWifiStackInTetheredSoftApEnabledState()
DWifiLastResortWatchdogTest.java53 @Mock SelfRecovery mSelfRecovery; field in WifiLastResortWatchdogTest
88 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
1353 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_LAST_RESORT_WATCHDOG)); in incrementFailuresUntilTrigger()
1354 reset(mSelfRecovery); in incrementFailuresUntilTrigger()
DWifiServiceImplTest.java483 @Mock SelfRecovery mSelfRecovery; field in WifiServiceImplTest
679 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
1778 verify(mSelfRecovery).trigger(eq(REASON_API_CALL)); in testRestartWifiSubsystem()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConcreteClientModeManager.java114 private final SelfRecovery mSelfRecovery; field in ConcreteClientModeManager
173 mSelfRecovery = selfRecovery; in ConcreteClientModeManager()
767 mSelfRecovery.trigger(SelfRecovery.REASON_IFACE_ADDED);
1012 mSelfRecovery.trigger(SelfRecovery.REASON_IFACE_ADDED); in processMessageImpl()
1107 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in processMessageImpl()
DWifiInjector.java211 private final SelfRecovery mSelfRecovery; field in WifiInjector
595 mSelfRecovery = new SelfRecovery(mContext, mActiveModeWarden, mClock, mWifiNative, in WifiInjector()
925 this, mSelfRecovery, mWifiGlobals, mDefaultClientModeManager, in makeClientModeManager()
1039 return mSelfRecovery; in getSelfRecovery()
DWifiShellCommand.java208 private final SelfRecovery mSelfRecovery; field in WifiShellCommand
461 mSelfRecovery = wifiInjector.getSelfRecovery(); in WifiShellCommand()
1376 mSelfRecovery.trigger(REASON_API_CALL); in onCommand()