Searched refs:mActiveModeWarden (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiControllerTest.java | 98 @Mock ActiveModeWarden mActiveModeWarden; field in WifiControllerTest 123 mSettingsStore, mLooper.getLooper(), mFacade, mActiveModeWarden, in setUp() 135 verify(mActiveModeWarden).registerClientModeCallback(clientModeCallbackCaptor.capture()); in setUp() 140 verify(mActiveModeWarden).registerScanOnlyCallback(scanOnlyModeCallbackCaptor.capture()); in setUp() 171 verify(mActiveModeWarden).enterScanOnlyMode(); in enableScanMode() 182 reset(mActiveModeWarden); in testEnterScanModeAtStartWhenSet() 187 mActiveModeWarden, mWifiPermissionsUtil); in testEnterScanModeAtStartWhenSet() 192 verify(mActiveModeWarden, never()).disableWifi(); in testEnterScanModeAtStartWhenSet() 193 verify(mActiveModeWarden).enterScanOnlyMode(); in testEnterScanModeAtStartWhenSet() 208 mSettingsStore, mLooper.getLooper(), mFacade, mActiveModeWarden, in testDoesNotEnterScanModeWhenLocationModeDisabled() [all …]
|
D | ActiveModeWardenTest.java | 83 ActiveModeWarden mActiveModeWarden; field in ActiveModeWardenTest 110 mActiveModeWarden = createActiveModeWarden(); in setUp() 116 mActiveModeWarden.registerSoftApCallback(mSoftApStateMachineCallback); in setUp() 117 mActiveModeWarden.registerScanOnlyCallback(mScanOnlyCallback); in setUp() 118 mActiveModeWarden.registerClientModeCallback(mClientModeCallback); in setUp() 135 mActiveModeWarden = null; in cleanUp() 165 String fromState = mActiveModeWarden.getCurrentMode(); in enterClientModeActiveState() 175 mActiveModeWarden.enterClientMode(); in enterClientModeActiveState() 180 assertEquals(CLIENT_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in enterClientModeActiveState() 193 String fromState = mActiveModeWarden.getCurrentMode(); in enterScanOnlyModeActiveState() [all …]
|
D | WifiServiceImplTest.java | 222 @Mock ActiveModeWarden mActiveModeWarden; field in WifiServiceImplTest 345 when(mWifiInjector.getActiveModeWarden()).thenReturn(mActiveModeWarden); in setUp() 406 verify(mActiveModeWarden).registerSoftApCallback(softApCallbackCaptor.capture()); in setUp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiController.java | 65 private final ActiveModeWarden mActiveModeWarden; field in WifiController 113 mActiveModeWarden = amw; in WifiController() 129 mActiveModeWarden.registerScanOnlyCallback(mScanOnlyModeCallback); in WifiController() 130 mActiveModeWarden.registerClientModeCallback(mClientModeCallback); in WifiController() 262 mActiveModeWarden.shutdownWifi(); in processMessage() 267 mActiveModeWarden.shutdownWifi(); in processMessage() 277 mActiveModeWarden.enterSoftAPMode((SoftApModeConfiguration) msg.obj); in processMessage() 279 mActiveModeWarden.stopSoftAPMode(msg.arg2); in processMessage() 285 mActiveModeWarden.shutdownWifi(); in processMessage() 327 mActiveModeWarden.disableWifi(); in enter() [all …]
|
D | WifiInjector.java | 102 private final ActiveModeWarden mActiveModeWarden; field in WifiInjector 311 mActiveModeWarden = new ActiveModeWarden(this, mContext, clientModeImplLooper, in WifiInjector() 331 mActiveModeWarden, mWifiPermissionsUtil); in WifiInjector() 443 return mActiveModeWarden; in getActiveModeWarden()
|
D | WifiServiceImpl.java | 164 final ActiveModeWarden mActiveModeWarden; field in WifiServiceImpl 462 mActiveModeWarden = mWifiInjector.getActiveModeWarden(); in WifiServiceImpl() 2765 mActiveModeWarden.dump(fd, pw, args); in dump()
|