Searched refs:pendingJob (Results 1 – 7 of 7) sorted by relevance
52 JobInfo pendingJob = jobScheduler.getPendingJob(UPLOAD_JOB_ID); in scheduleUploadJob() local54 if (pendingJob != null) { in scheduleUploadJob()79 JobInfo pendingJob = jobScheduler.getPendingJob(EXPIRE_OLD_BUG_REPORTS_JOB_ID); in scheduleExpireOldBugReportsJobInGarageMode() local81 if (pendingJob != null) { in scheduleExpireOldBugReportsJobInGarageMode()
63 final JobInfo pendingJob = jobScheduler.getPendingJob(R.integer.app_shareability_job_id); in schedule() local64 if (pendingJob != null) { in schedule()
103 JobInfo pendingJob = jobScheduler.getPendingJob(ScheduledJobIds.VVM_TASK_SCHEDULER_JOB); in scheduleJob() local105 if (pendingJob != null) { in scheduleJob()109 pendingJob.getTransientExtras().getParcelableArray(EXTRA_TASK_EXTRAS_ARRAY)); in scheduleJob()
94 JobInfo pendingJob = jobScheduler.getPendingJob(DVR_STORAGE_CLEANUP_JOB_ID); in onCreate() local95 if (pendingJob != null) { in onCreate()
1473 public static void assertJobInfosMatch(JobInfo pendingJob, JobInfo expectedJobInfo) { in assertJobInfosMatch() argument1475 assertWithMessage("id").that(pendingJob.getId()).isEqualTo(expectedJobInfo.getId()); in assertJobInfosMatch()1477 .that(pendingJob.getService()) in assertJobInfosMatch()1480 .that(pendingJob.isPersisted()) in assertJobInfosMatch()1483 .that(pendingJob.getNetworkType()) in assertJobInfosMatch()1486 .that(pendingJob.isRequireDeviceIdle()) in assertJobInfosMatch()1489 .that(pendingJob.isRequireBatteryNotLow()) in assertJobInfosMatch()1492 .that(pendingJob.getMinLatencyMillis()) in assertJobInfosMatch()1495 .that(pendingJob.getMaxExecutionDelayMillis()) in assertJobInfosMatch()
216 JobInfo pendingJob = in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule() local224 when(mMockJobScheduler.getPendingJob(MEASUREMENT_REPORTING_JOB_ID)).thenReturn(pendingJob); in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule()267 JobInfo pendingJob = in scheduleIfNeeded_nextReportInFuture_onePendingJobWithSameTime_dontReschedule() local276 when(mMockJobScheduler.getPendingJob(MEASUREMENT_REPORTING_JOB_ID)).thenReturn(pendingJob); in scheduleIfNeeded_nextReportInFuture_onePendingJobWithSameTime_dontReschedule()
646 JobInfo pendingJob = in scheduleJob() local652 .that(pendingJob) in scheduleJob()654 return pendingJob; in scheduleJob()