Home
last modified time | relevance | path

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

12

/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/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DWifiTrackerTest.java108 final int TEST_WIFI_STATE = WifiManager.WIFI_STATE_ENABLED; in testWifiStateCallback()
254 i.putExtra(WifiManager.EXTRA_WIFI_STATE, WifiManager.WIFI_STATE_ENABLED); in testEnableResumeScanning()
265 i.putExtra(WifiManager.EXTRA_WIFI_STATE, WifiManager.WIFI_STATE_ENABLED); in testEnableResumeScanning()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java38 WifiManager.WIFI_STATE_UNKNOWN) == WifiManager.WIFI_STATE_ENABLED; in handleBroadcast()
DWifiTracker.java618 if (msg.arg1 == WifiManager.WIFI_STATE_ENABLED) { in handleMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNotificationControllerTest.java105 TestUtil.sendWifiStateChanged(mBroadcastReceiver, mContext, WifiManager.WIFI_STATE_ENABLED); in verifyNotificationDisplayed()
DRttServiceTest.java87 mContext, WifiManager.WIFI_STATE_ENABLED); in startWifi()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java119 enabled ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in setWifiEnabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNotificationController.java161 if (mWifiState != WifiManager.WIFI_STATE_ENABLED) return; in checkAndSetNotification()
DRttService.java144 if (state == WifiManager.WIFI_STATE_ENABLED) { in startService()
DWifiStateMachine.java26 import static android.net.wifi.WifiManager.WIFI_STATE_ENABLED;
1765 case WIFI_STATE_ENABLED: in syncGetWifiStateByName()
2984 if (wifiState == WIFI_STATE_ENABLED) { in setWifiState()
4351 setWifiState(WIFI_STATE_ENABLED); in processMessage()
4733 intent.putExtra(WifiManager.EXTRA_SCAN_AVAILABLE, WIFI_STATE_ENABLED); in enter()
4999 setWifiState(WIFI_STATE_ENABLED); in processMessage()
/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/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java278 assertTrue(mConnectionUtil.waitForWifiState(WifiManager.WIFI_STATE_ENABLED, in setDeviceWifiAndAirplaneMode()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java339 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)) { in connectToWifiWithConfiguration()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java421 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java216 public static final int WIFI_STATE_ENABLED = 3; field in WifiManager
1467 return getWifiState() == WIFI_STATE_ENABLED;
/frameworks/base/packages/Osu/src/com/android/
DMainActivity.java293 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in onHandleIntent()
/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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java544 enableWifi(retainedWifiState == WifiManager.WIFI_STATE_ENABLED in run()
765 enableWifi(retainedWifiState == WifiManager.WIFI_STATE_ENABLED in onRestoreFile()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java289 WifiManager.WIFI_STATE_ENABLED); in setupAndLoadDriver()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java289 if (state == WifiManager.WIFI_STATE_ENABLED) { in startService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java322 WifiManager.WIFI_STATE_UNKNOWN) == WifiManager.WIFI_STATE_ENABLED;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18087 field public static final int WIFI_STATE_ENABLED = 3; // 0x3
/frameworks/base/api/
Dcurrent.txt24568 field public static final int WIFI_STATE_ENABLED = 3; // 0x3
Dsystem-current.txt26855 field public static final int WIFI_STATE_ENABLED = 3; // 0x3

12