Home
last modified time | relevance | path

Searched refs:wifiApState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java349 final int wifiApState = mWifiManager.getWifiApState(); in setWifiEnabled() local
350 if (enabled && ((wifiApState == WifiManager.WIFI_AP_STATE_ENABLING) || in setWifiEnabled()
351 (wifiApState == WifiManager.WIFI_AP_STATE_ENABLED))) { in setWifiEnabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java3004 private void setWifiApState(int wifiApState, int reason) { in setWifiApState() argument
3008 if (wifiApState == WIFI_AP_STATE_ENABLED) { in setWifiApState()
3010 } else if (wifiApState == WIFI_AP_STATE_DISABLED) { in setWifiApState()
3018 mWifiApState.set(wifiApState); in setWifiApState()
3024 intent.putExtra(WifiManager.EXTRA_WIFI_AP_STATE, wifiApState); in setWifiApState()
3026 if (wifiApState == WifiManager.WIFI_AP_STATE_FAILED) { in setWifiApState()