Home
last modified time | relevance | path

Searched refs:awaitJobStart (Results 1 – 8 of 8) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java199 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
202 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
212 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testForegroundJobsStartImmediately()
224 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testForegroundJobsStartImmediately()
234 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()
241 mTestAppInterface.awaitJobStart(2000)); in testBackgroundJobsDelayed()
245 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()
253 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testJobStoppedWhenRestricted()
270 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testRestrictedJobStartedWhenUnrestricted()
273 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testRestrictedJobStartedWhenUnrestricted()
[all …]
DConnectivityConstraintTest.java336 mTestAppInterface.awaitJobStart(30_000)); in testCellularConstraintExecutedAndStopped_Foreground()
436 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testExpeditedJobExecutes_DozeOn()
466 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testFgExpeditedJobBypassesDataSaver()
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()
679 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testJobParametersNetwork()
710 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testJobUidState()
760 mTestAppInterface.awaitJobStart(DEFAULT_TIMEOUT_MILLIS)); in testMeteredConstraintFails_withMobile_DataSaverOn()
[all …]
DExpeditedJobTest.java89 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testJobUidState_noRequiredNetwork()
113 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testJobUidState_withRequiredNetwork()
134 mTestAppInterface.awaitJobStart(i, DEFAULT_WAIT_TIMEOUT_MS)); in testTopEJUnlimited()
DUserInitiatedJobTest.java151 mTestAppInterface.awaitJobStart(2 * DEFAULT_WAIT_TIMEOUT_MS)); in testJobUidState()
180 mTestAppInterface.awaitJobStart(i, DEFAULT_WAIT_TIMEOUT_MS)); in testTopUiUnlimited()
228 assertFalse(mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testRestrictedBalToTop()
232 assertTrue(mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testRestrictedBalToTop()
260 assertTrue(mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testRestrictedToggling()
269 assertFalse(mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testRestrictedToggling()
273 assertTrue(mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testRestrictedToggling()
290 assertTrue(mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testRestrictedTopToBg()
331 mTestAppInterface.awaitJobStart(2 * DEFAULT_WAIT_TIMEOUT_MS)); in testRestrictedUidState()
387 assertTrue(mTestAppInterface.awaitJobStart(jobIdEj, DEFAULT_WAIT_TIMEOUT_MS)); in testSchedulingEj()
DNotificationTest.java174 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotificationRemovedOnForceStop()
210 testAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotificationRemovedOnPackageRestriction()
253 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotificationRemovedOnTaskManagerStop()
289 testAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotification_userInitiated_anrWhenNotProvided()
319 testAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotification_userInitiated_noAnrWhenProvided()
345 testAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotification_regular_noAnrWhenNotProvided()
367 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testUserInitiatedJob_hasUijNotificationFlag()
387 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNonUserInitiatedJob_doesNotHaveUijNotificationFlag()
DTestAppInterface.java415 boolean awaitJobStart(long maxWait) throws Exception { in awaitJobStart() method in TestAppInterface
416 return awaitJobStart(mJobId, maxWait); in awaitJobStart()
419 boolean awaitJobStart(int jobId, long maxWait) throws Exception { in awaitJobStart() method in TestAppInterface
DTimingConstraintsTest.java129 testAppInterface.awaitJobStart(deadlineMs + 10_000L)); in testJobParameters_expiredDeadline()
DJobSchedulingTest.java98 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testAnr_onStartJob()
126 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testAnr_onStopJob()