Searched refs:wifiState (Results 1 – 5 of 5) sorted by relevance
94 final int wifiState = mWifiManager.getWifiState(); in setSwitch() local95 boolean isEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED; in setSwitch()96 boolean isDisabled = wifiState == WifiManager.WIFI_STATE_DISABLED; in setSwitch()
116 int wifiState = mWifiManager.getWifiState(); in setSoftapEnabled() local117 if (enable && ((wifiState == WifiManager.WIFI_STATE_ENABLING) || in setSoftapEnabled()118 (wifiState == WifiManager.WIFI_STATE_ENABLED))) { in setSoftapEnabled()
230 private void setWifiStateText(int wifiState) { in setWifiStateText() argument232 switch(wifiState) { in setWifiStateText()261 private void handleWifiStateChanged(int wifiState) { in handleWifiStateChanged() argument262 setWifiStateText(wifiState); in handleWifiStateChanged()
621 final int wifiState = mWifiManager.getWifiState(); in updateAccessPoints() local623 switch (wifiState) { in updateAccessPoints()
385 int wifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, -1); in onActualStateChange() local386 setCurrentState(context, wifiStateToFiveState(wifiState)); in onActualStateChange()393 private static int wifiStateToFiveState(int wifiState) { in wifiStateToFiveState() argument394 switch (wifiState) { in wifiStateToFiveState()