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.java305 final boolean wifiEnabled = mIsWifiHardwarePresent in updateConnectivity()
308 mEnableWifiPref.setChecked(wifiEnabled); in updateConnectivity()
310 mWifiNetworksCategory.setVisible(wifiEnabled && !ethernetConnected); in updateConnectivity()
311 mCollapsePref.setVisible(wifiEnabled && mWifiNetworksCategory.shouldShowCollapsePref()); in updateConnectivity()
312 mAddPref.setVisible(wifiEnabled && !ethernetConnected); in updateConnectivity()
317 if (!wifiEnabled) { in updateConnectivity()
531 final boolean wifiEnabled = mIsWifiHardwarePresent in isEasyConnectEnabled()
534 if (!wifiEnabled || !mWifiManager.isEasyConnectSupported()) { in isEasyConnectEnabled()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DNetworkState.java235 final boolean wifiEnabled = mNetworkModule.isWifiHardwarePresent() in updateConnectivity()
237 mEnableWifiPref.setChecked(wifiEnabled); in updateConnectivity()
240 mWifiNetworkCategoryPref.setVisible(wifiEnabled); in updateConnectivity()
243 mAddPref.setVisible(wifiEnabled); in updateConnectivity()
246 if (!wifiEnabled) { in updateConnectivity()
/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/Car/Settings/src/com/android/car/settings/qc/
DWifiTile.java56 boolean wifiEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED in getQCItem()
73 .setChecked(wifiEnabled) in getQCItem()
DWifiRow.java61 boolean wifiEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED in getQCItem()
79 .setChecked(wifiEnabled) in getQCItem()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DWirelessNetworkSettingsTests.java120 private void loadWiFiSettingsPage(boolean wifiEnabled) throws Exception { in loadWiFiSettingsPage() argument
123 wifiManager.setWifiEnabled(wifiEnabled); in loadWiFiSettingsPage()
DMoreWirelessSettingsTest2.java644 private void loadWiFiSettingsPage(boolean wifiEnabled) throws Exception { in loadWiFiSettingsPage() argument
647 wifiManager.setWifiEnabled(wifiEnabled); in loadWiFiSettingsPage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java253 public synchronized boolean handleWifiToggled(boolean wifiEnabled) { in handleWifiToggled() argument
258 if (wifiEnabled) { in handleWifiToggled()
DWifiShellCommand.java2759 boolean wifiEnabled = mWifiService.getWifiEnabledState() == WIFI_STATE_ENABLED; in printStatus()
2760 pw.println("Wifi is " + (wifiEnabled ? "enabled" : "disabled")); in printStatus()
2764 if (!wifiEnabled) { in printStatus()
DWifiServiceImpl.java602 boolean wifiEnabled = mSettingsStore.isWifiToggleEnabled(); in checkAndStartWifi()
604 "WifiService starting up with Wi-Fi " + (wifiEnabled ? "enabled" : "disabled")); in checkAndStartWifi()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java1440 boolean wifiEnabled = mWifiManager.isWifiEnabled(); in disableWifi()
1442 if (wifiEnabled != wifiModifiedState) { in disableWifi()
1444 saveWifiModifiedState(mWifiStateFile, wifiEnabled); in disableWifi()