Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryUsageStatsProvider.java179 final long uptimeUs = mClock.uptimeMillis() * 1000; in getCurrentBatteryUsageStats() local
237 powerCalculator.calculate(batteryUsageStatsBuilder, stats, realtimeUs, uptimeUs, in getCurrentBatteryUsageStats()
DBatteryStatsImpl.java2186 public void init(long uptimeUs, long elapsedRealtimeUs) { in init() argument
2191 mUptimeStartUs = uptimeUs; in init()
2197 public void reset(long uptimeUs, long elapsedRealtimeUs) { in reset() argument
2202 mUptimeStartUs = uptimeUs; in reset()
2206 mUnpluggedUptimeUs = getUptime(uptimeUs); in reset()
2248 public boolean setRunning(boolean running, long uptimeUs, long elapsedRealtimeUs) { in setRunning() argument
2252 mUptimeStartUs = uptimeUs; in setRunning()
2254 long batteryUptimeUs = mUnpluggedUptimeUs = getUptime(uptimeUs); in setRunning()
2265 mPastUptimeUs += uptimeUs - mUptimeStartUs; in setRunning()
2267 long batteryUptimeUs = getUptime(uptimeUs); in setRunning()
[all …]
DBatteryExternalStatsWorker.java691 final long uptimeUs = uptime * 1000;