Home
last modified time | relevance | path

Searched refs:realtimeMs (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java737 long realtimeMs = SystemClock.elapsedRealtime(); in updateTotals() local
738 mAddedTimeTotalMs += realtimeMs - mAddedTimeLastUpdateRealtimeMs; in updateTotals()
739 mAddedTimeLastUpdateRealtimeMs = realtimeMs; in updateTotals()
742 long realtimeMs = SystemClock.elapsedRealtime(); in updateTotals() local
743 mActiveTimeTotalMs += realtimeMs - mActiveTimeLastUpdateRealtimeMs; in updateTotals()
744 mActiveTimeLastUpdateRealtimeMs = realtimeMs; in updateTotals()
747 long realtimeMs = SystemClock.elapsedRealtime(); in updateTotals() local
748 mForegroundTimeTotalMs += realtimeMs - mForegroundTimeLastUpdateRealtimeMs; in updateTotals()
749 mForegroundTimeLastUpdateRealtimeMs = realtimeMs; in updateTotals()
821 long realtimeMs = SystemClock.elapsedRealtime(); in updateTotals() local
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DScreenPowerCalculatorTest.java396 private void setProcState(int uid, int procState, boolean resumed, long realtimeMs, in setProcState() argument
399 batteryStats.noteUidProcessStateLocked(uid, procState, realtimeMs, uptimeMs); in setProcState()
401 batteryStats.noteActivityResumedLocked(uid, realtimeMs, uptimeMs); in setProcState()
403 batteryStats.noteActivityPausedLocked(uid, realtimeMs, uptimeMs); in setProcState()
DBatteryUsageStatsRule.java379 public void setTime(long realtimeMs, long uptimeMs) {
380 mMockClock.currentTime = realtimeMs;
381 mMockClock.realtime = realtimeMs;
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java468 long realtimeMs = SystemClock.elapsedRealtime(); in mergeRegistrations() local
473 if (registration.getGeofence().isExpired(realtimeMs)) { in mergeRegistrations()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java1688 final long realtimeMs = mClock.elapsedRealtime(); in getWakeLockStats() local
1702 realtimeMs); in getWakeLockStats()
1715 realtimeMs); in getWakeLockStats()
1725 Uid uid, String name, boolean isAggregated, DualTimer timer, final long realtimeMs) { in createWakeLock() argument
1731 final WakeLockStats.WakeLockData totalWakeLockData = createWakeLockData(timer, realtimeMs); in createWakeLock()
1733 createWakeLockData(timer.getSubTimer(), realtimeMs); in createWakeLock()
1746 DurationTimer timer, final long realtimeMs) { in createWakeLockData() argument
1751 timer.getTotalTimeLocked(realtimeMs * 1000, STATS_SINCE_CHARGED) / 1000; in createWakeLockData()
1758 timer.isRunningLocked() ? timer.getCurrentDurationMsLocked(realtimeMs) : 0); in createWakeLockData()
9782 final long realtimeMs = realtimeUs / 1000; in reset() local
[all …]