Home
last modified time | relevance | path

Searched refs:wifiEnabled (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java293 final boolean wifiEnabled = mIsWifiHardwarePresent in updateConnectivity()
295 mEnableWifiPref.setChecked(wifiEnabled); in updateConnectivity()
297 mWifiNetworksCategory.setVisible(wifiEnabled); in updateConnectivity()
298 mCollapsePref.setVisible(wifiEnabled && mWifiNetworksCategory.shouldShowCollapsePref()); in updateConnectivity()
299 mAddPref.setVisible(wifiEnabled); in updateConnectivity()
304 if (!wifiEnabled) { in updateConnectivity()
489 final boolean wifiEnabled = mIsWifiHardwarePresent in isEasyConnectEnabled()
492 if (!wifiEnabled || !mWifiManager.isEasyConnectSupported()) { in isEasyConnectEnabled()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DNetworkState.java239 final boolean wifiEnabled = mNetworkModule.isWifiHardwarePresent() in updateConnectivity()
241 mEnableWifiPref.setChecked(wifiEnabled); in updateConnectivity()
244 mWifiNetworkCategoryPref.setVisible(wifiEnabled); in updateConnectivity()
247 mAddPref.setVisible(wifiEnabled); in updateConnectivity()
250 if (!wifiEnabled) { in updateConnectivity()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DWifiTile.java47 boolean wifiEnabled = mWifiManager.isWifiEnabled(); in getQCItem()
58 .setChecked(wifiEnabled) in getQCItem()
DWifiRow.java53 boolean wifiEnabled = mWifiManager.isWifiEnabled(); in getQCItem()
63 .setChecked(wifiEnabled) in getQCItem()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiStateSwitchPreferenceController.java69 boolean wifiEnabled = (Boolean) newValue; in handlePreferenceChanged()
70 getCarWifiManager().setWifiEnabled(wifiEnabled); in handlePreferenceChanged()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DWirelessNetworkSettingsTests.java117 private void loadWiFiSettingsPage(boolean wifiEnabled) throws Exception { in loadWiFiSettingsPage() argument
120 wifiManager.setWifiEnabled(wifiEnabled); in loadWiFiSettingsPage()
DMoreWirelessSettingsTest2.java640 private void loadWiFiSettingsPage(boolean wifiEnabled) throws Exception { in loadWiFiSettingsPage() argument
643 wifiManager.setWifiEnabled(wifiEnabled); in loadWiFiSettingsPage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java85 public synchronized boolean handleWifiToggled(boolean wifiEnabled) { in handleWifiToggled() argument
91 if (wifiEnabled) { in handleWifiToggled()
DWifiShellCommand.java2140 boolean wifiEnabled = mWifiService.getWifiEnabledState() == WIFI_STATE_ENABLED; in printStatus()
2141 pw.println("Wifi is " + (wifiEnabled ? "enabled" : "disabled")); in printStatus()
2145 if (!wifiEnabled) { in printStatus()
DWifiServiceImpl.java537 boolean wifiEnabled = mSettingsStore.isWifiToggleEnabled(); in checkAndStartWifi()
539 "WifiService starting up with Wi-Fi " + (wifiEnabled ? "enabled" : "disabled")); in checkAndStartWifi()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java972 boolean wifiEnabled = mWifiManager.isWifiEnabled(); in disableWifi()
974 if (wifiEnabled != wifiModifiedState) { in disableWifi()
976 saveWifiModifiedState(mWifiStateFile, wifiEnabled); in disableWifi()