/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiLocationInfoForegroundTest.java | 118 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 156 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass() 163 private static void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiLocationInfoForegroundTest 164 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
|
D | WifiLocationInfoBackgroundTest.java | 129 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 169 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass() 177 private static void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiLocationInfoBackgroundTest 178 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
|
D | WifiInfoTest.java | 126 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 139 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass() 147 private static void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiInfoTest 151 () -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled() 175 setWifiEnabled(false); in testWifiInfoProperties()
|
D | ScanResultTest.java | 178 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 192 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass() 204 private static void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in ScanResultTest 208 () -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
|
D | WifiManagerTest.java | 489 setWifiEnabled(true); in tearDownClass() 510 setWifiEnabled(true); in setUp() 519 private static void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiManagerTest 528 () -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled() 651 setWifiEnabled(false); in testWifiManagerScanWhenWifiOffLocationTurnedOn() 723 setWifiEnabled(true); in testWifiManagerProperties() 728 setWifiEnabled(false); in testWifiManagerProperties() 750 setWifiEnabled(true); in testWifiScanTimestamp() 1222 sWifiManager.setWifiEnabled(false)); in testStartLocalOnlyHotspotSuccess() 1268 assertFalse(sWifiManager.setWifiEnabled(!wifiEnabled)); in testDeprecatedApis() [all …]
|
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 123 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 144 () -> wifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 127 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 142 () -> sWifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
D | MultiStaConcurrencyMultiInternetWifiNetworkTest.java | 159 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 177 () -> wifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
D | WifiBackupRestoreTest.java | 165 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUpClass() 183 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in tearDownClass() 188 private static void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in WifiBackupRestoreTest 189 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
|
D | WifiNetworkSpecifierTest.java | 226 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 265 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in tearDownClass()
|
D | ConnectedNetworkScorerTest.java | 150 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(false)); in setUpClass() 152 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 186 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in tearDownClass()
|
D | WifiNetworkSuggestionTest.java | 164 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 201 () -> sWifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
D | ConcurrencyTest.java | 295 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(false)); in setUpClass() 445 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in enableWifi() 1778 sWifiManager.setWifiEnabled(false); in testP2pWhenInfraStaDisabled()
|
/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/telephony/current/preconditions/preparerApp/src/android/telephony/cts/preconditions/preparerApp/ |
D | TelephonyPreparerAppTest.java | 60 runWithShellPermissionIdentity(() -> assertTrue(wifiManager.setWifiEnabled(false))); in testEnsureWifiDisabled()
|
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/ |
D | MockWifiTest.java | 230 setWifiEnabled(true); in tearDownClass() 244 if (!sWifiManager.isWifiEnabled()) setWifiEnabled(true); in setUp() 258 private static void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() method in MockWifiTest 267 () -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
|
/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/rtt/cts/ |
D | TestBase.java | 166 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setupClass() 184 () -> sWifiManager.setWifiEnabled(sWasWifiEnabled)); in tearDownClass()
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | WifiNl80211ManagerTest.java | 208 wifiManager.setWifiEnabled(true); in testCountryCodeChangeListener()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WifiConfigCreator.java | 304 mWifiManager.setWifiEnabled(true); in checkAndEnableWifi()
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 640 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.setWifiEnabled(true)); in setUp() 753 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.setWifiEnabled(false)); in testAvailabilityStatusChange() 768 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.setWifiEnabled(true)); in testAvailabilityStatusChange() 2025 mWifiManager.setWifiEnabled(false); in testAwareWhenInfraStaDisabled()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 1686 runWithShellPermissionIdentity(() -> wifiManager.setWifiEnabled(true)); in getWifiMacAddress() 1691 runWithShellPermissionIdentity(() -> wifiManager.setWifiEnabled(false)); in getWifiMacAddress()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | wifi-current.txt | 542 method @Deprecated public boolean setWifiEnabled(boolean);
|