Home
last modified time | relevance | path

Searched refs:endMillis (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java293 if (info.startMillis <= matchEndMillis && matchStartMillis <= info.endMillis) { in readMatching()
326 info.endMillis = Long.MAX_VALUE; in getActiveName()
353 info.endMillis = currentTimeMillis; in maybeRotate()
359 } else if (info.endMillis <= deleteBefore) { in maybeRotate()
407 public long endMillis; field in FileRotator.FileInfo
419 startMillis = endMillis = -1; in parse()
434 endMillis = Long.MAX_VALUE; in parse()
436 endMillis = Long.parseLong(name.substring(dashIndex + 1)); in parse()
451 if (endMillis != Long.MAX_VALUE) { in build()
452 name.append(endMillis); in build()
[all …]
/frameworks/base/core/tests/overlaytests/remount/src/com/android/overlaytest/remounted/
DOverlayRemountedTestBase.java58 final long endMillis = System.currentTimeMillis() + ASSERT_RESOURCE_TIMEOUT_MS; in assertResource() local
59 while (System.currentTimeMillis() <= endMillis) { in assertResource()
/frameworks/base/core/java/android/text/format/
DDateUtils.java560 long endMillis, int flags) { in formatDateRange() argument
562 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); in formatDateRange()
584 long endMillis, int flags) { in formatDateRange() argument
585 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange()
752 long endMillis, int flags, String timeZone) { in formatDateRange() argument
760 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); in formatDateRange()
/frameworks/base/core/java/android/os/
DSystemService.java111 final long endMillis = SystemClock.elapsedRealtime() + timeoutMillis; in waitForState() local
119 if (SystemClock.elapsedRealtime() >= endMillis) { in waitForState()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java428 final long endMillis = collection.getEndMillis(); in importLegacyNetworkLocked() local
434 mRotator.maybeRotate(endMillis); in importLegacyNetworkLocked()
448 final long endMillis = collection.getEndMillis(); in importLegacyUidLocked() local
454 mRotator.maybeRotate(endMillis); in importLegacyUidLocked()
DNetworkStatsCollection.java647 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument
649 if (endMillis > mEndMillis) mEndMillis = endMillis; in noteRecordedHistory()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java199 final long endMillis = SystemClock.elapsedRealtime() + SERVICE_CONNECT_TIMEOUT_MS; in getIdmapService() local
200 while (SystemClock.elapsedRealtime() <= endMillis) { in getIdmapService()
/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
DSystemPreparer.java169 final long endMillis = System.currentTimeMillis() + OVERLAY_ENABLE_TIMEOUT_MS; in setOverlayEnabled() local
171 while (System.currentTimeMillis() <= endMillis) { in setOverlayEnabled()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1264 final long endMillis = SystemClock.uptimeMillis() + WAIT_MOTION_INJECTOR_TIMEOUT_MILLIS; in getMotionEventInjectorForDisplayLocked() local
1266 while ((mMotionEventInjectors == null) && (SystemClock.uptimeMillis() < endMillis)) { in getMotionEventInjectorForDisplayLocked()
1268 mLock.wait(endMillis - SystemClock.uptimeMillis()); in getMotionEventInjectorForDisplayLocked()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java2083 int carrierId, int rat, long beginMillis, long endMillis, long callCount) { in makeRatUsageProto() argument
2087 usage.totalDurationMillis = endMillis - beginMillis; in makeRatUsageProto()