/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | JobSchedulingTest.java | 136 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 …]
|
D | JobWorkItemTest.java | 36 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 …]
|
D | DataTransferTest.java | 50 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()
|
D | NotificationTest.java | 84 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()
|
D | JobInfoTest.java | 1041 String message, JobInfo jobInfo, Class<? extends Exception> expectedExceptionClass) { in assertScheduleFailsWithException() argument 1043 mJobScheduler.schedule(jobInfo); in assertScheduleFailsWithException()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | TriggerContentJobService.java | 62 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()
|
D | MockJobService.java | 235 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/ |
D | TriggerContentJobService.java | 62 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()
|
D | MockJobService.java | 210 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/ |
D | TestJob.java | 51 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/ |
D | GarageModeChecker.java | 72 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()
|