Home
last modified time | relevance | path

Searched refs:elapsedRealtimeUs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DBatteryInfo.java114 final long elapsedRealtimeUs = SystemClock.elapsedRealtime() * 1000; in getBatteryInfo() local
118 batteryBroadcast, batteryStats, elapsedRealtimeUs, shortString); in getBatteryInfo()
125 BatteryStats stats, long elapsedRealtimeUs) { in getBatteryInfo() argument
126 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats, elapsedRealtimeUs, in getBatteryInfo()
131 BatteryStats stats, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfo() argument
139 final long drainTime = stats.computeBatteryTimeRemaining(elapsedRealtimeUs); in getBatteryInfo()
157 final long chargeTime = stats.computeChargeTimeRemaining(elapsedRealtimeUs); in getBatteryInfo()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1117 public void writeToParcel(Parcel out, long elapsedRealtimeUs) { in writeToParcel() argument
1119 + computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs))); in writeToParcel()
1123 out.writeLong(computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs))); in writeToParcel()
1165 public static void writeTimerToParcel(Parcel out, Timer timer, long elapsedRealtimeUs) { in writeTimerToParcel() argument
1172 timer.writeToParcel(out, elapsedRealtimeUs); in writeTimerToParcel()
1176 public long getTotalTimeLocked(long elapsedRealtimeUs, int which) { in getTotalTimeLocked() argument
1177 long val = computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs)); in getTotalTimeLocked()
1200 public long getTimeSinceMarkLocked(long elapsedRealtimeUs) { in getTimeSinceMarkLocked() argument
1201 long val = computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs)); in getTimeSinceMarkLocked()
1217 public void writeSummaryFromParcelLocked(Parcel out, long elapsedRealtimeUs) { in writeSummaryFromParcelLocked() argument
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java343 public abstract long getTotalTimeLocked(long elapsedRealtimeUs, int which); in getTotalTimeLocked() argument
352 public abstract long getTimeSinceMarkLocked(long elapsedRealtimeUs); in getTimeSinceMarkLocked() argument
440 public abstract long getWifiRunningTime(long elapsedRealtimeUs, int which); in getWifiRunningTime() argument
441 public abstract long getFullWifiLockTime(long elapsedRealtimeUs, int which); in getFullWifiLockTime() argument
442 public abstract long getWifiScanTime(long elapsedRealtimeUs, int which); in getWifiScanTime() argument
444 public abstract long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which); in getWifiBatchedScanTime() argument
446 public abstract long getWifiMulticastTime(long elapsedRealtimeUs, int which); in getWifiMulticastTime() argument
495 public abstract long getProcessStateTime(int state, long elapsedRealtimeUs, int which); in getProcessStateTime() argument
1661 public abstract long getScreenOnTime(long elapsedRealtimeUs, int which); in getScreenOnTime() argument
1670 public abstract long getInteractiveTime(long elapsedRealtimeUs, int which); in getInteractiveTime() argument
[all …]