Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java115 int wifiState = mWifiManager.getWifiState(); in setHotspotEnabled() local
116 if ((wifiState == WifiManager.WIFI_STATE_ENABLING) || in setHotspotEnabled()
117 (wifiState == WifiManager.WIFI_STATE_ENABLED)) { in setHotspotEnabled()
DNetworkControllerImpl.java620 WifiSignalController.WifiState wifiState = mWifiSignalController.getState(); in refreshCarrierLabel() local
638 if (wifiState.connected && mHasMobileDataFeature) { in refreshCarrierLabel()
647 } else if (!isMobileDataConnected() && !wifiState.connected && !mBluetoothTethered && in refreshCarrierLabel()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl92 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java505 public void noteWifiState(int wifiState, String accessPoint) { in noteWifiState() argument
508 mStats.noteWifiStateLocked(wifiState, accessPoint); in noteWifiState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3654 public void noteWifiStateLocked(int wifiState, String accessPoint) { in noteWifiStateLocked() argument
3655 if (DEBUG) Log.i(TAG, "WiFi state -> " + wifiState); in noteWifiStateLocked()
3656 if (mWifiState != wifiState) { in noteWifiStateLocked()
3661 mWifiState = wifiState; in noteWifiStateLocked()
3662 mWifiStateTimer[wifiState].startRunningLocked(elapsedRealtime); in noteWifiStateLocked()
4068 @Override public long getWifiStateTime(int wifiState, in getWifiStateTime() argument
4070 return mWifiStateTimer[wifiState].getTotalTimeLocked( in getWifiStateTime()
4074 @Override public int getWifiStateCount(int wifiState, int which) { in getWifiStateCount() argument
4075 return mWifiStateTimer[wifiState].getCountLocked(which); in getWifiStateCount()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java3214 private void setWifiState(int wifiState) { in setWifiState() argument
3218 if (wifiState == WIFI_STATE_ENABLED) { in setWifiState()
3220 } else if (wifiState == WIFI_STATE_DISABLED) { in setWifiState()
3227 mWifiState.set(wifiState); in setWifiState()
3233 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in setWifiState()
/frameworks/base/core/java/android/os/
DBatteryStats.java1377 public abstract long getWifiStateTime(int wifiState, in getWifiStateTime() argument
1385 public abstract int getWifiStateCount(int wifiState, int which); in getWifiStateCount() argument