Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuTimeReader.java23 import android.util.TimeUtils;
102 TimeUtils.formatDuration(timeDiffUs / 1000, sb); in readDelta()
105 TimeUtils.formatDuration(mLastUserTimeUs.valueAt(index) / 1000, sb); in readDelta()
107 TimeUtils.formatDuration(mLastSystemTimeUs.valueAt(index) / 1000, sb); in readDelta()
112 TimeUtils.formatDuration(userTimeUs / 1000, sb); in readDelta()
114 TimeUtils.formatDuration(systemTimeUs / 1000, sb); in readDelta()
118 TimeUtils.formatDuration(userTimeDeltaUs / 1000, sb); in readDelta()
120 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()
DServiceRecord.java43 import android.util.TimeUtils;
184 TimeUtils.formatDuration(si.deliveredTime, now, pw); in dumpStartList()
237 TimeUtils.formatDuration(createTime, nowReal, pw); in dump()
239 TimeUtils.formatDuration(startingBgTimeout, now, pw); in dump()
242 TimeUtils.formatDuration(lastActivity, now, pw); in dump()
244 TimeUtils.formatDuration(restartTime, now, pw); in dump()
257 TimeUtils.formatDuration(executingStart, now, pw); in dump()
263 TimeUtils.formatDuration(destroyTime, now, pw); in dump()
270 TimeUtils.formatDuration(restartDelay, now, pw); in dump()
272 TimeUtils.formatDuration(nextRestartTime, now, pw); in dump()
DContentProviderConnection.java21 import android.util.TimeUtils;
92 TimeUtils.formatDuration(nowReal-createTime, sb); in toClientString()
DProcessRecord.java47 import android.util.TimeUtils;
249 TimeUtils.formatDuration(lastActivityTime, now, pw); in dump()
251 TimeUtils.formatDuration(lastPssTime, now, pw); in dump()
253 TimeUtils.formatDuration(nextPssTime, now, pw); in dump()
284 TimeUtils.formatDuration(lastStateTime, now, pw); in dump()
302 TimeUtils.formatDuration(fgInteractionTime, SystemClock.elapsedRealtime(), pw); in dump()
326 TimeUtils.formatDuration(wtime-lastWakeTime, pw); pw.println(""); in dump()
329 TimeUtils.formatDuration(curCpuTime-lastCpuTime, pw); pw.println(""); in dump()
332 TimeUtils.formatDuration(lastRequestedGc, now, pw); in dump()
334 TimeUtils.formatDuration(lastLowMemory, now, pw); in dump()
DBroadcastRecord.java32 import android.util.TimeUtils;
121 TimeUtils.formatDuration(dispatchTime, now, pw); in dump()
123 pw.print(" finishTime="); TimeUtils.formatDuration(finishTime, now, pw); in dump()
125 pw.print(" receiverTime="); TimeUtils.formatDuration(receiverTime, now, pw); in dump()
DBatteryStatsService.java48 import android.util.TimeUtils;
1273 TimeUtils.formatDuration(totalTimeMs, sb); in pullWifiEnergyInfoLocked()
1275 TimeUtils.formatDuration(timePeriodMs, sb); in pullWifiEnergyInfoLocked()
1278 TimeUtils.formatDuration(lastIdleMs, sb); in pullWifiEnergyInfoLocked()
1280 TimeUtils.formatDuration(lastRxMs, sb); in pullWifiEnergyInfoLocked()
1282 TimeUtils.formatDuration(lastTxMs, sb); in pullWifiEnergyInfoLocked()
1286 TimeUtils.formatDuration(info.mControllerIdleTimeMs, sb); in pullWifiEnergyInfoLocked()
1288 TimeUtils.formatDuration(info.mControllerRxTimeMs, sb); in pullWifiEnergyInfoLocked()
1290 TimeUtils.formatDuration(info.mControllerTxTimeMs, sb); in pullWifiEnergyInfoLocked()
/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/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/services/core/java/com/android/server/
DDeviceIdleController.java68 import android.util.TimeUtils;
540 TimeUtils.formatDuration(INACTIVE_TIMEOUT, pw); in dump()
544 TimeUtils.formatDuration(SENSING_TIMEOUT, pw); in dump()
548 TimeUtils.formatDuration(LOCATING_TIMEOUT, pw); in dump()
556 TimeUtils.formatDuration(MOTION_INACTIVE_TIMEOUT, pw); in dump()
560 TimeUtils.formatDuration(IDLE_AFTER_INACTIVE_TIMEOUT, pw); in dump()
564 TimeUtils.formatDuration(IDLE_PENDING_TIMEOUT, pw); in dump()
568 TimeUtils.formatDuration(MAX_IDLE_PENDING_TIMEOUT, pw); in dump()
575 TimeUtils.formatDuration(IDLE_TIMEOUT, pw); in dump()
579 TimeUtils.formatDuration(MAX_IDLE_TIMEOUT, pw); in dump()
[all …]
DAlarmManagerService.java55 import android.util.TimeUtils;
266 TimeUtils.formatDuration(MIN_FUTURITY, pw); in dump()
270 TimeUtils.formatDuration(MIN_INTERVAL, pw); in dump()
274 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_SHORT_TIME, pw); in dump()
278 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_LONG_TIME, pw); in dump()
282 TimeUtils.formatDuration(ALLOW_WHILE_IDLE_WHITELIST_DURATION, pw); in dump()
1191 pw.print(" nowELAPSED="); TimeUtils.formatDuration(nowELAPSED, pw); in dumpImpl()
1196 TimeUtils.formatDuration(mLastTimeChangeRealtime, pw); in dumpImpl()
1200 TimeUtils.formatDuration(nowELAPSED - mNonInteractiveStartTime, pw); in dumpImpl()
1203 TimeUtils.formatDuration(currentNonWakeupFuzzLocked(nowELAPSED), pw); in dumpImpl()
[all …]
/frameworks/base/core/java/android/view/
DChoreographer.java27 import android.util.TimeUtils;
314 writer.println(TimeUtils.formatUptime(mLastFrameTimeNanos / 1000000)); in dump()
497 return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in getFrameTime()
538 mLastFrameTimeNanos / TimeUtils.NANOS_PER_MS + sFrameDelay, now); in scheduleFrameLocked()
629 now / TimeUtils.NANOS_PER_MS); in doCallbacks()
838 mHandler.sendMessageAtTime(msg, timestampNanos / TimeUtils.NANOS_PER_MS); in onVsync()
/frameworks/base/cmds/appops/src/com/android/commands/appops/
DAppOpsCommand.java27 import android.util.TimeUtils;
253 TimeUtils.formatDuration(now - ent.getTime(), sb); in runGet()
260 TimeUtils.formatDuration(now - ent.getRejectTime(), sb); in runGet()
269 TimeUtils.formatDuration(ent.getDuration(), sb); in runGet()
/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/core/java/android/content/
DAsyncTaskLoader.java24 import android.util.TimeUtils;
370 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
372 TimeUtils.formatDuration(mLastLoadCompleteTime, in dump()
/frameworks/base/core/tests/coretests/src/android/util/
DTimeUtilsTest.java425 return TimeUtils.getTimeZone(c.get(c.ZONE_OFFSET) + c.get(c.DST_OFFSET), in guess()
452 TimeUtils.formatDuration(duration, sb); in assertFormatDuration()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java70 import android.util.TimeUtils;
993 TimeUtils.formatDuration(mAppIdleDurationMillis, pw); in dump()
997 TimeUtils.formatDuration(mAppIdleWallclockThresholdMillis, pw); in dump()
1001 TimeUtils.formatDuration(mCheckIdleIntervalMillis, pw); in dump()
1005 TimeUtils.formatDuration(mAppIdleParoleIntervalMillis, pw); in dump()
1009 TimeUtils.formatDuration(mAppIdleParoleDurationMillis, pw); in dump()
1017 TimeUtils.formatDuration(mLastAppIdleParoledTime, pw); in dump()
1019 pw.print("mScreenOnTime="); TimeUtils.formatDuration(mScreenOnTime, pw); in dump()
1022 TimeUtils.formatDuration(mScreenOnSystemTimeSnapshot, pw); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java22 import android.util.TimeUtils;
185 TimeUtils.formatDuration(System.currentTimeMillis() - sSince, pw); in dump()
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java28 import android.util.TimeUtils;
162 : TimeUtils.formatUptime(mDetectionStartTime))); in dump()

123