/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 101 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/ |
D | NetworkControllerWifiTest.java | 37 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/ |
D | ConnectivityManagerTestBase.java | 254 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/ |
D | ConnectionUtil.java | 129 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/ |
D | WifiServiceImplTest.java | 540 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 …]
|
D | WifiConnectivityManagerTest.java | 106 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 …]
|
D | ClientModeImplTest.java | 2201 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/ |
D | WifiCommand.java | 59 wifiMgr.setWifiEnabled("com.android.shell", flag); in run()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeNetworkController.java | 68 public void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in FakeNetworkController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkController.java | 35 void setWifiEnabled(boolean enabled); in setWifiEnabled() method
|
D | NetworkControllerImpl.java | 504 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/ |
D | WifiTile.java | 125 mController.setWifiEnabled(!wifiEnabled); in handleClick() 146 mController.setWifiEnabled(true); in handleSecondaryClick() 337 mController.setWifiEnabled(state); in setToggleState()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 106 boolean setWifiEnabled(String packageName, boolean enable); in setWifiEnabled() method
|
D | WifiManager.java | 2486 public boolean setWifiEnabled(boolean enabled) { 2488 return mService.setWifiEnabled(mContext.getOpPackageName(), enabled);
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1620 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/ |
D | BaseWifiService.java | 197 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/ |
D | DownloadManagerBaseTest.java | 287 manager.setWifiEnabled(enable); in setWiFiStateOn()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 1512 public void setWifiEnabled(boolean enable) { in setWifiEnabled() method in WifiConnectivityManager
|
D | WifiServiceImpl.java | 585 setWifiEnabled(mContext.getPackageName(), wifiEnabled); in checkAndStartWifi() 899 public synchronized boolean setWifiEnabled(String packageName, boolean enable) { in setWifiEnabled() method in WifiServiceImpl
|
D | ClientModeImpl.java | 3938 mWifiConnectivityManager.setWifiEnabled(true); in enter() 3953 mWifiConnectivityManager.setWifiEnabled(false); in exit()
|
/frameworks/base/api/ |
D | lint-baseline.txt | 821 RequiresPermission: android.net.wifi.WifiManager#setWifiEnabled(boolean):
|
/frameworks/base/proto/src/ |
D | wifi.proto | 537 // 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/ |
D | android-22.txt | 18059 method public boolean setWifiEnabled(boolean);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 46414 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/ |
D | current.txt | 30103 method @Deprecated public boolean setWifiEnabled(boolean);
|