Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java101 mWifiManager.setWifiEnabled(true); in setUp()
192 mWifiManager.setWifiEnabled(false); in testPingSupplicant()
196 mWifiManager.setWifiEnabled(true); in testPingSupplicant()
214 mWifiManager.setWifiEnabled(false); in testSaveConfig()
215 mWifiManager.setWifiEnabled(true); in testSaveConfig()
240 mWifiManager.setWifiEnabled(false); in testWifiBroadcasts()
249 mWifiManager.setWifiEnabled(true); in testWifiBroadcasts()
258 mWifiManager.setWifiEnabled(false); in testWifiBroadcasts()
272 mWifiManager.setWifiEnabled(false); in testWifiConfiguredNetworkStatus()
282 mWifiManager.setWifiEnabled(true); in testWifiConfiguredNetworkStatus()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java37 setWifiEnabled(true); in testWifiIcon()
58 setWifiEnabled(false); in testQsWifiIcon()
61 setWifiEnabled(true); in testQsWifiIcon()
82 setWifiEnabled(true); in testQsDataDirection()
107 setWifiEnabled(true); in testRoamingIconDuringWifi()
128 setWifiEnabled(true); in testWifiIconInvalidatedViaCallback()
143 setWifiEnabled(true); in testWifiIconDisconnectedViaCallback()
158 setWifiEnabled(true); in testVpnWithUnderlyingWifi()
187 protected void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in NetworkControllerWifiTest
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java254 return mWifiManager.setWifiEnabled(true); in enableWifi()
331 mWifiManager.setWifiEnabled(true); in connectToWifiWithConfiguration()
361 mWifiManager.setWifiEnabled(true); in disconnectAP()
392 return mWifiManager.setWifiEnabled(false); in disableWifi()
403 if (!mWifiManager.setWifiEnabled(false)) { in removeConfiguredNetworksAndDisableWifi()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java129 mWifiManager.setWifiEnabled(true); in wifiTestInit()
556 mWifiManager.setWifiEnabled(true); in connectToWifiWithConfiguration()
645 return mWifiManager.setWifiEnabled(true); in enableWifi()
653 return mWifiManager.setWifiEnabled(false); in disableWifi()
664 if (!mWifiManager.setWifiEnabled(false)) { in removeConfiguredNetworksAndDisableWifi()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java540 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsPrivilegedApp()
541 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsPrivilegedApp()
559 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
560 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
577 assertFalse(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
578 assertFalse(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
591 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
605 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
624 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
642 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessForSystemAppsTargetingQSDK()
[all …]
DWifiConnectivityManagerTest.java106 mWifiConnectivityManager.setWifiEnabled(true); in setUp()
740 mWifiConnectivityManager.setWifiEnabled(false); in openNetworkNotifierClearsPendingNotificationOnWifiDisabled()
884 mWifiConnectivityManager.setWifiEnabled(false); in carrierNetworkNotifierClearsPendingNotificationOnWifiDisabled()
1607 mWifiConnectivityManager.setWifiEnabled(false); in clearBssidBlacklistWhenExitingWifiClientMode()
1684 mWifiConnectivityManager.setWifiEnabled(true);
1700 mWifiConnectivityManager.setWifiEnabled(true);
2043 mWifiConnectivityManager.setWifiEnabled(true);
2099 mWifiConnectivityManager.setWifiEnabled(true);
2149 mWifiConnectivityManager.setWifiEnabled(true);
2181 mWifiConnectivityManager.setWifiEnabled(true);
[all …]
DClientModeImplTest.java2201 inOrder.verify(mWifiConnectivityManager).setWifiEnabled(eq(true)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2225 inOrder.verify(mWifiConnectivityManager).setWifiEnabled(eq(false)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2249 inOrder.verify(mWifiConnectivityManager).setWifiEnabled(eq(true)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DWifiCommand.java59 wifiMgr.setWifiEnabled("com.android.shell", flag); in run()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeNetworkController.java68 public void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in FakeNetworkController
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java35 void setWifiEnabled(boolean enabled); in setWifiEnabled() method
DNetworkControllerImpl.java504 public void setWifiEnabled(final boolean enabled) { in setWifiEnabled() method in NetworkControllerImpl
508 mWifiManager.setWifiEnabled(enabled); in setWifiEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DWifiTile.java125 mController.setWifiEnabled(!wifiEnabled); in handleClick()
146 mController.setWifiEnabled(true); in handleSecondaryClick()
337 mController.setWifiEnabled(state); in setToggleState()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl106 boolean setWifiEnabled(String packageName, boolean enable); in setWifiEnabled() method
DWifiManager.java2486 public boolean setWifiEnabled(boolean enabled) {
2488 return mService.setWifiEnabled(mContext.getOpPackageName(), enabled);
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1620 when(mWifiService.setWifiEnabled(anyString(), anyBoolean())).thenReturn(true); in testSetWifiEnabled()
1621 assertTrue(mWifiManager.setWifiEnabled(true)); in testSetWifiEnabled()
1622 verify(mWifiService).setWifiEnabled(mContext.getOpPackageName(), true); in testSetWifiEnabled()
1623 assertTrue(mWifiManager.setWifiEnabled(false)); in testSetWifiEnabled()
1624 verify(mWifiService).setWifiEnabled(mContext.getOpPackageName(), false); in testSetWifiEnabled()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java197 public boolean setWifiEnabled(String packageName, boolean enable) { in setWifiEnabled() method in BaseWifiService
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java287 manager.setWifiEnabled(enable); in setWiFiStateOn()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java1512 public void setWifiEnabled(boolean enable) { in setWifiEnabled() method in WifiConnectivityManager
DWifiServiceImpl.java585 setWifiEnabled(mContext.getPackageName(), wifiEnabled); in checkAndStartWifi()
899 public synchronized boolean setWifiEnabled(String packageName, boolean enable) { in setWifiEnabled() method in WifiServiceImpl
DClientModeImpl.java3938 mWifiConnectivityManager.setWifiEnabled(true); in enter()
3953 mWifiConnectivityManager.setWifiEnabled(false); in exit()
/frameworks/base/api/
Dlint-baseline.txt821 RequiresPermission: android.net.wifi.WifiManager#setWifiEnabled(boolean):
/frameworks/base/proto/src/
Dwifi.proto537 // Stats on number of times Wi-Fi is turned on/off though the WifiManager#setWifiEnabled API
2654 // Stats on number of times Wi-Fi is turned on/off though the WifiManager#setWifiEnabled API
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18059 method public boolean setWifiEnabled(boolean);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46414 Landroid/net/wifi/IWifiManager$Stub$Proxy;->setWifiEnabled(Ljava/lang/String;Z)Z
46541 Landroid/net/wifi/IWifiManager;->setWifiEnabled(Ljava/lang/String;Z)Z
/frameworks/base/non-updatable-api/
Dcurrent.txt30103 method @Deprecated public boolean setWifiEnabled(boolean);

12