Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl121 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java6113 public void noteWifiStateLocked(int wifiState, String accessPoint) { in noteWifiStateLocked() argument
6114 noteWifiStateLocked(wifiState, accessPoint, mClocks.elapsedRealtime()); in noteWifiStateLocked()
6117 public void noteWifiStateLocked(int wifiState, String accessPoint, long elapsedRealtimeMs) { in noteWifiStateLocked() argument
6118 if (DEBUG) Log.i(TAG, "WiFi state -> " + wifiState); in noteWifiStateLocked()
6119 if (mWifiState != wifiState) { in noteWifiStateLocked()
6123 mWifiState = wifiState; in noteWifiStateLocked()
6124 mWifiStateTimer[wifiState].startRunningLocked(elapsedRealtimeMs); in noteWifiStateLocked()
6839 @Override public long getWifiStateTime(int wifiState, in getWifiStateTime() argument
6841 return mWifiStateTimer[wifiState].getTotalTimeLocked( in getWifiStateTime()
6845 @Override public int getWifiStateCount(int wifiState, int which) { in getWifiStateCount() argument
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1681 public void noteWifiState(final int wifiState, final String accessPoint) { in noteWifiState() argument
1687 mStats.noteWifiStateLocked(wifiState, accessPoint, elapsedRealtime); in noteWifiState()
/frameworks/base/core/java/android/os/
DBatteryStats.java2775 public abstract long getWifiStateTime(@WifiState int wifiState, in getWifiStateTime() argument
2783 public abstract int getWifiStateCount(@WifiState int wifiState, @StatName int which); in getWifiStateCount() argument
2790 public abstract Timer getWifiStateTimer(@WifiState int wifiState); in getWifiStateTimer() argument