Home
last modified time | relevance | path

Searched refs:isWifiEnabled (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java172 if (!mWifiManager.isWifiEnabled()) in setUp()
177 assertTrue(mWifiManager.isWifiEnabled()); in setUp()
190 if (!mWifiManager.isWifiEnabled()) in tearDown()
200 if (mWifiManager.isWifiEnabled() != enable) { in setWifiEnabled()
338 assertTrue(mWifiManager.isWifiEnabled()); in testWifiManagerProperties()
343 assertFalse(mWifiManager.isWifiEnabled()); in testWifiManagerProperties()
365 if (!mWifiManager.isWifiEnabled()) { in testWifiScanTimestamp()
466 if (!mWifiManager.isWifiEnabled()) { in testWifiWatchdog()
470 assertTrue(mWifiManager.isWifiEnabled()); in testWifiWatchdog()
614 boolean wifiEnabled = mWifiManager.isWifiEnabled();
[all …]
DWifiInfoTest.java85 if (!mWifiManager.isWifiEnabled()) in setUp()
88 assertTrue(mWifiManager.isWifiEnabled()); in setUp()
101 if (!mWifiManager.isWifiEnabled()) in tearDown()
DConcurrencyTest.java139 if (mWifiManager.isWifiEnabled()) { in setUp()
143 assertTrue(!mWifiManager.isWifiEnabled()); in setUp()
231 if (!mWifiManager.isWifiEnabled()) { in enableWifi()
284 while (!mWifiManager.isWifiEnabled() && System.currentTimeMillis() < timeout) { in setupWifiP2p()
290 assertTrue(mWifiManager.isWifiEnabled()); in setupWifiP2p()
DScanResultTest.java106 if (!mWifiManager.isWifiEnabled()) in setUp()
109 assertTrue(mWifiManager.isWifiEnabled()); in setUp()
122 if (!mWifiManager.isWifiEnabled()) in tearDown()
DWifiEnterpriseConfigTest.java699 assertTrue(mWifiManager.isWifiEnabled()); in setUp()
/cts/tests/tests/provider/src/android/provider/cts/
DWifiSliceTest.java85 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState()
88 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState()
150 private boolean isWifiEnabled() { in isWifiEnabled() method in WifiSliceTest
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java85 mInitialWiFiState = mWifiManager.isWifiEnabled(); in setUp()
102 if (mWifiManager.isWifiEnabled() != mInitialWiFiState) { in tearDown()
434 if (enable != wm.isWifiEnabled()) { in setWifiState()
466 if (mHasWifi && mWifiManager.isWifiEnabled()) { in disconnectWifiToConnectToMobile()
DJobThrottlingTest.java139 mInitialWiFiState = mWifiManager.isWifiEnabled(); in setUp()
332 if (mWifiManager.isWifiEnabled() != mInitialWiFiState) { in tearDown()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DWifiTest.java64 mWifiEnabled = mWifiManager.isWifiEnabled(); in setUp()
159 if (mWifiManager.isWifiEnabled() == enabled) { in awaitWifiEnabledState()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java150 boolean isWifiEnabled = isWifiConnected(); in testStartUsingNetworkFeature_enableHipri()
152 if (!isWifiEnabled) { in testStartUsingNetworkFeature_enableHipri()
180 if (!isWifiEnabled && isWifiConnected()) { in testStartUsingNetworkFeature_enableHipri()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DBaseTestCase.java36 if (!wifiManager.isWifiEnabled()) { in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestListActivity.java111 if (!mWifiManager.isWifiEnabled() || !locationManager.isLocationEnabled()) { in handleItemClick()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java97 if (!mWifiManager.isWifiEnabled()) { in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java219 if (!mWifiManager.isWifiEnabled()) { in recordCurrentWifiState()
283 if (isWifiEnabled() == enableWifi) { in requestUserEnableWifiAsync()
313 private boolean isWifiEnabled() { in isWifiEnabled() method in MultiNetworkConnectivityTestActivity
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java601 boolean enabled = mWifiManager.isWifiEnabled(); in testWifiFeature()
606 assertEquals(!enabled, mWifiManager.isWifiEnabled()); in testWifiFeature()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWifiConfigCreator.java249 if (!mWifiManager.isWifiEnabled()) { in checkAndEnableWifi()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWifiConfigCreator.java249 if (!mWifiManager.isWifiEnabled()) { in checkAndEnableWifi()
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java149 if (mWifiManager.isWifiEnabled()) { in toggleWifi()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java226 mWifiWasDisabled = !mWifiManager.isWifiEnabled(); in ensureWifiConnected()
598 final boolean previousWifiEnabledState = mWifiManager.isWifiEnabled(); in testRequestNetworkCallback_onUnavailable()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java370 if (!mWifiManager.isWifiEnabled()) { in setUp()
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java754 final boolean previousWifiEnabledState = mWm.isWifiEnabled(); in testTetheringUpstream()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java913 boolean enabled = wifiManager.isWifiEnabled(); in getWifiMacAddress()