Home
last modified time | relevance | path

Searched refs:startMillis (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java293 if (info.startMillis <= matchEndMillis && matchStartMillis <= info.endMillis) { in readMatching()
314 if (info.isActive() && info.startMillis < currentTimeMillis in getActiveName()
315 && info.startMillis < oldestActiveStart) { in getActiveName()
317 oldestActiveStart = info.startMillis; in getActiveName()
325 info.startMillis = currentTimeMillis; in getActiveName()
349 if (info.startMillis <= rotateBefore) { in maybeRotate()
406 public long startMillis; field in FileRotator.FileInfo
419 startMillis = endMillis = -1; in parse()
431 startMillis = Long.parseLong(name.substring(dotIndex + 1, dashIndex)); in parse()
450 name.append(prefix).append('.').append(startMillis).append('-'); in build()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java70 private static long startMillis, middleMillis; field in ErrorCalculator
74 startMillis = System.currentTimeMillis(); in calcErrorRS()
108 Log.d(LOG_TAG, "rs: first part took " + (middleMillis - startMillis) + "ms"); in calcErrorRS()
134 startMillis = System.currentTimeMillis(); in calcError()
168 Log.d(LOG_TAG, "dvk: first part took " + (middleMillis - startMillis) + "ms"); in calcError()
/frameworks/base/core/java/android/util/
DTimedRemoteCaller.java138 final long startMillis = SystemClock.uptimeMillis(); in getResultTimed() local
145 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in getResultTimed()
/frameworks/base/core/java/android/text/format/
DDateUtils.java559 public static String formatDateRange(Context context, long startMillis, in formatDateRange() argument
562 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); in formatDateRange()
583 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
585 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange()
751 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
760 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); in formatDateRange()
/frameworks/base/core/tests/utiltests/src/android/util/
DRemoteIntArray.java122 final long startMillis = SystemClock.uptimeMillis(); in bindLocked() local
127 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in bindLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java484 public long startMillis; field in SettingsInjector.Setting
523 startMillis = SystemClock.elapsedRealtime(); in startService()
525 startMillis = 0; in startService()
535 return end - startMillis; in getElapsedTime()
539 if (Log.isLoggable(TAG, Log.DEBUG) && startMillis != 0) { in maybeLogElapsedTime()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java427 final long startMillis = collection.getStartMillis(); in importLegacyNetworkLocked() local
433 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyNetworkLocked()
447 final long startMillis = collection.getStartMillis(); in importLegacyUidLocked() local
453 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyUidLocked()
DNetworkStatsCollection.java647 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument
648 if (startMillis < mStartMillis) mStartMillis = startMillis; in noteRecordedHistory()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java152 final long startMillis = SystemClock.uptimeMillis(); in waitForBindLocked() local
157 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in waitForBindLocked()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java626 final long startMillis = SystemClock.uptimeMillis(); in bindLocked() local
631 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in bindLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java1686 final long startMillis = SystemClock.uptimeMillis(); in ensureWindowsAvailableTimedLocked() local
1688 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in ensureWindowsAvailableTimedLocked()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java881 final long startMillis = SystemClock.elapsedRealtime(); in waitForLatch() local
893 if (timeoutMillis > 0 && SystemClock.elapsedRealtime() > startMillis + timeoutMillis) { in waitForLatch()