/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 320 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 …]
|
D | ClientModeManagerTest.java | 26 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()
|
D | ScanOnlyModeManagerTest.java | 22 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()
|
D | ActiveModeWardenTest.java | 190 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()
|
D | ClientModeImplTest.java | 653 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 …]
|
D | ScanRequestProxyTest.java | 949 boolean scanAvailable = scanState == WifiManager.WIFI_STATE_ENABLED; in validateScanAvailableBroadcastSent()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 121 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/ |
D | ClientModeManager.java | 83 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()
|
D | ScanOnlyModeManager.java | 225 updateWifiState(WifiManager.WIFI_STATE_ENABLED); in onUpChanged() 239 mSarManager.setScanOnlyWifiState(WifiManager.WIFI_STATE_ENABLED); in enter()
|
D | SarManager.java | 334 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in setClientWifiState() 386 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in setScanOnlyWifiState()
|
D | ActiveModeWarden.java | 407 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged() 491 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged()
|
D | WifiController.java | 203 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged() 224 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onStateChanged()
|
D | ScanRequestProxy.java | 284 intent.putExtra(WifiManager.EXTRA_SCAN_AVAILABLE, WifiManager.WIFI_STATE_ENABLED); in sendScanAvailableBroadcast()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 149 WifiManager.WIFI_STATE_ENABLED); in verifyWifiStateCallbacks() 154 WifiManager.WIFI_STATE_ENABLED); in verifyWifiStateCallbacks()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 112 if (state == WifiManager.WIFI_STATE_ENABLED && !mWifiEnabled) { in init()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 141 enabled = state == WifiManager.WIFI_STATE_ENABLED; in updateWifiState()
|
D | WifiTracker.java | 912 if (state == WifiManager.WIFI_STATE_ENABLED) { in updateWifiState()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 69 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 275 waitForWifiState(WifiManager.WIFI_STATE_ENABLED, SHORT_TIMEOUT)); in testWifiReconnectionAfterSleep()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 189 enabled ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in setWifiEnabled()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 333 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)) { in connectToWifiWithConfiguration()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 285 assertTrue(mConnectionUtil.waitForWifiState(WifiManager.WIFI_STATE_ENABLED, in setDeviceWifiAndAirplaneMode()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 421 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 558 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, 2 * SHORT_TIMEOUT)) { in connectToWifiWithConfiguration()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 481 public static final int WIFI_STATE_ENABLED = 3; field in WifiManager 2515 return getWifiState() == WIFI_STATE_ENABLED;
|