Home
last modified time | relevance | path

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

/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/cmds/svc/src/com/android/commands/svc/
DWifiCommand.java59 wifiMgr.setWifiEnabled("com.android.shell", flag); in run()
/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/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeNetworkController.java68 public void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in FakeNetworkController
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java102 mWifiConnectivityManager.setWifiEnabled(true); in setUp()
735 mWifiConnectivityManager.setWifiEnabled(false); in openNetworkNotifierClearsPendingNotificationOnWifiDisabled()
879 mWifiConnectivityManager.setWifiEnabled(false); in carrierNetworkNotifierClearsPendingNotificationOnWifiDisabled()
1602 mWifiConnectivityManager.setWifiEnabled(false); in clearBssidBlacklistWhenExitingWifiClientMode()
1679 mWifiConnectivityManager.setWifiEnabled(true);
1695 mWifiConnectivityManager.setWifiEnabled(true);
2038 mWifiConnectivityManager.setWifiEnabled(true);
2094 mWifiConnectivityManager.setWifiEnabled(true);
2144 mWifiConnectivityManager.setWifiEnabled(true);
2176 mWifiConnectivityManager.setWifiEnabled(true);
[all …]
DWifiServiceImplTest.java533 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsPrivilegedApp()
534 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsPrivilegedApp()
552 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
553 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
570 assertFalse(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
571 assertFalse(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
584 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
598 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
614 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
631 assertFalse(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledFailureForAppsTargetingQSDK()
[all …]
DClientModeImplTest.java2078 inOrder.verify(mWifiConnectivityManager).setWifiEnabled(eq(true)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2102 inOrder.verify(mWifiConnectivityManager).setWifiEnabled(eq(false)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2126 inOrder.verify(mWifiConnectivityManager).setWifiEnabled(eq(true)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java35 void setWifiEnabled(boolean enabled); in setWifiEnabled() method
DNetworkControllerImpl.java455 public void setWifiEnabled(final boolean enabled) { in setWifiEnabled() method in NetworkControllerImpl
459 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.java2453 public boolean setWifiEnabled(boolean enabled) {
2455 return mService.setWifiEnabled(mContext.getOpPackageName(), enabled);
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1636 when(mWifiService.setWifiEnabled(anyString(), anyBoolean())).thenReturn(true); in testSetWifiEnabled()
1637 assertTrue(mWifiManager.setWifiEnabled(true)); in testSetWifiEnabled()
1638 verify(mWifiService).setWifiEnabled(mContext.getOpPackageName(), true); in testSetWifiEnabled()
1639 assertTrue(mWifiManager.setWifiEnabled(false)); in testSetWifiEnabled()
1640 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/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java515 manager.setWifiEnabled(enable); in setWiFiStateOn()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java1509 public void setWifiEnabled(boolean enable) { in setWifiEnabled() method in WifiConnectivityManager
DWifiServiceImpl.java588 setWifiEnabled(mContext.getPackageName(), wifiEnabled); in checkAndStartWifi()
872 public synchronized boolean setWifiEnabled(String packageName, boolean enable) { in setWifiEnabled() method in WifiServiceImpl
DClientModeImpl.java3907 mWifiConnectivityManager.setWifiEnabled(true); in enter()
3925 mWifiConnectivityManager.setWifiEnabled(false); in exit()
/frameworks/base/proto/src/
Dwifi.proto537 // Stats on number of times Wi-Fi is turned on/off though the WifiManager#setWifiEnabled API
2544 // Stats on number of times Wi-Fi is turned on/off though the WifiManager#setWifiEnabled API
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...