Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java65 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 …]
DTriggerContentTest.java69 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/
DTriggerContentJobService.java41 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()
DMockJobService.java52 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/
DTriggerContentJobService.java41 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()
DMockJobService.java49 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/
DCameraContentJobService.java39 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/
DSpinnerTest.java78 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/
DStaticSharedLibsHostTests.java120 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/
DViewTest.java157 private static final long DEFAULT_TIMEOUT_MILLIS = 1000; field in ViewTest
1761 DEFAULT_TIMEOUT_MILLIS); in testSetEnabled_receiveEvent() local