Searched refs:wifiState (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 115 int wifiState = mWifiManager.getWifiState(); in setHotspotEnabled() local 116 if ((wifiState == WifiManager.WIFI_STATE_ENABLING) || in setHotspotEnabled() 117 (wifiState == WifiManager.WIFI_STATE_ENABLED)) { in setHotspotEnabled()
|
D | NetworkControllerImpl.java | 620 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/ |
D | IBatteryStats.aidl | 92 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 505 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/ |
D | BatteryStatsImpl.java | 3654 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/ |
D | WifiStateMachine.java | 3214 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/ |
D | BatteryStats.java | 1377 public abstract long getWifiStateTime(int wifiState, in getWifiStateTime() argument 1385 public abstract int getWifiStateCount(int wifiState, int which); in getWifiStateCount() argument
|