Home
last modified time | relevance | path

Searched refs:TimeUtils (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuTimeReader.java23 import android.util.TimeUtils;
103 TimeUtils.formatDuration(timeDiffUs / 1000, sb); in readDelta()
106 TimeUtils.formatDuration(mLastUserTimeUs.valueAt(index) / 1000, sb); in readDelta()
108 TimeUtils.formatDuration(mLastSystemTimeUs.valueAt(index) / 1000, sb); in readDelta()
113 TimeUtils.formatDuration(userTimeUs / 1000, sb); in readDelta()
115 TimeUtils.formatDuration(systemTimeUs / 1000, sb); in readDelta()
119 TimeUtils.formatDuration(userTimeDeltaUs / 1000, sb); in readDelta()
121 TimeUtils.formatDuration(systemTimeDeltaUs / 1000, sb); in readDelta()
/frameworks/base/core/java/android/os/storage/
DVolumeRecord.java22 import android.util.TimeUtils;
97 pw.printPair("createdMillis", TimeUtils.formatForLogging(createdMillis)); in dump()
98 pw.printPair("lastTrimMillis", TimeUtils.formatForLogging(lastTrimMillis)); in dump()
99 pw.printPair("lastBenchMillis", TimeUtils.formatForLogging(lastBenchMillis)); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java27 import android.util.TimeUtils;
107 TimeUtils.formatDuration(mTotalTime, pw); in dump()
112 TimeUtils.formatDuration(mPackageTimes.valueAt(i).value, pw); in dump()
117 TimeUtils.formatDuration(SystemClock.elapsedRealtime(), mStartedTime, pw); in dump()
DBroadcastRecord.java32 import android.util.TimeUtils;
130 TimeUtils.formatDuration(dispatchTime, now, pw); in dump()
132 TimeUtils.formatDuration(dispatchClockTime-enqueueClockTime, pw); in dump()
135 pw.print(" finishTime="); TimeUtils.formatDuration(finishTime, now, pw); in dump()
137 TimeUtils.formatDuration(finishTime-dispatchTime, pw); in dump()
140 pw.print(" receiverTime="); TimeUtils.formatDuration(receiverTime, now, pw); in dump()
DServiceRecord.java43 import android.util.TimeUtils;
185 TimeUtils.formatDuration(si.deliveredTime, now, pw); in dumpStartList()
241 TimeUtils.formatDuration(createTime, nowReal, pw); in dump()
243 TimeUtils.formatDuration(startingBgTimeout, now, pw); in dump()
246 TimeUtils.formatDuration(lastActivity, now, pw); in dump()
248 TimeUtils.formatDuration(restartTime, now, pw); in dump()
261 TimeUtils.formatDuration(executingStart, now, pw); in dump()
267 TimeUtils.formatDuration(destroyTime, now, pw); in dump()
274 TimeUtils.formatDuration(restartDelay, now, pw); in dump()
276 TimeUtils.formatDuration(nextRestartTime, now, pw); in dump()
DUidRecord.java22 import android.util.TimeUtils;
69 TimeUtils.formatDuration(SystemClock.elapsedRealtime()-lastBackgroundTime, sb); in toString()
DProcessRecord.java50 import android.util.TimeUtils;
264 TimeUtils.formatDuration(lastActivityTime, now, pw); in dump()
266 TimeUtils.formatDuration(lastPssTime, now, pw); in dump()
268 TimeUtils.formatDuration(nextPssTime, now, pw); in dump()
301 TimeUtils.formatDuration(lastStateTime, now, pw); in dump()
319 TimeUtils.formatDuration(interactionEventTime, SystemClock.elapsedRealtime(), pw); in dump()
323 TimeUtils.formatDuration(fgInteractionTime, SystemClock.elapsedRealtime(), pw); in dump()
338 TimeUtils.formatDuration(lastProviderTime, now, pw); in dump()
352 TimeUtils.formatDuration(wtime-lastWakeTime, pw); pw.println(""); in dump()
355 TimeUtils.formatDuration(curCpuTime-lastCpuTime, pw); pw.println(""); in dump()
[all …]
DContentProviderConnection.java21 import android.util.TimeUtils;
92 TimeUtils.formatDuration(nowReal-createTime, sb); in toClientString()
DBroadcastStats.java21 import android.util.TimeUtils;
113 TimeUtils.formatDuration(ae.mTotalDispatchTime, pw); in dumpStats()
115 TimeUtils.formatDuration(ae.mMaxDispatchTime, pw); in dumpStats()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java76 import android.util.TimeUtils;
863 TimeUtils.formatDuration(LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT, pw); in dump()
867 TimeUtils.formatDuration(LIGHT_PRE_IDLE_TIMEOUT, pw); in dump()
871 TimeUtils.formatDuration(LIGHT_IDLE_TIMEOUT, pw); in dump()
879 TimeUtils.formatDuration(LIGHT_MAX_IDLE_TIMEOUT, pw); in dump()
883 TimeUtils.formatDuration(LIGHT_IDLE_MAINTENANCE_MIN_BUDGET, pw); in dump()
887 TimeUtils.formatDuration(LIGHT_IDLE_MAINTENANCE_MAX_BUDGET, pw); in dump()
891 TimeUtils.formatDuration(MIN_LIGHT_MAINTENANCE_TIME, pw); in dump()
895 TimeUtils.formatDuration(MIN_DEEP_MAINTENANCE_TIME, pw); in dump()
899 TimeUtils.formatDuration(INACTIVE_TIMEOUT, pw); in dump()
[all …]
DNetworkTimeUpdateService.java39 import android.util.TimeUtils;
336 TimeUtils.formatDuration(mPollingIntervalMs, pw); in dump()
338 TimeUtils.formatDuration(mPollingIntervalShorterMs, pw); in dump()
341 TimeUtils.formatDuration(mTimeErrorThresholdMs, pw); in dump()
344 TimeUtils.formatDuration(mLastNtpFetchTime, pw); in dump()
DAlarmManagerService.java60 import android.util.TimeUtils;
303 TimeUtils.formatDuration(MIN_FUTURITY, pw); in dump()
307 TimeUtils.formatDuration(MIN_INTERVAL, pw); in dump()
311 TimeUtils.formatDuration(LISTENER_TIMEOUT, pw); in dump()
315 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_SHORT_TIME, pw); in dump()
319 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_LONG_TIME, pw); in dump()
323 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_WHITELIST_DURATION, pw); in dump()
1381 TimeUtils.formatDuration(mLastTimeChangeRealtime, pw); in dumpImpl()
1385 TimeUtils.formatDuration(nowELAPSED - mNonInteractiveStartTime, pw); in dumpImpl()
1388 TimeUtils.formatDuration(currentNonWakeupFuzzLocked(nowELAPSED), pw); in dumpImpl()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java26 import android.util.TimeUtils;
295 TimeUtils.formatDuration(mNextDelayExpiredElapsedMillis, nowElapsed, pw); in dumpControllerStateLocked()
298 TimeUtils.formatDuration(mNextJobExpiredElapsedMillis, nowElapsed, pw); in dumpControllerStateLocked()
313 TimeUtils.formatDuration(ts.getEarliestRunTime(), nowElapsed, pw); in dumpControllerStateLocked()
319 TimeUtils.formatDuration(ts.getLatestRunTimeElapsed(), nowElapsed, pw); in dumpControllerStateLocked()
DJobStatus.java29 import android.util.TimeUtils;
589 TimeUtils.formatDuration(job.getIntervalMillis(), pw); in dump()
590 pw.print(" flex="); TimeUtils.formatDuration(job.getFlexMillis(), pw); in dump()
616 TimeUtils.formatDuration(job.getTriggerContentUpdateDelay(), pw); in dump()
621 TimeUtils.formatDuration(job.getTriggerContentMaxDelay(), pw); in dump()
630 TimeUtils.formatDuration(job.getMinLatencyMillis(), pw); in dump()
635 TimeUtils.formatDuration(job.getMaxExecutionDelayMillis(), pw); in dump()
639 pw.print(" initial="); TimeUtils.formatDuration(job.getInitialBackoffMillis(), pw); in dump()
/frameworks/base/core/java/com/android/internal/view/animation/
DFallbackLUTInterpolator.java20 import android.util.TimeUtils;
47 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in createLUT()
/frameworks/base/services/core/java/com/android/server/notification/
DSystemConditionProviderService.java24 import android.util.TimeUtils;
46 TimeUtils.formatDuration(millis, sb); in formatDuration()
/frameworks/base/location/java/com/android/internal/location/
DProviderRequest.java25 import android.util.TimeUtils;
87 TimeUtils.formatDuration(interval, s); in toString()
/frameworks/base/location/java/android/location/
DLocationRequest.java24 import android.util.TimeUtils;
657 TimeUtils.formatDuration(mInterval, s); in toString()
660 TimeUtils.formatDuration(mFastestInterval, s); in toString()
664 TimeUtils.formatDuration(expireIn, s); in toString()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustArchive.java23 import android.util.TimeUtils;
148 TimeUtils.formatDuration(duration, sb); in formatDuration()
155 return TimeUtils.logTimeOfDay(wallTime); in formatElapsed()
/frameworks/base/core/java/android/view/
DChoreographer.java27 import android.util.TimeUtils;
327 writer.println(TimeUtils.formatUptime(mLastFrameTimeNanos / 1000000)); in dump()
510 return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in getFrameTime()
551 mLastFrameTimeNanos / TimeUtils.NANOS_PER_MS + sFrameDelay, now); in scheduleFrameLocked()
642 now / TimeUtils.NANOS_PER_MS); in doCallbacks()
851 mHandler.sendMessageAtTime(msg, timestampNanos / TimeUtils.NANOS_PER_MS); in onVsync()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaSessionStatus.java22 import android.support.v4.util.TimeUtils;
132 TimeUtils.formatDuration(SystemClock.elapsedRealtime() - getTimestamp(), result); in toString()
DMediaItemStatus.java22 import android.support.v4.util.TimeUtils;
259 TimeUtils.formatDuration(SystemClock.elapsedRealtime() - getTimestamp(), result); in toString()
/frameworks/base/core/java/android/content/
DAsyncTaskLoader.java24 import android.util.TimeUtils;
370 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
372 TimeUtils.formatDuration(mLastLoadCompleteTime, in dump()
/frameworks/support/v4/java/android/support/v4/content/
DAsyncTaskLoader.java23 import android.support.v4.util.TimeUtils;
354 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
356 TimeUtils.formatDuration(mLastLoadCompleteTime, in dump()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java26 import android.util.TimeUtils;
387 TimeUtils.formatDuration(totalElapsedTime - packageHistory.lastUsedElapsedTime, idpw); in dump()
389 TimeUtils.formatDuration(screenOnTime - packageHistory.lastUsedScreenTime, idpw); in dump()
395 TimeUtils.formatDuration(getElapsedTimeLocked(elapsedRealtime), idpw); in dump()
398 TimeUtils.formatDuration(getScreenOnTimeLocked(elapsedRealtime), idpw); in dump()

123