/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | ConnectivityConstraintTest.java | 65 private static final long DEFAULT_TIMEOUT_MILLIS = 30000L; // 30 seconds. field in ConnectivityConstraintTest 436 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testExpeditedJobExecutes_DozeOn() 466 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testFgExpeditedJobBypassesDataSaver() 530 PollingCheck.waitFor(DEFAULT_TIMEOUT_MILLIS, in testJobExecutes_afterAppIsKilled() 541 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testJobExecutes_afterAppIsKilled() 567 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testUserInitiatedJobExecutes_BatterySaverOn() 599 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testUserInitiatedJobExecutes_DozeOn() 625 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testCellularConstraintExecutedAndStopped() 630 mTestAppInterface.awaitJobStop(DEFAULT_TIMEOUT_MILLIS)); in testCellularConstraintExecutedAndStopped() 679 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testJobParametersNetwork() [all …]
|
D | TriggerContentTest.java | 69 private static final long DEFAULT_TIMEOUT_MILLIS = 1000L; // 1 second. field in TriggerContentTest.MediaScanner 80 return mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in scan()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | TriggerContentJobService.java | 41 private static final long DEFAULT_TIMEOUT_MILLIS = 30000L; // 30 seconds. field in TriggerContentJobService 135 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution() 164 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout()
|
D | MockJobService.java | 52 private static final long DEFAULT_TIMEOUT_MILLIS = 30000L; // 30 seconds. field in MockJobService 514 return awaitExecution(DEFAULT_TIMEOUT_MILLIS); in awaitExecution() 531 return awaitTimeout(DEFAULT_TIMEOUT_MILLIS); in awaitTimeout() 539 return mWaitingForStopLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitWaitingForStop() 543 return mDoWorkLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitDoWork() 550 return mDoJobLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitDoJob() 554 return mNetworkChangeLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitNetworkChange() 558 return mStoppedLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitStopped()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | TriggerContentJobService.java | 41 private static final long DEFAULT_TIMEOUT_MILLIS = 30000L; // 30 seconds. field in TriggerContentJobService 135 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution() 164 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout()
|
D | MockJobService.java | 49 private static final long DEFAULT_TIMEOUT_MILLIS = 30000L; // 30 seconds. field in MockJobService 420 return awaitExecution(DEFAULT_TIMEOUT_MILLIS); in awaitExecution() 437 return awaitTimeout(DEFAULT_TIMEOUT_MILLIS); in awaitTimeout() 445 return mWaitingForStopLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitWaitingForStop() 449 return mDoWorkLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitDoWork() 456 return mDoJobLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitDoJob() 460 return mStoppedLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitStopped()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraContentJobService.java | 39 private static final long DEFAULT_TIMEOUT_MILLIS = 60000L; // 60 seconds. field in CameraContentJobService 88 final boolean executed = mCondition.block(DEFAULT_TIMEOUT_MILLIS); in awaitExecution()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SpinnerTest.java | 78 private static final int DEFAULT_TIMEOUT_MILLIS = 5000; field in SpinnerTest 254 DEFAULT_TIMEOUT_MILLIS in verifyOnClickAccessibility() local 261 DEFAULT_TIMEOUT_MILLIS in verifyOnClickAccessibility() local 269 DEFAULT_TIMEOUT_MILLIS in verifyOnClickAccessibility() local 283 PollingCheck.waitFor(DEFAULT_TIMEOUT_MILLIS, () -> accessibilityManager.isEnabled()); in testOnClickAccessibility()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | StaticSharedLibsHostTests.java | 120 private static final long DEFAULT_TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(15); field in StaticSharedLibsHostTests 830 + " should be uninstalled", DEFAULT_TIMEOUT_MILLIS, in doTestPruneUnusedStaticSharedLibraries_reboot()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 157 private static final long DEFAULT_TIMEOUT_MILLIS = 1000; field in ViewTest 1761 DEFAULT_TIMEOUT_MILLIS); in testSetEnabled_receiveEvent() local
|