Home
last modified time | relevance | path

Searched refs:wifiState (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java94 final int wifiState = mWifiManager.getWifiState(); in setSwitch() local
95 boolean isEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED; in setSwitch()
96 boolean isDisabled = wifiState == WifiManager.WIFI_STATE_DISABLED; in setSwitch()
DWifiApEnabler.java116 int wifiState = mWifiManager.getWifiState(); in setSoftapEnabled() local
117 if (enable && ((wifiState == WifiManager.WIFI_STATE_ENABLING) || in setSoftapEnabled()
118 (wifiState == WifiManager.WIFI_STATE_ENABLED))) { in setSoftapEnabled()
DWifiStatusTest.java230 private void setWifiStateText(int wifiState) { in setWifiStateText() argument
232 switch(wifiState) { in setWifiStateText()
261 private void handleWifiStateChanged(int wifiState) { in handleWifiStateChanged() argument
262 setWifiStateText(wifiState); in handleWifiStateChanged()
DWifiSettings.java621 final int wifiState = mWifiManager.getWifiState(); in updateAccessPoints() local
623 switch (wifiState) { in updateAccessPoints()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java385 int wifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, -1); in onActualStateChange() local
386 setCurrentState(context, wifiStateToFiveState(wifiState)); in onActualStateChange()
393 private static int wifiStateToFiveState(int wifiState) { in wifiStateToFiveState() argument
394 switch (wifiState) { in wifiStateToFiveState()