/test/cts-root/tests/bugreport/src/android/bugreport/cts_root/ |
D | BugreportManagerTest.java | 67 import java.util.concurrent.TimeUnit; 83 private static final long UIAUTOMATOR_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(10); 85 private static final long BUGREPORT_TIMEOUT_MS = TimeUnit.MINUTES.toMillis(4); 137 latch.await(4, TimeUnit.MINUTES); in testRetrieveBugreportConsentGranted() 151 assertThat(latch.await(10, TimeUnit.SECONDS)).isTrue(); in testRetrieveBugreportConsentGranted() 165 assertThat(latch.await(1, TimeUnit.MINUTES)).isTrue(); in testRetrieveBugreportConsentGranted() 187 latch.await(4, TimeUnit.MINUTES); in testRetrieveBugreportConsentDenied() 203 latch.await(1, TimeUnit.MINUTES); in testRetrieveBugreportConsentDenied() 215 latch.await(1, TimeUnit.MINUTES); in testRetrieveBugreportConsentDenied() 251 latch.await(BUGREPORT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testBugreportsLimitReached() [all …]
|
/test/cts-root/tests/packagewatchdog/src/android/packagewatchdog/cts_root/ |
D | PackageWatchdogTest.java | 37 import java.util.concurrent.TimeUnit; 49 private static final long SHORT_DURATION = TimeUnit.MINUTES.toMillis(5); 83 assertThat(latch.await(5, TimeUnit.SECONDS)).isTrue(); in testAppCrashIsMitigated() 116 assertThat(mLatch1.await(5, TimeUnit.SECONDS)).isTrue(); in testRegisteringMultipleObservers() 117 assertThat(mLatch2.await(5, TimeUnit.SECONDS)).isTrue(); in testRegisteringMultipleObservers() 142 assertThat(mLatch2.await(1, TimeUnit.MINUTES)).isTrue(); in testUnregistration() 188 assertThat(mLatch1.await(5, TimeUnit.SECONDS)).isTrue(); in testImmediateFailures() 207 assertThat(mLatch1.await(5, TimeUnit.SECONDS)).isTrue(); in testPersistentObserverWatchesPackage() 244 Thread.sleep(TimeUnit.SECONDS.toMillis(6)); in raiseFatalFailure()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | NNModelLoadingStressTest.java | 31 import java.util.concurrent.TimeUnit; 70 float endTime = stopwatch.runtime(TimeUnit.SECONDS) + RUNTIME_SECONDS; in stressTestNNAPI() 72 while (stopwatch.runtime(TimeUnit.SECONDS) < endTime) { in stressTestNNAPI()
|
/test/dittosuite/include/ditto/ |
D | result.h | 51 struct TimeUnit { struct 61 TimeUnit time_unit_; argument 85 TimeUnit GetTimeUnit(int64_t min_value);
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | NNCrashTestActivity.java | 27 import java.util.concurrent.TimeUnit; 70 mTestStatus.waitForCompletion(testTimeout.toMillis(), TimeUnit.MILLISECONDS); in testResult()
|
D | CrashTestStatus.java | 26 import java.util.concurrent.TimeUnit; 99 public boolean waitForCompletion(long timeout, TimeUnit timeUnit) throws InterruptedException { in waitForCompletion()
|
D | NNMultiProcessTestActivity.java | 27 import java.util.concurrent.TimeUnit;
|
D | NNParallelTestActivity.java | 22 import static java.util.concurrent.TimeUnit.MILLISECONDS;
|
/test/cts-root/hostsidetests/packageinstaller/src/com/android/cts_root/packageinstaller/host/ |
D | SessionCleanUpHostTest.java | 39 import java.util.concurrent.TimeUnit; 49 private static final long MAX_TIME_SINCE_UPDATE_MILLIS = TimeUnit.DAYS.toMillis(21); 188 Instant t2 = t1.plusMillis(TimeUnit.DAYS.toMillis(1)); in testSessionCleanUp_LowStorage()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/ |
D | CrashTestService.java | 34 import java.util.concurrent.TimeUnit; 105 startTest.await(3, TimeUnit.SECONDS); in onBind()
|
/test/cts-root/hostsidetests/rollback/src/com/android/cts_root/rollback/host/ |
D | RollbackManagerHostTest.java | 46 import java.util.concurrent.TimeUnit; 76 private static final long MAX_TIME_SINCE_UPDATE_MILLIS = TimeUnit.DAYS.toMillis(21); 425 waitForDeviceNotAvailable(2, TimeUnit.MINUTES); in testBadApkOnly() 456 waitForDeviceNotAvailable(5, TimeUnit.MINUTES); in testNativeWatchdogTriggersRollback() 493 waitForDeviceNotAvailable(5, TimeUnit.MINUTES); in testNativeWatchdogTriggersRollbackForAll() 566 private void waitForDeviceNotAvailable(long timeout, TimeUnit unit) { in waitForDeviceNotAvailable()
|
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/ |
D | ApkInstaller.java | 36 import java.util.concurrent.TimeUnit; 40 private static long sCommandTimeOut = TimeUnit.MINUTES.toMillis(4); 41 private static long sObbPushCommandTimeOut = TimeUnit.MINUTES.toMillis(12);
|
D | TestUtils.java | 40 import java.util.concurrent.TimeUnit; 349 long minutes = TimeUnit.MILLISECONDS.toMinutes(milliseconds); in convertToMinuteSecond() 351 TimeUnit.MILLISECONDS.toSeconds(milliseconds) - TimeUnit.MINUTES.toSeconds(minutes); in convertToMinuteSecond()
|
D | DeviceUtils.java | 51 import java.util.concurrent.TimeUnit; 278 TimeUnit.MILLISECONDS); in runWithScreenRecording()
|
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/ |
D | AppSetupPreparer.java | 51 import java.util.concurrent.TimeUnit; 133 private long mSetupOnceTimeoutMillis = TimeUnit.MINUTES.toMillis(10); 205 TimeUnit.MILLISECONDS); in setUp()
|
/test/catbox/runner/src/com/android/catbox/runner/ |
D | MopedRunner.java | 22 import java.util.concurrent.TimeUnit; 143 if (!p.waitFor(timeout, TimeUnit.MINUTES)) { in executeHostCommand()
|
/test/cts-root/hostsidetests/rollback/app/src/com/android/cts_root/rollback/host/app/ |
D | HostTestHelper.java | 47 import java.util.concurrent.TimeUnit; 195 Thread.sleep(TimeUnit.SECONDS.toMillis(30)); in testBadApkOnly_Phase2_VerifyInstall()
|
/test/dittosuite/src/ |
D | result.cpp | 248 Result::TimeUnit Result::GetTimeUnit(const int64_t min_value) { in GetTimeUnit() 249 TimeUnit result; in GetTimeUnit()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | RunModelsInParallel.java | 19 import static java.util.concurrent.TimeUnit.MILLISECONDS;
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | Processor.java | 19 import static java.util.concurrent.TimeUnit.MILLISECONDS;
|