/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | CarWifiManager.java | 208 public boolean setWifiEnabled(boolean enabled) { in setWifiEnabled() method in CarWifiManager 209 return mWifiManager.setWifiEnabled(enabled); in setWifiEnabled()
|
D | WifiRequestToggleActivity.java | 75 mCarWifiManager.setWifiEnabled(true); 81 mCarWifiManager.setWifiEnabled(false);
|
D | WifiEntryPreferenceController.java | 50 mCarWifiManager.setWifiEnabled(isChecked); in onCreateInternal()
|
D | WifiSettingsFragment.java | 74 mCarWifiManager.setWifiEnabled(mWifiSwitch.isChecked()); in onCreate()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 490 view.findViewById(R.id.startWifi).setOnClickListener(v -> setWifiEnabled(true)); in onCreateView() 491 view.findViewById(R.id.stopWifi).setOnClickListener(v -> setWifiEnabled(false)); in onCreateView() 600 private void setWifiEnabled(boolean enabled) { in setWifiEnabled() method in ConnectivityFragment 601 mWifiManager.setWifiEnabled(enabled); in setWifiEnabled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | RequestToggleWiFiActivity.java | 116 mWiFiManager.setWifiEnabled(true); in onClick() 123 mWiFiManager.setWifiEnabled(false); in onClick()
|
D | WifiEnabler.java | 218 if (!mWifiManager.setWifiEnabled(isChecked)) { in onSwitchToggled()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 116 mWiFiManager.setWifiEnabled(true); in onClick() 123 mWiFiManager.setWifiEnabled(false); in onClick()
|
D | WifiEnabler.java | 202 if (!mWifiManager.setWifiEnabled(isChecked)) { in onSwitchToggled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 89 mWifiManager.setWifiEnabled(true); in setUp() 115 mWifiManager.setWifiEnabled(false); in getWifiSlice_wifiOff_shouldReturnSingleRow()
|
D | ContextualWifiScanWorkerTest.java | 62 mWifiManager.setWifiEnabled(true); in setUp()
|
D | ContextualWifiSliceTest.java | 78 mWifiManager.setWifiEnabled(true); in setUp()
|
D | WifiScanWorkerTest.java | 84 mWifiManager.setWifiEnabled(true); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 362 public void setWifiEnabled(boolean enable) { in setWifiEnabled() method in ConnectivityListener 364 mWifiManager.setWifiEnabled(enable); in setWifiEnabled()
|
D | NetworkFragment.java | 190 mConnectivityListener.setWifiEnabled(mEnableWifiPref.isChecked()); in onPreferenceTreeClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiEnablerTest.java | 63 when(mWifiManager.setWifiEnabled(true)).thenReturn(true); in onSwitchToggled_avoidBadWifiConfigIsFalse_shouldReturnTrue()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | WirelessNetworkSettingsTests.java | 120 wifiManager.setWifiEnabled(wifiEnabled); in loadWiFiSettingsPage()
|
D | MoreWirelessSettingsTest2.java | 643 wifiManager.setWifiEnabled(wifiEnabled); in loadWiFiSettingsPage()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | WifiTile.java | 130 mCarWifiManager.setWifiEnabled(!mCarWifiManager.isWifiEnabled()); in onClick()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 68 wifiManager.setWifiEnabled(true); in onClick()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTask.java | 179 return mWifiManager.isWifiEnabled() || mWifiManager.setWifiEnabled(true); in enableWifi()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 1585 verify(mockWifiManager, times(1)).setWifiEnabled(true); in testConnectButton_clickConnectWhenWiFiDisabled_displaySuccessMessage() 1624 verify(mockWifiManager, times(1)).setWifiEnabled(true); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWiFi() 1663 verify(mockWifiManager, times(1)).setWifiEnabled(true); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWifiBecauseNotInRange() 1701 verify(mockWifiManager, times(1)).setWifiEnabled(true); in testConnectButton_clickConnectWhenWiFiDisabled_failedToEnableWifi()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTaskTest.java | 134 when(mWifiManager.setWifiEnabled(true)).thenReturn(false); in testFailToEnableWifi()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSlice.java | 308 mWifiManager.setWifiEnabled(newState); in onNotifyChange()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/ |
D | WifiSlice.java | 302 mWifiManager.setWifiEnabled(newState); in onNotifyChange()
|