Home
last modified time | relevance | path

Searched refs:nowUptime (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/os/
DServiceManager.java321 final long nowUptime = SystemClock.uptimeMillis(); in rawGetService() local
328 if ((nowUptime > (sLastSlowLogUptime + SLOW_LOG_INTERVAL_MS)) in rawGetService()
332 sLastSlowLogUptime = nowUptime; in rawGetService()
344 && (nowUptime >= (sLastStatsLogUptime + STATS_LOG_INTERVAL_MS))) { in rawGetService()
349 (int) (nowUptime - sLastStatsLogUptime)); // Uptime duration since last log. in rawGetService()
352 sLastStatsLogUptime = nowUptime; in rawGetService()
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java140 final long nowUptime = SystemClock.uptimeMillis(); in onStopJob() local
141 final long runtime = nowUptime - startUptime; in onStopJob()
151 + " nowUptime=" + nowUptime in onStopJob()
/frameworks/base/core/java/com/android/internal/app/procstats/
DAssociationState.java505 public void writeToParcel(ProcessStats stats, Parcel out, long nowUptime) { in writeToParcel() argument
584 public void commitStateTime(long nowUptime) { in commitStateTime() argument
589 src.mDuration += nowUptime - src.mStartUptime; in commitStateTime()
590 src.mStartUptime = nowUptime; in commitStateTime()
593 final long addedDuration = nowUptime - src.mActiveStartUptime; in commitStateTime()
594 src.mActiveStartUptime = nowUptime; in commitStateTime()
603 mTotalDuration += nowUptime - mTotalStartUptime; in commitStateTime()
604 mTotalStartUptime = nowUptime; in commitStateTime()
607 mTotalActiveDuration += nowUptime - mTotalActiveStartUptime; in commitStateTime()
608 mTotalActiveStartUptime = nowUptime; in commitStateTime()
DProcessStats.java1459 final long nowUptime = SystemClock.uptimeMillis(); in updateTrackingAssociationsLocked() local
1460 if (mNextInverseProcStateWarningUptime > nowUptime) { in updateTrackingAssociationsLocked()
1472 nowUptime + INVERSE_PROC_STATE_WARNING_MIN_INTERVAL_MS; in updateTrackingAssociationsLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java213 final long nowUptime = JobSchedulerService.sUptimeMillisClock.millis(); in refreshSystemStateLocked() local
216 if (nowUptime < mNextSystemStateRefreshTime) { in refreshSystemStateLocked()
221 mNextSystemStateRefreshTime = nowUptime + SYSTEM_STATE_REFRESH_MIN_INTERVAL; in refreshSystemStateLocked()
DJobSchedulerService.java3144 final long nowUptime = sUptimeMillisClock.millis();
3276 TimeUtils.formatDuration(job.madePending - nowUptime, pw);
3308 TimeUtils.formatDuration(job.madeActive - nowUptime, pw);
3335 final long nowUptime = sUptimeMillisClock.millis();
3437 proto.write(PendingJob.PENDING_DURATION_MS, nowUptime - job.madePending);
3472 nowUptime - job.madeActive);
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java364 final long nowUptime = SystemClock.uptimeMillis(); in dump() local
427 TimeUtils.formatDuration(lastActivityTime, nowUptime, pw); in dump()
429 TimeUtils.formatDuration(lastPssTime, nowUptime, pw); in dump()
432 TimeUtils.formatDuration(nextPssTime, nowUptime, pw); in dump()
461 TimeUtils.formatDuration(lastStateTime, nowUptime, pw); in dump()
522 TimeUtils.formatDuration(lastProviderTime, nowUptime, pw); in dump()
527 TimeUtils.formatDuration(lastTopTime, nowUptime, pw); in dump()
546 TimeUtils.formatDuration(mWhenUnimportant - nowUptime, pw); in dump()
550 TimeUtils.formatDuration(lastRequestedGc, nowUptime, pw); in dump()
552 TimeUtils.formatDuration(lastLowMemory, nowUptime, pw); in dump()
DOomAdjuster.java2482 private void maybeUpdateLastTopTime(ProcessRecord app, long nowUptime) { in maybeUpdateLastTopTime() argument
2485 app.lastTopTime = nowUptime; in maybeUpdateLastTopTime()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java336 final long nowUptime = SystemClock.uptimeMillis(); in update() local
398 mCurrentSampleTime = nowUptime; in update()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java1008 final long nowUptime = SystemClock.uptimeMillis(); in logAbortedBgActivityStart() local
1056 (nowUptime - callerApp.getWhenUnimportant())); in logAbortedBgActivityStart()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java5179 final long nowUptime = SystemClock.uptimeMillis(); in dump() local