Home
last modified time | relevance | path

Searched refs:WIFI_STATE_ENABLED (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java320 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()
348 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn()
367 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
429 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
450 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
474 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn()
496 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook()
524 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_error_wifiOn_offOnHook()
553 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_sarSensorOn_WifiOn_sensorEventsTriggered()
596 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_sarSensorOn_wifiOn_cellOn_sensorEventsTriggered()
[all …]
DClientModeManagerTest.java26 import static android.net.wifi.WifiManager.WIFI_STATE_ENABLED;
107 checkWifiStateChangedBroadcast(intents.get(1), WIFI_STATE_ENABLED, WIFI_STATE_ENABLING); in startClientModeAndVerifyEnabled()
109 checkWifiStateChangeListenerUpdate(WIFI_STATE_ENABLED); in startClientModeAndVerifyEnabled()
229 verifyNotificationsForCleanShutdown(WIFI_STATE_ENABLED); in clientModeStopCleansUpState()
244 verifyNotificationsForCleanShutdown(WIFI_STATE_ENABLED); in clientModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
293 verifyNotificationsForCleanShutdown(WIFI_STATE_ENABLED); in clientModeStartedStopsOnInterfaceDestroyed()
DScanOnlyModeManagerTest.java22 import static android.net.wifi.WifiManager.WIFI_STATE_ENABLED;
101 checkWifiStateChangeListenerUpdate(WIFI_STATE_ENABLED); in startScanOnlyModeAndVerifyEnabled()
102 verify(mSarManager).setScanOnlyWifiState(eq(WIFI_STATE_ENABLED)); in startScanOnlyModeAndVerifyEnabled()
DActiveModeWardenTest.java190 mClientListener.onStateChanged(WifiManager.WIFI_STATE_ENABLED); in enterClientModeActiveState()
218 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_ENABLED); in enterScanOnlyModeActiveState()
525 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_ENABLED); in testScanOnlyModeStaysActiveOnEnabledUpdate()
DClientModeImplTest.java653 assertEquals(WifiManager.WIFI_STATE_ENABLED, mCmi.syncGetWifiState()); in checkIsWifiEnabledForModeChanges()
835 mCmi.setWifiStateForApiCalls(WifiManager.WIFI_STATE_ENABLED); in startSupplicantAndDispatchMessages()
2200 assertEquals(WifiManager.WIFI_STATE_ENABLED, mCmi.syncGetWifiState()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2203 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2248 assertEquals(WifiManager.WIFI_STATE_ENABLED, mCmi.syncGetWifiState()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2251 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2657 assertEquals(WifiManager.WIFI_STATE_ENABLED, mCmi.syncGetWifiState()); in testConnectedMacRandomizationNotSupported()
2682 assertEquals(WifiManager.WIFI_STATE_ENABLED, mCmi.syncGetWifiState()); in testConnectedMacRandomizationRandomizationPersistentDifferentMac()
2704 assertEquals(WifiManager.WIFI_STATE_ENABLED, mCmi.syncGetWifiState()); in testConnectedMacRandomizationRandomizationPersistentSameMac()
2730 assertEquals(WifiManager.WIFI_STATE_ENABLED, mCmi.syncGetWifiState()); in testConnectedMacRandomizationRandomizationNoneDifferentMac()
[all …]
DScanRequestProxyTest.java949 boolean scanAvailable = scanState == WifiManager.WIFI_STATE_ENABLED; in validateScanAvailableBroadcastSent()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java121 WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)); in testConnectToWifi()
143 WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
169 WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
191 WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)); in testDisconnectWifi()
277 WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)); in testDataConnectionWithWifiToAMToWifi()
309 WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)); in testWifiStateChange()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeManager.java83 WifiManager.WIFI_STATE_ENABLED); in stop()
259 updateWifiState(WifiManager.WIFI_STATE_ENABLED, in onUpChanged()
270 WifiManager.WIFI_STATE_ENABLED); in onUpChanged()
304 WifiManager.WIFI_STATE_ENABLED); in processMessage()
DScanOnlyModeManager.java225 updateWifiState(WifiManager.WIFI_STATE_ENABLED); in onUpChanged()
239 mSarManager.setScanOnlyWifiState(WifiManager.WIFI_STATE_ENABLED); in enter()
DSarManager.java334 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in setClientWifiState()
386 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in setScanOnlyWifiState()
DActiveModeWarden.java407 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged()
491 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged()
DWifiController.java203 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged()
224 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged()
DScanRequestProxy.java284 intent.putExtra(WifiManager.EXTRA_SCAN_AVAILABLE, WifiManager.WIFI_STATE_ENABLED); in sendScanAvailableBroadcast()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java149 WifiManager.WIFI_STATE_ENABLED); in verifyWifiStateCallbacks()
154 WifiManager.WIFI_STATE_ENABLED); in verifyWifiStateCallbacks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java112 if (state == WifiManager.WIFI_STATE_ENABLED && !mWifiEnabled) { in init()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java141 enabled = state == WifiManager.WIFI_STATE_ENABLED; in updateWifiState()
DWifiTracker.java912 if (state == WifiManager.WIFI_STATE_ENABLED) { in updateWifiState()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java69 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java275 waitForWifiState(WifiManager.WIFI_STATE_ENABLED, SHORT_TIMEOUT)); in testWifiReconnectionAfterSleep()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java189 enabled ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in setWifiEnabled()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java333 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)) { in connectToWifiWithConfiguration()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java285 assertTrue(mConnectionUtil.waitForWifiState(WifiManager.WIFI_STATE_ENABLED, in setDeviceWifiAndAirplaneMode()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java421 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java558 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, 2 * SHORT_TIMEOUT)) { in connectToWifiWithConfiguration()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java481 public static final int WIFI_STATE_ENABLED = 3; field in WifiManager
2515 return getWifiState() == WIFI_STATE_ENABLED;

12