Searched refs:SelfRecovery (Results 1 – 13 of 13) sorted by relevance
40 SelfRecovery mSelfRecovery;55 mSelfRecovery = new SelfRecovery(mContext, mActiveModeWarden, mClock, mWifiNative); in setUp()64 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testValidTriggerReasonsSendMessageToWifiController()65 verify(mActiveModeWarden).recoveryRestartWifi(SelfRecovery.REASON_LAST_RESORT_WATCHDOG, in testValidTriggerReasonsSendMessageToWifiController()66 SelfRecovery.REASON_STRINGS[SelfRecovery.REASON_LAST_RESORT_WATCHDOG], false); in testValidTriggerReasonsSendMessageToWifiController()71 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testValidTriggerReasonsSendMessageToWifiController()72 verify(mActiveModeWarden).recoveryRestartWifi(SelfRecovery.REASON_WIFINATIVE_FAILURE, in testValidTriggerReasonsSendMessageToWifiController()73 SelfRecovery.REASON_STRINGS[SelfRecovery.REASON_WIFINATIVE_FAILURE], true); in testValidTriggerReasonsSendMessageToWifiController()95 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testStaIfaceDownDisablesWifi()110 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()[all …]
143 @Mock SelfRecovery mSelfRecovery;972 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailureDeviceNotShuttingDown()985 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailureDeviceShuttingDown()997 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeStatusReady()2133 mActiveModeWarden.recoveryRestartWifi(SelfRecovery.REASON_LAST_RESORT_WATCHDOG, "some text", in testRestartWifiStackInEnabledStateTriggersBugReport()2145 mActiveModeWarden.recoveryRestartWifi(SelfRecovery.REASON_WIFINATIVE_FAILURE, in testRestartWifiWatchdogDoesNotTriggerBugReport()2198 mActiveModeWarden.recoveryRestartWifi(SelfRecovery.REASON_WIFINATIVE_FAILURE, in testRestartWifiStackInDisabledState()2199 SelfRecovery.REASON_STRINGS[SelfRecovery.REASON_WIFINATIVE_FAILURE], true); in testRestartWifiStackInDisabledState()2232 mActiveModeWarden.recoveryRestartWifi(SelfRecovery.REASON_WIFINATIVE_FAILURE, in testRestartWifiStackInStaScanEnabledState()2233 SelfRecovery.REASON_STRINGS[SelfRecovery.REASON_WIFINATIVE_FAILURE], true); in testRestartWifiStackInStaScanEnabledState()[all …]
113 @Mock SelfRecovery mSelfRecovery;581 verify(mSelfRecovery).trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in clientModeStartedStopsWhenInterfaceDown()602 verify(mSelfRecovery, never()).trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in clientModeStartedWithConnectedMacRandDoesNotStopWhenInterfaceDown()
53 @Mock SelfRecovery mSelfRecovery;1354 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_LAST_RESORT_WATCHDOG)); in incrementFailuresUntilTrigger()
53 import static com.android.server.wifi.SelfRecovery.REASON_API_CALL;378 @Mock SelfRecovery mSelfRecovery;
40 public class SelfRecovery { class102 public SelfRecovery(Context context, ActiveModeWarden activeModeWarden, in SelfRecovery() method in SelfRecovery
191 private final SelfRecovery mSelfRecovery;509 mSelfRecovery = new SelfRecovery(mContext, mActiveModeWarden, mClock, mWifiNative); in WifiInjector()918 public SelfRecovery getSelfRecovery() { in getSelfRecovery()
115 private final SelfRecovery mSelfRecovery;167 SelfRecovery selfRecovery, WifiGlobals wifiGlobals, in ConcreteClientModeManager()910 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in processMessage()
290 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in ActiveModeWarden()552 public void recoveryRestartWifi(@SelfRecovery.RecoveryReason int reason, in recoveryRestartWifi()
365 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in noteConnectionFailureAndTriggerIfNeeded()
28 import static com.android.server.wifi.SelfRecovery.REASON_API_CALL;157 private final SelfRecovery mSelfRecovery;
35 import static com.android.server.wifi.SelfRecovery.REASON_API_CALL;
288 "com.android.server.wifi.SelfRecovery",289 "com.android.server.wifi.SelfRecovery$*",290 "com.android.server.wifi.SelfRecovery.**",