/cts/tests/tests/telephony/current/preconditions/cleanerApp/src/android/telephony/cts/preconditions/cleanerApp/ |
D | TelephonyCleanerAppTest.java | 41 runWithShellPermissionIdentity(() -> assertTrue(wifiManager.setWifiEnabled(true))); in testEnsureWifiEnabled()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 98 if (!mWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUp() 114 setWifiEnabled(true); in tearDown() 119 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiInfoTest 153 setWifiEnabled(false); in testWifiInfoProperties()
|
D | WifiLocationInfoTest.java | 118 if (!mWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUp() 140 if (!mWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDown() 147 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiLocationInfoTest
|
D | ScanResultTest.java | 137 if (!mWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUp() 154 setWifiEnabled(true); in tearDown() 163 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in ScanResultTest
|
D | WifiManagerTest.java | 340 if (!mWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUp() 368 setWifiEnabled(true); in tearDown() 382 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiManagerTest 514 setWifiEnabled(false); in testWifiManagerScanWhenWifiOffLocationTurnedOn() 596 setWifiEnabled(true); in testWifiManagerProperties() 601 setWifiEnabled(false); in testWifiManagerProperties() 626 setWifiEnabled(true); in testWifiScanTimestamp() 1089 setWifiEnabled(true); in testDeprecatedApis() 1110 assertFalse(mWifiManager.setWifiEnabled(!wifiEnabled)); in testDeprecatedApis() 1968 setWifiEnabled(false); in testScreenOffDoesNotTurnOffWifiScanningWhenWifiDisabled() [all …]
|
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 119 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 137 () -> wifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 120 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 138 () -> wifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
D | WifiBackupRestoreTest.java | 121 if (!mWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUp() 134 if (!mWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDown() 140 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiBackupRestoreTest
|
D | WifiNetworkSpecifierTest.java | 221 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 263 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in tearDownClass()
|
D | ConnectedNetworkScorerTest.java | 127 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.setWifiEnabled(true)); in setUp() 161 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.setWifiEnabled(true)); in tearDown()
|
D | WifiNetworkSuggestionTest.java | 147 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 184 () -> sWifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
/cts/tests/tests/telephony/current/preconditions/preparerApp/src/android/telephony/cts/preconditions/preparerApp/ |
D | TelephonyPreparerAppTest.java | 60 runWithShellPermissionIdentity(() -> assertTrue(wifiManager.setWifiEnabled(false))); in testEnsureWifiDisabled()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoWifiStatePermissionTest.java | 262 mWifiManager.setWifiEnabled(true); in testSetWifiEnabled()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | WifiManagerWrapper.java | 69 doAnswer(answer).when(spy).setWifiEnabled(anyBoolean()); in getWrapper()
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | WifiNl80211ManagerTest.java | 149 wifiManager.setWifiEnabled(true); in testCountryCodeChangeListener()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 1221 runWithShellPermissionIdentity(() -> wifiManager.setWifiEnabled(true)); in getWifiMacAddress() 1226 runWithShellPermissionIdentity(() -> wifiManager.setWifiEnabled(false)); in getWifiMacAddress()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | wifi-current.txt | 417 method @Deprecated public boolean setWifiEnabled(boolean);
|