Searched refs:mModeChangeCallback (Results 1 – 3 of 3) sorted by relevance
150 @Mock ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in ActiveModeWardenTest242 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 …]
83 private ActiveModeWarden.ModeChangeCallback mModeChangeCallback; field in WifiDataStallTest172 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()223 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()226 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
134 private ModeChangeCallback mModeChangeCallback; field in WifiHealthMonitorTest246 mModeChangeCallback = modeChangeCallbackArgumentCaptor.getValue(); in setUp()355 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()358 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()