/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiNetworkConfigurationWithoutFineLocationPermissionTest.java | 51 if (!mWifiManager.isWifiEnabled()) { in setUp() 55 Log.d(TAG, "Done: " + mWifiManager.isWifiEnabled()); in setUp() 60 assertWithMessage("wifi is enabled").that(mWifiManager.isWifiEnabled()).isTrue(); in testAddAndRetrieveCallerConfiguredNetworks() 87 if (mWifiManager.isWifiEnabled()) { in awaitWifiEnabled()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | NetworkingHelper.java | 109 mInitialWiFiState = mHasWifi && isWifiEnabled(); in NetworkingHelper() 217 if (!mWifiManager.isWifiEnabled()) { in isWiFiConnected() 231 boolean isWifiEnabled() { in isWifiEnabled() method in NetworkingHelper 232 return mWifiManager.isWifiEnabled(); in isWifiEnabled() 354 this::isWifiEnabled); in setWifiState() 380 if (mWifiManager.isWifiEnabled() != mInitialWiFiState) { in tearDown()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WifiTest.java | 61 if (!mWifiManager.isWifiEnabled()) { in setUp() 136 if (mWifiManager.isWifiEnabled() == enabled) { in awaitWifiEnabledState()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiLocationInfoForegroundTest.java | 118 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 119 PollingCheck.check("Wifi not enabled", DURATION_MS, () -> sWifiManager.isWifiEnabled()); in setUpClass() 156 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass()
|
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 121 () -> wifiManager.isWifiEnabled()); in setUpClass() 122 if (!wifiManager.isWifiEnabled()) { in setUpClass() 125 PollingCheck.check("Wifi not enabled", DURATION, () -> wifiManager.isWifiEnabled()); in setUpClass()
|
D | WifiLocationInfoBackgroundTest.java | 129 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 130 PollingCheck.check("Wifi not enabled", DURATION_MS, () -> sWifiManager.isWifiEnabled()); in setUpClass() 169 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass()
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 125 () -> sWifiManager.isWifiEnabled()); in setUpClass() 126 if (!sWifiManager.isWifiEnabled()) { in setUpClass() 130 () -> sWifiManager.isWifiEnabled()); in setUpClass()
|
D | MultiStaConcurrencyMultiInternetWifiNetworkTest.java | 158 () -> wifiManager.isWifiEnabled()); in setUpClass() 161 PollingCheck.check("Wifi not enabled", DURATION_MILLIS, () -> wifiManager.isWifiEnabled()); in setUpClass() 271 () -> mWifiManager.isWifiEnabled()); in setMultiInternetMode()
|
D | WifiManagerTest.java | 488 if (!sWifiManager.isWifiEnabled()) { in tearDownClass() 509 if (!sWifiManager.isWifiEnabled()) { in setUp() 514 () -> sWifiManager.isWifiEnabled()); in setUp() 521 if (sWifiManager.isWifiEnabled() != enable) { in setWifiEnabled() 700 assertFalse(sWifiManager.isWifiEnabled()); in testRestartWifiSubsystem() 706 assertTrue(sWifiManager.isWifiEnabled()); in testRestartWifiSubsystem() 724 assertTrue(sWifiManager.isWifiEnabled()); in testWifiManagerProperties() 729 assertFalse(sWifiManager.isWifiEnabled()); in testWifiManagerProperties() 749 if (!sWifiManager.isWifiEnabled()) { in testWifiScanTimestamp() 1217 boolean wifiEnabled = sWifiManager.isWifiEnabled(); in testStartLocalOnlyHotspotSuccess() [all …]
|
D | WifiInfoTest.java | 126 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 127 PollingCheck.check("Wifi not enabled", DURATION, () -> sWifiManager.isWifiEnabled()); in setUpClass() 139 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass()
|
D | ScanResultTest.java | 178 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 180 () -> sWifiManager.isWifiEnabled()); in setUpClass() 192 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass()
|
D | WifiNetworkSpecifierTest.java | 225 if (!sWifiManager.isWifiEnabled()) { in setUpClass() 228 PollingCheck.check("Wifi not enabled", DURATION, () -> sWifiManager.isWifiEnabled()); in setUpClass() 264 if (!sWifiManager.isWifiEnabled()) { in tearDownClass()
|
D | WifiBackupRestoreTest.java | 165 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 168 PollingCheck.check("Wifi not enabled", DURATION, () -> sWifiManager.isWifiEnabled()); in setUpClass() 183 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass()
|
D | ConcurrencyTest.java | 279 sWasWifiEnabled = sWifiManager.isWifiEnabled(); in setUpClass() 296 PollingCheck.check("Wifi not disabled", DURATION, () -> !sWifiManager.isWifiEnabled()); in setUpClass() 444 if (!sWifiManager.isWifiEnabled()) { in enableWifi() 446 PollingCheck.check("Wifi not enabled", DURATION, () -> sWifiManager.isWifiEnabled()); in enableWifi() 495 assertThat(sWifiManager.isWifiEnabled()).isTrue(); in setupWifiP2p()
|
D | WifiNetworkSuggestionTest.java | 162 () -> sWifiManager.isWifiEnabled()); in setUpClass() 163 if (!sWifiManager.isWifiEnabled()) { in setUpClass() 166 PollingCheck.check("Wifi not enabled", DURATION_MILLIS, () -> sWifiManager.isWifiEnabled()); in setUpClass()
|
D | ConnectedNetworkScorerTest.java | 151 PollingCheck.check("Wifi not disabled", TIMEOUT, () -> !sWifiManager.isWifiEnabled()); in setUpClass() 153 PollingCheck.check("Wifi not enabled", TIMEOUT, () -> sWifiManager.isWifiEnabled()); in setUpClass() 185 if (!sWifiManager.isWifiEnabled()) { in tearDownClass()
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | WifiSliceTest.java | 102 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState() 105 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState() 191 private boolean isWifiEnabled() { in isWifiEnabled() method in WifiSliceTest
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/wifi/ |
D | Wifi.kt | 36 return wifiManager.isWifiEnabled in <lambda>()
|
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 165 boolean isWifiEnabled = isWifiConnected(); in testStartUsingNetworkFeature_enableHipri() 167 if (!isWifiEnabled) { in testStartUsingNetworkFeature_enableHipri() 200 if (!isWifiEnabled && isWifiConnected()) { in testStartUsingNetworkFeature_enableHipri()
|
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/ |
D | TestBase.java | 164 () -> sWifiManager.isWifiEnabled()); in setupClass() 165 if (!sWifiManager.isWifiEnabled()) { in setupClass() 168 PollingCheck.check("Wifi not enabled", DURATION_MILLIS, () -> sWifiManager.isWifiEnabled()); in setupClass()
|
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/ |
D | MockWifiTest.java | 229 if (!sWifiManager.isWifiEnabled()) { in tearDownClass() 244 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUp() 246 () -> sWifiManager.isWifiEnabled()); in setUp() 260 if (sWifiManager.isWifiEnabled() != enable) { in setWifiEnabled()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | WifiManagerWrapper.java | 68 doAnswer(answer).when(spy).isWifiEnabled(); in getWrapper()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | TestListActivity.java | 124 if (!mWifiManager.isWifiEnabled() || !locationManager.isLocationEnabled()) { in handleItemClick()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 213 if (!mWifiManager.isWifiEnabled()) { in recordCurrentWifiState() 271 if (isWifiEnabled() == enableWifi) { in requestUserEnableWifiAsync() 318 private boolean isWifiEnabled() { in isWifiEnabled() method in MultiNetworkConnectivityTestActivity
|
/cts/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 619 boolean enabled = mWifiManager.isWifiEnabled(); in testWifiFeature() 624 assertEquals(!enabled, mWifiManager.isWifiEnabled()); in testWifiFeature()
|