Home
last modified time | relevance | path

Searched refs:mModeChangeCallback (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java150 @Mock ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in ActiveModeWardenTest
242 mActiveModeWarden.registerModeChangeCallback(mModeChangeCallback); in setUp()
337 verify(mModeChangeCallback).onActiveModeManagerRoleChanged(mClientModeManager); in enterClientModeActiveState()
362 verify(mModeChangeCallback).onActiveModeManagerAdded(mClientModeManager); in enterScanOnlyModeActiveState()
370 verify(mModeChangeCallback, times(2)) in enterScanOnlyModeActiveState()
421 verify(mModeChangeCallback).onActiveModeManagerAdded(mSoftApManager); in enterSoftApActiveMode()
434 verify(mModeChangeCallback).onActiveModeManagerRemoved(mClientModeManager); in enterStaDisabledMode()
745 verify(mModeChangeCallback).onActiveModeManagerRemoved(mSoftApManager); in testEnterSoftApModeActiveWhenAlreadyInSoftApMode()
748 reset(mSoftApManager, mBatteryStats, mModeChangeCallback); in testEnterSoftApModeActiveWhenAlreadyInSoftApMode()
763 verify(mModeChangeCallback).onActiveModeManagerRemoved(mClientModeManager); in testScanOnlyModeFailureWhenActive()
[all …]
DWifiDataStallTest.java83 private ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in WifiDataStallTest
172 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()
223 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
226 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
DWifiHealthMonitorTest.java134 private ModeChangeCallback mModeChangeCallback; field in WifiHealthMonitorTest
246 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()
355 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
358 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()