/art/libartbase/base/ |
D | time_utils.h | 31 enum TimeUnit { enum 48 std::string FormatDuration(uint64_t nano_duration, TimeUnit time_unit, 52 TimeUnit GetAppropriateTimeUnit(uint64_t nano_duration); 55 uint64_t GetNsToTimeUnitDivisor(TimeUnit time_unit);
|
D | time_utils.cc | 62 TimeUnit GetAppropriateTimeUnit(uint64_t nano_duration) { in GetAppropriateTimeUnit() 77 uint64_t GetNsToTimeUnitDivisor(TimeUnit time_unit) { in GetNsToTimeUnitDivisor() 95 std::string FormatDuration(uint64_t nano_duration, TimeUnit time_unit, in FormatDuration()
|
D | histogram-inl.h | 200 const TimeUnit unit = GetAppropriateTimeUnit(Mean() * kAdjust); in PrintConfidenceIntervals()
|
/art/test/odsign/test-src/com/android/tests/odsign/ |
D | CompOsTestUtils.java | 29 import java.util.concurrent.TimeUnit; 67 TimeUnit.SECONDS.sleep(SECONDS_BEFORE_PROGRESS_CHECK); in runCompilationJobEarlyAndWait() 89 TimeUnit.SECONDS.sleep(1); in waitForJobToBeScheduled() 106 TimeUnit.SECONDS.sleep(1); in waitForJobExit()
|
/art/libartservice/service/javatests/com/android/server/art/testing/ |
D | MockClock.java | 29 import java.util.concurrent.TimeUnit; 70 @NonNull Runnable command, long delay, @NonNull TimeUnit unit) { in schedule() 73 command, Long.MAX_VALUE, TimeUnit.MILLISECONDS); in schedule()
|
/art/libartservice/service/java/com/android/server/art/ |
D | Debouncer.java | 26 import java.util.concurrent.TimeUnit; 76 () -> runTask(command, executor), mIntervalMs, TimeUnit.MILLISECONDS); in maybeRunAsync()
|
D | BackgroundDexoptJob.java | 56 import java.util.concurrent.TimeUnit; 70 @VisibleForTesting public static final long JOB_INTERVAL_MS = TimeUnit.DAYS.toMillis(1);
|
D | DexoptHelper.java | 57 import java.util.concurrent.TimeUnit;
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | PreRebootDexoptJobTest.java | 58 import java.util.concurrent.TimeUnit; 253 assertThat(jobStarted.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testStart() 277 assertThat(dexoptCancelled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testCancel() 298 assertThat(dexoptCancelled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testSyncCancel() 377 assertThat(jobBlocker.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testRace1() 421 assertThat(jobFinishedCalledAfterNewJobStarted.tryAcquire(1, TimeUnit.SECONDS)).isFalse(); in testRace1() 427 assertThat(jobFinishedCalledAfterNewJobStarted.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)) in testRace1() 460 assertThat(dexoptCancelled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testRace3()
|
D | BackgroundDexoptJobTest.java | 68 import java.util.concurrent.TimeUnit; 142 assertThat(dexoptDone.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testStartAlreadyRunning() 196 assertThat(dexoptCancelled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testCancel() 293 assertThat(mJobFinishedCalled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testWantsRescheduleFalsePerformed() 304 assertThat(mJobFinishedCalled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testWantsRescheduleFalseFatalError() 319 assertThat(mJobFinishedCalled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testWantsRescheduleTrue()
|
D | DexoptHelperTest.java | 75 import java.util.concurrent.TimeUnit; 358 assertThat(dexoptCancelled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testDexoptCancelledDuringDex2oatInvocationsMultiThreaded() 377 assertThat(dexoptStarted.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testDexoptCancelledDuringDex2oatInvocationsMultiThreaded() 410 assertThat(dexoptCancelled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testDexoptCancelledDuringDex2oatInvocationsOnCurrentThread() 429 assertThat(dexoptStarted.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testDexoptCancelledDuringDex2oatInvocationsOnCurrentThread()
|
D | PrimaryDexopterTest.java | 64 import java.util.concurrent.TimeUnit; 717 assertThat(dexoptCancelled.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testDexoptCancelledDuringDexopt() 733 assertThat(dexoptStarted.tryAcquire(TIMEOUT_SEC, TimeUnit.SECONDS)).isTrue(); in testDexoptCancelledDuringDexopt()
|
D | ArtManagerLocalTest.java | 106 import java.util.concurrent.TimeUnit; 120 CURRENT_TIME_MS - TimeUnit.DAYS.toMillis(INACTIVE_DAYS) + 1; 122 CURRENT_TIME_MS - TimeUnit.DAYS.toMillis(INACTIVE_DAYS) - 1;
|
/art/test/523-checker-can-throw-regression/src/ |
D | Main.java | 25 import java.util.concurrent.TimeUnit;
|
/art/libartservice/service/java/com/android/server/art/prereboot/ |
D | PreRebootManager.java | 47 import java.util.concurrent.TimeUnit; 122 callbackExecutor.awaitTermination(5, TimeUnit.SECONDS); in run()
|
/art/test/1336-short-finalizer-timeout/src/ |
D | Main.java | 19 import static java.util.concurrent.TimeUnit.MINUTES;
|
/art/test/2041-bad-cleaner/src/ |
D | Main.java | 20 import static java.util.concurrent.TimeUnit.MINUTES;
|
/art/test/2261-badcleaner-in-systemcleaner/src-art/ |
D | Main.java | 21 import static java.util.concurrent.TimeUnit.MINUTES;
|
/art/test/030-bad-finalizer/src/ |
D | Main.java | 19 import static java.util.concurrent.TimeUnit.MINUTES;
|
/art/test/2048-bad-native-registry/src/ |
D | Main.java | 21 import static java.util.concurrent.TimeUnit.MINUTES;
|
/art/test/2264-throwing-systemcleaner/src-art/ |
D | Main.java | 22 import static java.util.concurrent.TimeUnit.MINUTES;
|
/art/test/522-checker-regression-monitor-exit/src/ |
D | Main.java | 25 import java.util.concurrent.TimeUnit;
|
/art/test/114-ParallelGC/src/ |
D | Main.java | 109 startBarrier.await(TIMEOUT_VALUE, java.util.concurrent.TimeUnit.MINUTES); in work()
|
/art/test/708-jit-cache-churn/src/ |
D | JitCacheChurnTest.java | 29 import java.util.concurrent.TimeUnit; 64 TimeUnit.MILLISECONDS,new LinkedBlockingQueue<>()); in JitCacheChurnTest()
|
/art/runtime/base/ |
D | timing_logger.cc | 204 TimeUnit tu = GetAppropriateTimeUnit(longest_split); in Dump()
|