/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/cmds/svc/src/com/android/commands/svc/ |
D | WifiCommand.java | 59 wifiMgr.setWifiEnabled("com.android.shell", flag); in run()
|
/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 102 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 …]
|
D | WifiServiceImplTest.java | 533 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 …]
|
D | ClientModeImplTest.java | 2078 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/ |
D | NetworkController.java | 35 void setWifiEnabled(boolean enabled); in setWifiEnabled() method
|
D | NetworkControllerImpl.java | 455 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/ |
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 | 2453 public boolean setWifiEnabled(boolean enabled) { 2455 return mService.setWifiEnabled(mContext.getOpPackageName(), enabled);
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1636 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/ |
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/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 515 manager.setWifiEnabled(enable); in setWiFiStateOn()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 1509 public void setWifiEnabled(boolean enable) { in setWifiEnabled() method in WifiConnectivityManager
|
D | WifiServiceImpl.java | 588 setWifiEnabled(mContext.getPackageName(), wifiEnabled); in checkAndStartWifi() 872 public synchronized boolean setWifiEnabled(String packageName, boolean enable) { in setWifiEnabled() method in WifiServiceImpl
|
D | ClientModeImpl.java | 3907 mWifiConnectivityManager.setWifiEnabled(true); in enter() 3925 mWifiConnectivityManager.setWifiEnabled(false); in exit()
|
/frameworks/base/proto/src/ |
D | wifi.proto | 537 // 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/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |