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 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
141 final long drainTime = stats.computeBatteryTimeRemaining(elapsedRealtimeUs); in getBatteryInfo()
159 final long chargeTime = stats.computeChargeTimeRemaining(elapsedRealtimeUs); in getBatteryInfo()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1317 public void writeToParcel(Parcel out, long elapsedRealtimeUs) { in writeToParcel() argument
1319 + computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs))); in writeToParcel()
1323 out.writeLong(computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs))); in writeToParcel()
1365 public static void writeTimerToParcel(Parcel out, Timer timer, long elapsedRealtimeUs) { in writeTimerToParcel() argument
1372 timer.writeToParcel(out, elapsedRealtimeUs); in writeTimerToParcel()
1376 public long getTotalTimeLocked(long elapsedRealtimeUs, int which) { in getTotalTimeLocked() argument
1377 long val = computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs)); in getTotalTimeLocked()
1400 public long getTimeSinceMarkLocked(long elapsedRealtimeUs) { in getTimeSinceMarkLocked() argument
1401 long val = computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs)); in getTimeSinceMarkLocked()
1417 public void writeSummaryFromParcelLocked(Parcel out, long elapsedRealtimeUs) { in writeSummaryFromParcelLocked() argument
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java406 public abstract long getTotalTimeLocked(long elapsedRealtimeUs, int which); in getTotalTimeLocked() argument
415 public abstract long getTimeSinceMarkLocked(long elapsedRealtimeUs); in getTimeSinceMarkLocked() argument
561 public abstract long getWifiRunningTime(long elapsedRealtimeUs, int which); in getWifiRunningTime() argument
562 public abstract long getFullWifiLockTime(long elapsedRealtimeUs, int which); in getFullWifiLockTime() argument
563 public abstract long getWifiScanTime(long elapsedRealtimeUs, int which); in getWifiScanTime() argument
566 public abstract long getWifiScanActualTime(long elapsedRealtimeUs); in getWifiScanActualTime() argument
567 public abstract long getWifiScanBackgroundTime(long elapsedRealtimeUs); in getWifiScanBackgroundTime() argument
568 public abstract long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which); in getWifiBatchedScanTime() argument
570 public abstract long getWifiMulticastTime(long elapsedRealtimeUs, int which); in getWifiMulticastTime() argument
627 public abstract long getProcessStateTime(int state, long elapsedRealtimeUs, int which); in getProcessStateTime() argument
[all …]