Home
last modified time | relevance | path

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

1234

/frameworks/base/services/core/java/com/android/server/am/
DBroadcastConstants.java25 import android.util.TimeUtils;
139 TimeUtils.formatDuration(TIMEOUT, pw); in dump()
143 TimeUtils.formatDuration(SLOW_TIME, pw); in dump()
147 TimeUtils.formatDuration(DEFERRAL, pw); in dump()
154 TimeUtils.formatDuration(DEFERRAL_FLOOR, pw); in dump()
157 TimeUtils.formatDuration(ALLOW_BG_ACTIVITY_START_TIMEOUT, pw); in dump()
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()
DBatteryExternalStatsWorker.java39 import android.util.TimeUtils;
598 TimeUtils.formatDuration(totalActiveTimeMs, sb); in extractDeltaLocked()
600 TimeUtils.formatDuration(timePeriodMs, sb); in extractDeltaLocked()
603 TimeUtils.formatDuration(lastIdleMs, sb); in extractDeltaLocked()
605 TimeUtils.formatDuration(lastRxMs, sb); in extractDeltaLocked()
607 TimeUtils.formatDuration(lastTxMs, sb); in extractDeltaLocked()
611 TimeUtils.formatDuration(latest.mControllerIdleTimeMs, sb); in extractDeltaLocked()
613 TimeUtils.formatDuration(latest.mControllerRxTimeMs, sb); in extractDeltaLocked()
615 TimeUtils.formatDuration(latest.mControllerTxTimeMs, sb); in extractDeltaLocked()
DBroadcastRecord.java32 import android.util.TimeUtils;
148 TimeUtils.formatDuration(dispatchTime, now, pw); in dump()
150 TimeUtils.formatDuration(dispatchClockTime-enqueueClockTime, pw); in dump()
153 pw.print(" finishTime="); TimeUtils.formatDuration(finishTime, now, pw); in dump()
155 TimeUtils.formatDuration(finishTime-dispatchTime, pw); in dump()
158 pw.print(" receiverTime="); TimeUtils.formatDuration(receiverTime, now, pw); in dump()
220 pw.print(" "); TimeUtils.formatDuration(duration[i], pw); in dump()
DContentProviderConnection.java22 import android.util.TimeUtils;
139 TimeUtils.formatDuration(nowReal-createTime, sb); in toClientString()
DBroadcastStats.java21 import android.util.TimeUtils;
132 TimeUtils.formatDuration(ae.mTotalDispatchTime, pw); in dumpStats()
134 TimeUtils.formatDuration(ae.mMaxDispatchTime, pw); in dumpStats()
DPersistentConnection.java28 import android.util.TimeUtils;
435 TimeUtils.formatDuration((mReconnectTime - injectUptimeMillis()), pw); in dump()
453 TimeUtils.formatDuration((injectUptimeMillis() - mLastConnectedTime), pw); in dump()
/frameworks/base/core/java/android/os/storage/
DVolumeRecord.java23 import android.util.TimeUtils;
106 pw.printPair("createdMillis", TimeUtils.formatForLogging(createdMillis)); in dump()
107 pw.printPair("lastSeenMillis", TimeUtils.formatForLogging(lastSeenMillis)); in dump()
108 pw.printPair("lastTrimMillis", TimeUtils.formatForLogging(lastTrimMillis)); in dump()
109 pw.printPair("lastBenchMillis", TimeUtils.formatForLogging(lastBenchMillis)); in dump()
/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/
DPreloadsFileCacheExpirationJobService.java29 import android.util.TimeUtils;
60 TimeUtils.formatDuration(keepPreloadsMinTimeoutMs, sb); in schedule()
DNewNetworkTimeUpdateService.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()
DOldNetworkTimeUpdateService.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()
DDeviceIdleController.java78 import android.util.TimeUtils;
1147 TimeUtils.formatDuration(LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT, pw); in dump()
1151 TimeUtils.formatDuration(LIGHT_PRE_IDLE_TIMEOUT, pw); in dump()
1155 TimeUtils.formatDuration(LIGHT_IDLE_TIMEOUT, pw); in dump()
1163 TimeUtils.formatDuration(LIGHT_MAX_IDLE_TIMEOUT, pw); in dump()
1167 TimeUtils.formatDuration(LIGHT_IDLE_MAINTENANCE_MIN_BUDGET, pw); in dump()
1171 TimeUtils.formatDuration(LIGHT_IDLE_MAINTENANCE_MAX_BUDGET, pw); in dump()
1175 TimeUtils.formatDuration(MIN_LIGHT_MAINTENANCE_TIME, pw); in dump()
1179 TimeUtils.formatDuration(MIN_DEEP_MAINTENANCE_TIME, pw); in dump()
1183 TimeUtils.formatDuration(INACTIVE_TIMEOUT, pw); in dump()
[all …]
DAlarmManagerService.java90 import android.util.TimeUtils;
367 TimeUtils.formatDuration(timestamps.get(j), nowElapsed, pw); in dump()
584 TimeUtils.formatDuration(MIN_FUTURITY, pw); in dump()
588 TimeUtils.formatDuration(MIN_INTERVAL, pw); in dump()
592 TimeUtils.formatDuration(MAX_INTERVAL, pw); in dump()
596 TimeUtils.formatDuration(LISTENER_TIMEOUT, pw); in dump()
600 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_SHORT_TIME, pw); in dump()
604 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_LONG_TIME, pw); in dump()
608 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_WHITELIST_DURATION, pw); in dump()
616 TimeUtils.formatDuration(APP_STANDBY_MIN_DELAYS[i], pw); in dump()
[all …]
/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.java23 import android.util.TimeUtils;
111 TimeUtils.formatDuration(interval, s); in toString()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java37 import android.util.TimeUtils;
669 TimeUtils.formatDuration(totalElapsedTime - appUsageHistory.lastUsedElapsedTime, idpw); in dump()
671 TimeUtils.formatDuration(screenOnTime - appUsageHistory.lastUsedScreenTime, idpw); in dump()
673 TimeUtils.formatDuration(totalElapsedTime - appUsageHistory.lastPredictedTime, idpw); in dump()
675 TimeUtils.formatDuration(appUsageHistory.bucketActiveTimeoutTime - totalElapsedTime, in dump()
678 TimeUtils.formatDuration(appUsageHistory.bucketWorkingSetTimeoutTime - totalElapsedTime, in dump()
681 TimeUtils.formatDuration(totalElapsedTime - appUsageHistory.lastJobRunTime, idpw); in dump()
687 TimeUtils.formatDuration(getElapsedTime(elapsedRealtime), idpw); in dump()
690 TimeUtils.formatDuration(getScreenOnTime(elapsedRealtime), idpw); in dump()
DAppStandbyController.java96 import android.util.TimeUtils;
1501 TimeUtils.formatDuration(mCheckIdleIntervalMillis, pw); in dumpState()
1505 TimeUtils.formatDuration(mAppIdleParoleIntervalMillis, pw); in dumpState()
1509 TimeUtils.formatDuration(mAppIdleParoleWindowMillis, pw); in dumpState()
1513 TimeUtils.formatDuration(mAppIdleParoleDurationMillis, pw); in dumpState()
1517 TimeUtils.formatDuration(mStrongUsageTimeoutMillis, pw); in dumpState()
1520 TimeUtils.formatDuration(mNotificationSeenTimeoutMillis, pw); in dumpState()
1523 TimeUtils.formatDuration(mSyncAdapterTimeoutMillis, pw); in dumpState()
1526 TimeUtils.formatDuration(mSystemInteractionTimeoutMillis, pw); in dumpState()
1529 TimeUtils.formatDuration(mInitialForegroundServiceStartTimeoutMillis, pw); in dumpState()
[all …]
/frameworks/base/core/java/android/view/
DChoreographer.java34 import android.util.TimeUtils;
399 writer.println(TimeUtils.formatUptime(mLastFrameTimeNanos / 1000000)); in dump()
586 return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in getFrameTime()
640 mLastFrameTimeNanos / TimeUtils.NANOS_PER_MS + sFrameDelay, now); in scheduleFrameLocked()
715 AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS); in doFrame()
749 now / TimeUtils.NANOS_PER_MS); in doCallbacks()
945 mHandler.sendMessageAtTime(msg, timestampNanos / TimeUtils.NANOS_PER_MS); in onVsync()
/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/base/core/java/android/content/
DAsyncTaskLoader.java25 import android.util.TimeUtils;
380 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
382 TimeUtils.formatDuration(mLastLoadCompleteTime, in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarTransitionsController.java25 import android.util.TimeUtils;
208 pw.println(TimeUtils.formatUptime(mTransitionDeferringStartTime)); in dump()
211 TimeUtils.formatDuration(mTransitionDeferringDuration, pw); in dump()
/frameworks/base/location/java/android/location/
DLocationRequest.java31 import android.util.TimeUtils;
744 TimeUtils.formatDuration(mInterval, s); in toString()
747 TimeUtils.formatDuration(mFastestInterval, s); in toString()
751 TimeUtils.formatDuration(expireIn, s); in toString()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java37 import android.util.TimeUtils;
543 TimeUtils.formatDuration(mNextDelayExpiredElapsedMillis, nowElapsed, pw); in dumpControllerStateLocked()
546 TimeUtils.formatDuration(mNextJobExpiredElapsedMillis, nowElapsed, pw); in dumpControllerStateLocked()
560 TimeUtils.formatDuration(ts.getEarliestRunTime(), nowElapsed, pw); in dumpControllerStateLocked()
566 TimeUtils.formatDuration(ts.getLatestRunTimeElapsed(), nowElapsed, pw); in dumpControllerStateLocked()

1234