Home
last modified time | relevance | path

Searched refs:SelfRecovery (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java33 SelfRecovery mSelfRecovery;
40 mSelfRecovery = new SelfRecovery(mWifiController, mClock); in setUp()
49 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testValidTriggerReasonsSendMessageToWifiController()
54 .thenReturn(SelfRecovery.MAX_RESTARTS_TIME_WINDOW_MILLIS + 1); in testValidTriggerReasonsSendMessageToWifiController()
55 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testValidTriggerReasonsSendMessageToWifiController()
78 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testStaIfaceDownDisablesWifi()
92 for (int i = 0; i < SelfRecovery.MAX_RESTARTS_IN_TIME_WINDOW / 2; i++) { in testTimeWindowLimiting_typicalUse()
93 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
98 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
103 if ((SelfRecovery.MAX_RESTARTS_IN_TIME_WINDOW % 2) == 1) { in testTimeWindowLimiting_typicalUse()
[all …]
DClientModeManagerTest.java264 verify(mClientModeImpl).failureDetected(eq(SelfRecovery.REASON_STA_IFACE_DOWN)); in clientModeStartedStopsWhenInterfaceDown()
280 verify(mClientModeImpl, never()).failureDetected(eq(SelfRecovery.REASON_STA_IFACE_DOWN)); in clientModeStartedWithConnectedMacRandDoesNotStopWhenInterfaceDown()
DActiveModeWardenTest.java86 @Mock SelfRecovery mSelfRecovery;
626 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailure()
638 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeStatusReady()
DWifiControllerTest.java961 SelfRecovery.REASON_WIFINATIVE_FAILURE); in testRestartWifiStackInStaEnabledStateTriggersBugReport()
970 SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testRestartWifiWatchdogDoesNotTriggerBugReport()
DWifiLastResortWatchdogTest.java54 @Mock SelfRecovery mSelfRecovery;
1313 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_LAST_RESORT_WATCHDOG)); in incrementFailuresUntilTrigger()
DClientModeImplTest.java370 @Mock SelfRecovery mSelfRecovery;
2112 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_STA_IFACE_DOWN)); in testSupplicantUpdateDriverInactiveIfaceUpClientModeDoesNotTriggerSelfRecovery()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSelfRecovery.java33 public class SelfRecovery { class
54 public SelfRecovery(WifiController wifiController, Clock clock) { in SelfRecovery() method in SelfRecovery
DWifiController.java467 if (msg.arg1 < SelfRecovery.REASON_STRINGS.length && msg.arg1 >= 0) { in processMessage()
468 bugDetail = SelfRecovery.REASON_STRINGS[msg.arg1]; in processMessage()
474 if (msg.arg1 != SelfRecovery.REASON_LAST_RESORT_WATCHDOG) { in processMessage()
DActiveModeWarden.java61 private final SelfRecovery mSelfRecovery;
654 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in onStatusChanged()
DWifiInjector.java144 private final SelfRecovery mSelfRecovery;
341 mSelfRecovery = new SelfRecovery(mWifiController, mClock); in WifiInjector()
750 public SelfRecovery getSelfRecovery() { in getSelfRecovery()
DClientModeManager.java290 mClientModeImpl.failureDetected(SelfRecovery.REASON_STA_IFACE_DOWN); in processMessage()
DWifiLastResortWatchdog.java331 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in noteConnectionFailureAndTriggerIfNeeded()
DClientModeImpl.java3456 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in failureDetected()