Home
last modified time | relevance | path

Searched refs:pendingJob (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DJobSchedulingUtils.java52 JobInfo pendingJob = jobScheduler.getPendingJob(UPLOAD_JOB_ID); in scheduleUploadJob() local
54 if (pendingJob != null) { in scheduleUploadJob()
79 JobInfo pendingJob = jobScheduler.getPendingJob(EXPIRE_OLD_BUG_REPORTS_JOB_ID); in scheduleExpireOldBugReportsJobInGarageMode() local
81 if (pendingJob != null) { in scheduleExpireOldBugReportsJobInGarageMode()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/model/
DAppShareabilityJobService.java63 final JobInfo pendingJob = jobScheduler.getPendingJob(R.integer.app_shareability_job_id); in schedule() local
64 if (pendingJob != null) { in schedule()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskSchedulerJobService.java103 JobInfo pendingJob = jobScheduler.getPendingJob(ScheduledJobIds.VVM_TASK_SCHEDULER_JOB); in scheduleJob() local
105 if (pendingJob != null) { in scheduleJob()
109 pendingJob.getTransientExtras().getParcelableArray(EXTRA_TASK_EXTRAS_ARRAY)); in scheduleJob()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DBaseTunerTvInputService.java94 JobInfo pendingJob = jobScheduler.getPendingJob(DVR_STORAGE_CLEANUP_JOB_ID); in onCreate() local
95 if (pendingJob != null) { in onCreate()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManagerTest.java1473 public static void assertJobInfosMatch(JobInfo pendingJob, JobInfo expectedJobInfo) { in assertJobInfosMatch() argument
1475 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()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DReportingJobServiceTest.java216 JobInfo pendingJob = in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule() local
224 when(mMockJobScheduler.getPendingJob(MEASUREMENT_REPORTING_JOB_ID)).thenReturn(pendingJob); in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule()
267 JobInfo pendingJob = in scheduleIfNeeded_nextReportInFuture_onePendingJobWithSameTime_dontReschedule() local
276 when(mMockJobScheduler.getPendingJob(MEASUREMENT_REPORTING_JOB_ID)).thenReturn(pendingJob); in scheduleIfNeeded_nextReportInFuture_onePendingJobWithSameTime_dontReschedule()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DPeriodicEncodingJobServiceTest.java646 JobInfo pendingJob = in scheduleJob() local
652 .that(pendingJob) in scheduleJob()
654 return pendingJob; in scheduleJob()