Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java33 SelfRecovery mSelfRecovery; field in SelfRecoveryTest
40 mSelfRecovery = new SelfRecovery(mWifiController, mClock); in setUp()
49 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testValidTriggerReasonsSendMessageToWifiController()
55 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testValidTriggerReasonsSendMessageToWifiController()
66 mSelfRecovery.trigger(-1); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
69 mSelfRecovery.trigger(8); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
78 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testStaIfaceDownDisablesWifi()
93 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
98 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
104 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
[all …]
DActiveModeWardenTest.java73 @Mock SelfRecovery mSelfRecovery; field in ActiveModeWardenTest
98 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
614 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailure()
626 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeStatusReady()
DWifiLastResortWatchdogTest.java48 @Mock SelfRecovery mSelfRecovery; field in WifiLastResortWatchdogTest
69 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
1298 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_LAST_RESORT_WATCHDOG)); in incrementFailuresUntilTrigger()
1299 reset(mSelfRecovery); in incrementFailuresUntilTrigger()
DClientModeImplTest.java363 @Mock SelfRecovery mSelfRecovery; field in ClientModeImplTest
425 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
1989 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_STA_IFACE_DOWN)); in testSupplicantUpdateDriverInactiveIfaceUpClientModeDoesNotTriggerSelfRecovery()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java59 private final SelfRecovery mSelfRecovery; field in ActiveModeWarden
139 mSelfRecovery = mWifiInjector.getSelfRecovery(); in ActiveModeWarden()
DWifiInjector.java142 private final SelfRecovery mSelfRecovery; field in WifiInjector
332 mSelfRecovery = new SelfRecovery(mWifiController, mClock); in WifiInjector()
718 return mSelfRecovery; in getSelfRecovery()