Home
last modified time | relevance | path

Searched refs:jobInfo (Results 1 – 11 of 11) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobSchedulingTest.java136 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testCancel_runningJob() local
144 mJobScheduler.schedule(jobInfo); in testCancel_runningJob()
177 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testMinSuccessfulSchedulingQuota() local
183 assertEquals(JobScheduler.RESULT_SUCCESS, mJobScheduler.schedule(jobInfo)); in testMinSuccessfulSchedulingQuota()
200 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testFailingScheduleOnQuotaExceeded() local
209 expected, mJobScheduler.schedule(jobInfo)); in testFailingScheduleOnQuotaExceeded()
226 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent)
233 JobScheduler.RESULT_SUCCESS, mJobScheduler.schedule(jobInfo));
250 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent)
256 assertEquals(JobScheduler.RESULT_SUCCESS, mJobScheduler.schedule(jobInfo));
[all …]
DJobWorkItemTest.java36 final JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testAllInfoGivenToJob() local
57 mJobScheduler.enqueue(jobInfo, expectedJwi); in testAllInfoGivenToJob()
271 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent).build(); in testDeliveryCountBumped() local
280 mJobScheduler.enqueue(jobInfo, jwi); in testDeliveryCountBumped()
291 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testPersisted_withIntent() local
295 mJobScheduler.enqueue(jobInfo, jwi); in testPersisted_withIntent()
306 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testPersisted_withPersistableBundle() local
310 assertEquals(JobScheduler.RESULT_SUCCESS, mJobScheduler.enqueue(jobInfo, jwi)); in testPersisted_withPersistableBundle()
315 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent).build(); in testScheduleItemWithNetworkInfoAndNoNetworkConstraint_download() local
317 mJobScheduler.enqueue(jobInfo, jwi); in testScheduleItemWithNetworkInfoAndNoNetworkConstraint_download()
[all …]
DDataTransferTest.java50 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testUpdateEstimatedNetworkBytes() local
58 mJobScheduler.schedule(jobInfo); in testUpdateEstimatedNetworkBytes()
73 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testUpdateTransferredNetworkBytes() local
81 mJobScheduler.schedule(jobInfo); in testUpdateTransferredNetworkBytes()
DNotificationTest.java84 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent).build(); in testNotificationJobEndDetach() local
96 mJobScheduler.schedule(jobInfo); in testNotificationJobEndDetach()
121 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent).build(); in testNotificationJobEndRemove() local
133 mJobScheduler.schedule(jobInfo); in testNotificationJobEndRemove()
405 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testUserInitiatedJobNotificationBehavior() local
420 mJobScheduler.schedule(jobInfo); in testUserInitiatedJobNotificationBehavior()
460 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent).build(); in testNonUserInitiatedJobNotificationBehavior() local
472 mJobScheduler.schedule(jobInfo); in testNonUserInitiatedJobNotificationBehavior()
DJobInfoTest.java1041 String message, JobInfo jobInfo, Class<? extends Exception> expectedExceptionClass) { in assertScheduleFailsWithException() argument
1043 mJobScheduler.schedule(jobInfo); in assertScheduleFailsWithException()
/cts/tests/JobScheduler/src/android/jobscheduler/
DTriggerContentJobService.java62 public static void scheduleJob(Context context, JobInfo jobInfo) { in scheduleJob() argument
64 js.schedule(jobInfo); in scheduleJob()
139 public void setMode(int mode, JobInfo jobInfo) { in setMode() argument
142 mModeJobInfo = jobInfo; in setMode()
DMockJobService.java235 final JobInfo ji = expected.jobInfo; in onStartJob()
362 public final JobInfo jobInfo; field in MockJobService.TestWorkItem
371 jobInfo = null; in TestWorkItem()
381 jobInfo = null; in TestWorkItem()
391 jobInfo = null; in TestWorkItem()
401 jobInfo = _jobInfo; in TestWorkItem()
412 jobInfo = null; in TestWorkItem()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DTriggerContentJobService.java62 public static void scheduleJob(Context context, JobInfo jobInfo) { in scheduleJob() argument
64 js.schedule(jobInfo); in scheduleJob()
139 public void setMode(int mode, JobInfo jobInfo) { in setMode() argument
142 mModeJobInfo = jobInfo; in setMode()
DMockJobService.java210 final JobInfo ji = expected.jobInfo; in onStartJob()
297 public final JobInfo jobInfo; field in MockJobService.TestWorkItem
306 jobInfo = null; in TestWorkItem()
316 jobInfo = null; in TestWorkItem()
326 jobInfo = null; in TestWorkItem()
336 jobInfo = _jobInfo; in TestWorkItem()
347 jobInfo = null; in TestWorkItem()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DTestJob.java51 JobInfo jobInfo = new JobInfo.Builder(TEST_JOB_ID, componentName).build(); in schedule() local
52 jobScheduler.schedule(jobInfo); in schedule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DGarageModeChecker.java72 for (JobInfo jobInfo : jobScheduler.getAllPendingJobs()) { in scheduleAnIdleJob()
73 int jobId = jobInfo.getId(); in scheduleAnIdleJob()
90 JobInfo jobInfo = builder in scheduleJob() local
94 jobScheduler.schedule(jobInfo); in scheduleJob()