Home
last modified time | relevance | path

Searched refs:mSubsystemRestartCallback (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java179 @Mock ISubsystemRestartCallback mSubsystemRestartCallback; field in ActiveModeWardenTest
292 when(mSubsystemRestartCallback.asBinder()).thenReturn(Mockito.mock(IBinder.class)); in setUp()
293 mActiveModeWarden.registerSubsystemRestartCallback(mSubsystemRestartCallback); in setUp()
2480 verify(mSubsystemRestartCallback).onSubsystemRestarting(); in testRestartWifiStackInEnabledStateTriggersBugReport()
2492 verify(mSubsystemRestartCallback).onSubsystemRestarting(); in testRestartWifiWatchdogDoesNotTriggerBugReport()
2616 verify(mSubsystemRestartCallback).onSubsystemRestarting(); in testRestartWifiStackInStaScanEnabledState()
2617 verify(mSubsystemRestartCallback).onSubsystemRestarted(); in testRestartWifiStackInStaScanEnabledState()
2659 verify(mSubsystemRestartCallback).onSubsystemRestarting(); in testRestartWifiStackInStaConnectEnabledState()
2660 verify(mSubsystemRestartCallback).onSubsystemRestarted(); in testRestartWifiStackInStaConnectEnabledState()
2747 verify(mSubsystemRestartCallback).onSubsystemRestarting(); in testRestartWifiStackInTetheredSoftApEnabledState()
[all …]
DWifiServiceImplTest.java456 @Mock ISubsystemRestartCallback mSubsystemRestartCallback; field in WifiServiceImplTest
1646 mWifiServiceImpl.registerSubsystemRestartCallback(mSubsystemRestartCallback); in testRegisterSubsystemRestartThrowsSecurityExceptionOnMissingPermissions()
1662 mWifiServiceImpl.unregisterSubsystemRestartCallback(mSubsystemRestartCallback); in testUnregisterSubsystemRestartThrowsSecurityExceptionOnMissingPermissions()
1675 mWifiServiceImpl.registerSubsystemRestartCallback(mSubsystemRestartCallback); in testRegisterUnregisterSubsystemRestartCallback()
1677 verify(mActiveModeWarden).registerSubsystemRestartCallback(mSubsystemRestartCallback); in testRegisterUnregisterSubsystemRestartCallback()
1678 mWifiServiceImpl.unregisterSubsystemRestartCallback(mSubsystemRestartCallback); in testRegisterUnregisterSubsystemRestartCallback()
1680 verify(mActiveModeWarden).unregisterSubsystemRestartCallback(mSubsystemRestartCallback); in testRegisterUnregisterSubsystemRestartCallback()