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.java176 @Mock ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in ActiveModeWardenTest
290 mActiveModeWarden.registerModeChangeCallback(mModeChangeCallback); in setUp()
412 verify(mModeChangeCallback).onActiveModeManagerRoleChanged(mClientModeManager); in enterClientModeActiveState()
440 verify(mModeChangeCallback).onActiveModeManagerAdded(mClientModeManager); in enterScanOnlyModeActiveState()
448 verify(mModeChangeCallback, times(2)) in enterScanOnlyModeActiveState()
501 verify(mModeChangeCallback).onActiveModeManagerAdded(mSoftApManager); in enterSoftApActiveMode()
514 verify(mModeChangeCallback).onActiveModeManagerRemoved(mClientModeManager); in enterStaDisabledMode()
944 verify(mModeChangeCallback).onActiveModeManagerRemoved(mSoftApManager); in testEnterSoftApModeActiveWhenAlreadyInSoftApMode()
947 reset(mSoftApManager, mBatteryStats, mModeChangeCallback); in testEnterSoftApModeActiveWhenAlreadyInSoftApMode()
962 verify(mModeChangeCallback).onActiveModeManagerRemoved(mClientModeManager); in testScanOnlyModeFailureWhenActive()
[all …]
DWifiDataStallTest.java83 private ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in WifiDataStallTest
175 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()
224 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
227 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
DWifiHealthMonitorTest.java139 private ModeChangeCallback mModeChangeCallback; field in WifiHealthMonitorTest
260 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()
366 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
369 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()