/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiDataStallTest.java | 220 private void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in WifiDataStallTest 236 setWifiEnabled(false); in testCellularDataConnectionOnOff() 237 setWifiEnabled(true); in testCellularDataConnectionOnOff() 250 setWifiEnabled(false); in testCellularDataConnectionOnOff() 253 setWifiEnabled(false); in testCellularDataConnectionOnOff() 264 setWifiEnabled(false); in testCellularDataListenerReset() 265 setWifiEnabled(true); in testCellularDataListenerReset() 633 setWifiEnabled(true); in testIncrementConnectionDuration() 668 setWifiEnabled(false); in testIncrementConnectionDuration()
|
D | WifiHealthMonitorTest.java | 362 private void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in WifiHealthMonitorTest 377 setWifiEnabled(true); in makeSerializedExample() 427 setWifiEnabled(false); in testReadWriteAndSWChange() 455 setWifiEnabled(true); in testSerializationDeserialization() 654 setWifiEnabled(false); in testAfterSwBuildChange() 666 setWifiEnabled(true); in testAfterSwBuildChange() 720 setWifiEnabled(true); in testFullBandScan() 736 setWifiEnabled(true); in test2GScan() 795 setWifiEnabled(true); in testPostBootAbnormalScanDetection()
|
D | WifiConnectivityManagerTest.java | 200 setWifiEnabled(true); in setUp() 1995 setWifiEnabled(false); in connectionAttemptNotRateLimitedWhenScreenOffAfterWifiToggle() 1996 setWifiEnabled(true); in connectionAttemptNotRateLimitedWhenScreenOffAfterWifiToggle() 2838 setWifiEnabled(false); in openNetworkNotifierClearsPendingNotificationOnWifiDisabled() 3049 setWifiEnabled(true); in checkWorkingWithDefaultScheduleWithMultiplier() 4629 setWifiEnabled(false); in clearEnableTemporarilyDisabledNetworksWhenExitingWifiClientMode() 4651 setWifiEnabled(false); in testAnqpFlushCacheSkippedIfNotConfigured() 4684 setWifiEnabled(true); in verifyGetFirmwareRoamingInfoIsCalledWhenEnableWiFiAndWcmOn() 4700 setWifiEnabled(true); in verifyGetFirmwareRoamingInfoIsNotCalledWhenEnableWiFiAndWcmOff() 5105 setWifiEnabled(true); in filterScanResultsWithOneRadioChainInfoForNetworkSelectionIfConfigDisabled() [all …]
|
D | WifiServiceImplTest.java | 894 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsPrivilegedApp() 896 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsPrivilegedApp() 924 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsNormalAppBelowQSdk() 925 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsNormalAppBelowQSdk() 944 assertFalse(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledMetricsNormalAppTargetingQSdkNoIncrement() 945 assertFalse(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, false)); in testSetWifiEnabledMetricsNormalAppTargetingQSdkNoIncrement() 960 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessWithNetworkSettingsPermission() 975 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission() 994 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessForDOAppsTargetingQSdk() 1013 assertTrue(mWifiServiceImpl.setWifiEnabled(TEST_PACKAGE_NAME, true)); in testSetWifiEnabledSuccessForSystemAppsTargetingQSdk() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | CarWifiManager.java | 210 public boolean setWifiEnabled(boolean enabled) { in setWifiEnabled() method in CarWifiManager 211 return mWifiManager.setWifiEnabled(enabled); in setWifiEnabled()
|
D | WifiRequestToggleActivity.java | 75 mCarWifiManager.setWifiEnabled(true); 81 mCarWifiManager.setWifiEnabled(false);
|
D | WifiStateSwitchPreferenceController.java | 70 getCarWifiManager().setWifiEnabled(wifiEnabled); in handlePreferenceChanged()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 486 view.findViewById(R.id.startWifi).setOnClickListener(v -> setWifiEnabled(true)); in onCreateView() 487 view.findViewById(R.id.stopWifi).setOnClickListener(v -> setWifiEnabled(false)); in onCreateView() 595 private void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in ConnectivityFragment 596 mWifiManager.setWifiEnabled(enabled); in setWifiEnabled()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 112 mWiFiManager.setWifiEnabled(true); in onClick() 119 mWiFiManager.setWifiEnabled(false); in onClick()
|
D | WifiEnabler.java | 235 if (!mWifiManager.setWifiEnabled(isChecked)) { in onSwitchToggled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiEnablerTest.java | 66 when(mWifiManager.setWifiEnabled(true)).thenReturn(true); in onSwitchToggled_avoidBadWifiConfigIsFalse_shouldReturnTrue()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | WifiTile.java | 92 mWifiManager.setWifiEnabled(newState); in onNotifyChange()
|
D | WifiRow.java | 109 mWifiManager.setWifiEnabled(newState); in onNotifyChange()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoWifiStatePermissionTest.java | 217 mWifiManager.setWifiEnabled(true); in testSetWifiEnabled()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | WirelessNetworkSettingsTests.java | 123 wifiManager.setWifiEnabled(wifiEnabled); in loadWiFiSettingsPage()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 385 public void setWifiEnabled(boolean enable) { in setWifiEnabled() method in ConnectivityListener 387 mWifiManager.setWifiEnabled(enable); in setWifiEnabled()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | ConnectivityListener.java | 415 public void setWifiEnabled(boolean enable) { in setWifiEnabled() method in ConnectivityListener 417 mWifiManager.setWifiEnabled(enable); in setWifiEnabled()
|
D | NetworkState.java | 204 mNetworkModule.getConnectivityListener().setWifiEnabled(status); in onPreferenceTreeClick()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 71 wifiManager.setWifiEnabled(true); in onClick()
|
/packages/modules/Wifi/framework/api/ |
D | lint-baseline.txt | 38 RequiresPermission: android.net.wifi.WifiManager#setWifiEnabled(boolean): 39 Method 'setWifiEnabled' documentation mentions permissions without declaring @RequiresPermission
|
D | module-lib-lint-baseline.txt | 90 RequiresPermission: android.net.wifi.WifiManager#setWifiEnabled(boolean): 91 Method 'setWifiEnabled' documentation mentions permissions without declaring @RequiresPermission
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTask.java | 173 return mWifiManager.isWifiEnabled() || mWifiManager.setWifiEnabled(true); in enableWifi()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTaskTest.java | 134 when(mWifiManager.setWifiEnabled(true)).thenReturn(false); in testFailToEnableWifi()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiHealthMonitor.java | 148 setWifiEnabled(mActiveModeWarden.getPrimaryClientModeManagerNullable() != null); in update() 217 private void setWifiEnabled(boolean enable) { in setWifiEnabled() method in WifiHealthMonitor
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | WifiTileTest.java | 200 verify(mWifiManager).setWifiEnabled(true); in onNotifyChange_togglesWifi()
|