Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuTimeReader.java24 import android.util.TimeUtils;
99 TimeUtils.formatDuration(timeDiffUs / 1000, sb); in readDeltaImpl()
102 TimeUtils.formatDuration(mLastUserTimeUs.valueAt(index) / 1000, sb); in readDeltaImpl()
104 TimeUtils.formatDuration(mLastSystemTimeUs.valueAt(index) / 1000, sb); in readDeltaImpl()
107 TimeUtils.formatDuration(userTimeUs / 1000, sb); in readDeltaImpl()
109 TimeUtils.formatDuration(systemTimeUs / 1000, sb); in readDeltaImpl()
111 TimeUtils.formatDuration(userTimeDeltaUs / 1000, sb); in readDeltaImpl()
113 TimeUtils.formatDuration(systemTimeDeltaUs / 1000, sb); in readDeltaImpl()
/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/
DBatteryExternalStatsWorker.java34 import android.util.TimeUtils;
564 TimeUtils.formatDuration(totalActiveTimeMs, sb); in extractDeltaLocked()
566 TimeUtils.formatDuration(timePeriodMs, sb); in extractDeltaLocked()
569 TimeUtils.formatDuration(lastIdleMs, sb); in extractDeltaLocked()
571 TimeUtils.formatDuration(lastRxMs, sb); in extractDeltaLocked()
573 TimeUtils.formatDuration(lastTxMs, sb); in extractDeltaLocked()
577 TimeUtils.formatDuration(latest.mControllerIdleTimeMs, sb); in extractDeltaLocked()
579 TimeUtils.formatDuration(latest.mControllerRxTimeMs, sb); in extractDeltaLocked()
581 TimeUtils.formatDuration(latest.mControllerTxTimeMs, sb); in extractDeltaLocked()
DAppTimeTracker.java27 import android.util.TimeUtils;
109 TimeUtils.formatDuration(mTotalTime, pw); in dump()
114 TimeUtils.formatDuration(mPackageTimes.valueAt(i).value, pw); in dump()
119 TimeUtils.formatDuration(SystemClock.elapsedRealtime(), mStartedTime, pw); in dump()
DContentProviderConnection.java21 import android.util.TimeUtils;
92 TimeUtils.formatDuration(nowReal-createTime, sb); in toClientString()
DBroadcastRecord.java32 import android.util.TimeUtils;
132 TimeUtils.formatDuration(dispatchTime, now, pw); in dump()
134 TimeUtils.formatDuration(dispatchClockTime-enqueueClockTime, pw); in dump()
137 pw.print(" finishTime="); TimeUtils.formatDuration(finishTime, now, pw); in dump()
139 TimeUtils.formatDuration(finishTime-dispatchTime, pw); in dump()
142 pw.print(" receiverTime="); TimeUtils.formatDuration(receiverTime, now, pw); in dump()
DProcessRecord.java46 import android.util.TimeUtils;
296 TimeUtils.formatDuration(lastActivityTime, nowUptime, pw); in dump()
298 TimeUtils.formatDuration(lastPssTime, nowUptime, pw); in dump()
301 TimeUtils.formatDuration(nextPssTime, nowUptime, pw); in dump()
339 TimeUtils.formatDuration(lastStateTime, nowUptime, pw); in dump()
361 TimeUtils.formatDuration(interactionEventTime, SystemClock.elapsedRealtime(), pw); in dump()
365 TimeUtils.formatDuration(fgInteractionTime, SystemClock.elapsedRealtime(), pw); in dump()
380 TimeUtils.formatDuration(lastProviderTime, nowUptime, pw); in dump()
394 TimeUtils.formatDuration(curCpuTime - lastCpuTime, pw); in dump()
397 TimeUtils.formatDuration(whenUnimportant - nowUptime, pw); in dump()
[all …]
/frameworks/base/core/java/com/android/internal/view/animation/
DFallbackLUTInterpolator.java20 import android.util.TimeUtils;
49 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/services/core/java/com/android/server/
DDeviceIdleController.java76 import android.util.TimeUtils;
881 TimeUtils.formatDuration(LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT, pw); in dump()
885 TimeUtils.formatDuration(LIGHT_PRE_IDLE_TIMEOUT, pw); in dump()
889 TimeUtils.formatDuration(LIGHT_IDLE_TIMEOUT, pw); in dump()
897 TimeUtils.formatDuration(LIGHT_MAX_IDLE_TIMEOUT, pw); in dump()
901 TimeUtils.formatDuration(LIGHT_IDLE_MAINTENANCE_MIN_BUDGET, pw); in dump()
905 TimeUtils.formatDuration(LIGHT_IDLE_MAINTENANCE_MAX_BUDGET, pw); in dump()
909 TimeUtils.formatDuration(MIN_LIGHT_MAINTENANCE_TIME, pw); in dump()
913 TimeUtils.formatDuration(MIN_DEEP_MAINTENANCE_TIME, pw); in dump()
917 TimeUtils.formatDuration(INACTIVE_TIMEOUT, pw); in dump()
[all …]
DPreloadsFileCacheExpirationJobService.java29 import android.util.TimeUtils;
60 TimeUtils.formatDuration(keepPreloadsMinTimeoutMs, sb); in schedule()
DNetworkTimeUpdateService.java40 import android.util.TimeUtils;
318 TimeUtils.formatDuration(mPollingIntervalMs, pw); in dump()
320 TimeUtils.formatDuration(mPollingIntervalShorterMs, pw); in dump()
323 TimeUtils.formatDuration(mTimeErrorThresholdMs, pw); in dump()
/frameworks/layoutlib/bridge/src/android/view/
DChoreographer_Delegate.java21 import android.util.TimeUtils;
58 AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS); in doFrame()
/frameworks/base/location/java/com/android/internal/location/
DProviderRequest.java25 import android.util.TimeUtils;
97 TimeUtils.formatDuration(interval, s); in toString()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java37 import android.util.TimeUtils;
664 TimeUtils.formatDuration(totalElapsedTime - appUsageHistory.lastUsedElapsedTime, idpw); in dump()
666 TimeUtils.formatDuration(screenOnTime - appUsageHistory.lastUsedScreenTime, idpw); in dump()
668 TimeUtils.formatDuration(totalElapsedTime - appUsageHistory.lastPredictedTime, idpw); in dump()
670 TimeUtils.formatDuration(appUsageHistory.bucketActiveTimeoutTime - totalElapsedTime, in dump()
673 TimeUtils.formatDuration(appUsageHistory.bucketWorkingSetTimeoutTime - totalElapsedTime, in dump()
676 TimeUtils.formatDuration(totalElapsedTime - appUsageHistory.lastJobRunTime, idpw); in dump()
682 TimeUtils.formatDuration(getElapsedTime(elapsedRealtime), idpw); in dump()
685 TimeUtils.formatDuration(getScreenOnTime(elapsedRealtime), idpw); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarTransitionsController.java24 import android.util.TimeUtils;
185 pw.println(TimeUtils.formatUptime(mTransitionDeferringStartTime)); in dump()
188 TimeUtils.formatDuration(mTransitionDeferringDuration, pw); in dump()
/frameworks/base/core/java/android/view/
DChoreographer.java31 import android.util.TimeUtils;
374 writer.println(TimeUtils.formatUptime(mLastFrameTimeNanos / 1000000)); in dump()
560 return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in getFrameTime()
613 mLastFrameTimeNanos / TimeUtils.NANOS_PER_MS + sFrameDelay, now); in scheduleFrameLocked()
687 AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS); in doFrame()
720 now / TimeUtils.NANOS_PER_MS); in doCallbacks()
929 mHandler.sendMessageAtTime(msg, timestampNanos / TimeUtils.NANOS_PER_MS); in onVsync()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
DMediaSessionStatus.java23 import androidx.core.util.TimeUtils;
133 TimeUtils.formatDuration(SystemClock.elapsedRealtime() - getTimestamp(), result); in toString()
DMediaItemStatus.java23 import androidx.core.util.TimeUtils;
260 TimeUtils.formatDuration(SystemClock.elapsedRealtime() - getTimestamp(), result); in toString()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java30 import android.util.TimeUtils;
350 TimeUtils.formatDuration(mNextDelayExpiredElapsedMillis, nowElapsed, pw); in dumpControllerStateLocked()
353 TimeUtils.formatDuration(mNextJobExpiredElapsedMillis, nowElapsed, pw); in dumpControllerStateLocked()
367 TimeUtils.formatDuration(ts.getEarliestRunTime(), nowElapsed, pw); in dumpControllerStateLocked()
373 TimeUtils.formatDuration(ts.getLatestRunTimeElapsed(), nowElapsed, pw); in dumpControllerStateLocked()
/frameworks/base/location/java/android/location/
DLocationRequest.java24 import android.util.TimeUtils;
699 TimeUtils.formatDuration(mInterval, s); in toString()
702 TimeUtils.formatDuration(mFastestInterval, s); in toString()
706 TimeUtils.formatDuration(expireIn, s); in toString()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustArchive.java23 import android.util.TimeUtils;
156 TimeUtils.formatDuration(duration, sb); in formatDuration()
163 return TimeUtils.logTimeOfDay(wallTime); in formatElapsed()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/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;
377 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
379 TimeUtils.formatDuration(mLastLoadCompleteTime, in dump()

1234