Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java40 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 …]
DActiveModeWardenTest.java143 @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 …]
DConcreteClientModeManagerTest.java113 @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()
DWifiLastResortWatchdogTest.java53 @Mock SelfRecovery mSelfRecovery;
1354 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_LAST_RESORT_WATCHDOG)); in incrementFailuresUntilTrigger()
DWifiServiceImplTest.java53 import static com.android.server.wifi.SelfRecovery.REASON_API_CALL;
378 @Mock SelfRecovery mSelfRecovery;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSelfRecovery.java40 public class SelfRecovery { class
102 public SelfRecovery(Context context, ActiveModeWarden activeModeWarden, in SelfRecovery() method in SelfRecovery
DWifiInjector.java191 private final SelfRecovery mSelfRecovery;
509 mSelfRecovery = new SelfRecovery(mContext, mActiveModeWarden, mClock, mWifiNative); in WifiInjector()
918 public SelfRecovery getSelfRecovery() { in getSelfRecovery()
DConcreteClientModeManager.java115 private final SelfRecovery mSelfRecovery;
167 SelfRecovery selfRecovery, WifiGlobals wifiGlobals, in ConcreteClientModeManager()
910 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in processMessage()
DActiveModeWarden.java290 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in ActiveModeWarden()
552 public void recoveryRestartWifi(@SelfRecovery.RecoveryReason int reason, in recoveryRestartWifi()
DWifiLastResortWatchdog.java365 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in noteConnectionFailureAndTriggerIfNeeded()
DWifiShellCommand.java28 import static com.android.server.wifi.SelfRecovery.REASON_API_CALL;
157 private final SelfRecovery mSelfRecovery;
DWifiServiceImpl.java35 import static com.android.server.wifi.SelfRecovery.REASON_API_CALL;
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp288 "com.android.server.wifi.SelfRecovery",
289 "com.android.server.wifi.SelfRecovery$*",
290 "com.android.server.wifi.SelfRecovery.**",