Searched refs:mModeChangeCallback (Results 1 – 3 of 3) sorted by relevance
176 @Mock ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in ActiveModeWardenTest290 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 …]
83 private ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in WifiDataStallTest175 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()224 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()227 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
139 private ModeChangeCallback mModeChangeCallback; field in WifiHealthMonitorTest260 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()366 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()369 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()