Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java630 long realtimeMs = SystemClock.elapsedRealtime(); in updateTotals() local
631 mAddedTimeTotalMs += realtimeMs - mAddedTimeLastUpdateRealtimeMs; in updateTotals()
632 mAddedTimeLastUpdateRealtimeMs = realtimeMs; in updateTotals()
635 long realtimeMs = SystemClock.elapsedRealtime(); in updateTotals() local
636 mActiveTimeTotalMs += realtimeMs - mActiveTimeLastUpdateRealtimeMs; in updateTotals()
637 mActiveTimeLastUpdateRealtimeMs = realtimeMs; in updateTotals()
640 long realtimeMs = SystemClock.elapsedRealtime(); in updateTotals() local
641 mForegroundTimeTotalMs += realtimeMs - mForegroundTimeLastUpdateRealtimeMs; in updateTotals()
642 mForegroundTimeLastUpdateRealtimeMs = realtimeMs; in updateTotals()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DScreenPowerCalculatorTest.java197 private void setProcState(int uid, int procState, boolean resumed, long realtimeMs, in setProcState() argument
200 batteryStats.noteUidProcessStateLocked(uid, procState, realtimeMs, uptimeMs); in setProcState()
202 batteryStats.noteActivityResumedLocked(uid, realtimeMs, uptimeMs); in setProcState()
204 batteryStats.noteActivityPausedLocked(uid, realtimeMs, uptimeMs); in setProcState()
DBatteryUsageStatsRule.java168 public void setTime(long realtimeMs, long uptimeMs) {
169 mMockClocks.realtime = realtimeMs;
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java415 long realtimeMs = SystemClock.elapsedRealtime(); in mergeRegistrations() local
420 if (registration.getRequest().isExpired(realtimeMs)) { in mergeRegistrations()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4698 public long getProcessWakeTime(int uid, int pid, long realtimeMs) { in getProcessWakeTime() argument
4704 return p.mWakeSumMs + (p.mWakeNesting > 0 ? (realtimeMs - p.mWakeStartMs) : 0); in getProcessWakeTime()
8676 final long realtimeMs = realtimeUs / 1000; in reset() local
8677 mWakelockStats.cleanup(realtimeMs); in reset()
8688 mSyncStats.cleanup(realtimeMs); in reset()
8699 mJobStats.cleanup(realtimeMs); in reset()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java11157 final long realtimeMs = SystemClock.elapsedRealtime(); in dumpApplicationMemoryUsage() local
11185 proto.write(MemInfoDumpProto.ELAPSED_REALTIME_MS, realtimeMs); in dumpApplicationMemoryUsage()
11242 proto.write(MemInfoDumpProto.ELAPSED_REALTIME_MS, realtimeMs); in dumpApplicationMemoryUsage()