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.java86 @Mock SelfRecovery mSelfRecovery; field in ActiveModeWardenTest
111 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
626 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailure()
638 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeStatusReady()
DWifiLastResortWatchdogTest.java54 @Mock SelfRecovery mSelfRecovery; field in WifiLastResortWatchdogTest
78 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
1313 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_LAST_RESORT_WATCHDOG)); in incrementFailuresUntilTrigger()
1314 reset(mSelfRecovery); in incrementFailuresUntilTrigger()
DClientModeImplTest.java370 @Mock SelfRecovery mSelfRecovery; field in ClientModeImplTest
432 when(mWifiInjector.getSelfRecovery()).thenReturn(mSelfRecovery); in setUp()
2112 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_STA_IFACE_DOWN)); in testSupplicantUpdateDriverInactiveIfaceUpClientModeDoesNotTriggerSelfRecovery()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java61 private final SelfRecovery mSelfRecovery; field in ActiveModeWarden
141 mSelfRecovery = mWifiInjector.getSelfRecovery(); in ActiveModeWarden()
DWifiInjector.java144 private final SelfRecovery mSelfRecovery; field in WifiInjector
341 mSelfRecovery = new SelfRecovery(mWifiController, mClock); in WifiInjector()
751 return mSelfRecovery; in getSelfRecovery()