Home
last modified time | relevance | path

Searched refs:scheduledJob (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DReportingJobServiceTest.java194 JobInfo scheduledJob = jobInfoArgumentCaptor.getValue(); in scheduleIfNeeded_nextReportInFuture_noPendingJobs_schedule() local
195 long minLatencyMs = scheduledJob.getMinLatencyMillis(); in scheduleIfNeeded_nextReportInFuture_noPendingJobs_schedule()
200 scheduledJob.isRequireBatteryNotLow()); in scheduleIfNeeded_nextReportInFuture_noPendingJobs_schedule()
201 assertEquals(MEASUREMENT_REPORTING_JOB_PERSISTED, scheduledJob.isPersisted()); in scheduleIfNeeded_nextReportInFuture_noPendingJobs_schedule()
236 JobInfo scheduledJob = jobInfoArgumentCaptor.getValue(); in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule() local
237 long minLatencyMs = scheduledJob.getMinLatencyMillis(); in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule()
311 JobInfo scheduledJob = jobInfoArgumentCaptor.getValue(); in scheduleIfNeeded_nextReportInMinExecutionWindow_schedule() local
312 long minLatencyMs = scheduledJob.getMinLatencyMillis(); in scheduleIfNeeded_nextReportInMinExecutionWindow_schedule()
340 JobInfo scheduledJob = jobInfoArgumentCaptor.getValue(); in scheduleIfNeeded_nextReportInPast_noPendingJob_schedule() local
341 assertEquals(0, scheduledJob.getMinLatencyMillis()); in scheduleIfNeeded_nextReportInPast_noPendingJob_schedule()
[all …]
/packages/services/Car/car-builtin-lib/src/android/car/builtin/job/
DJobSchedulerHelper.java65 JobSnapshot scheduledJob = allScheduledJobs.get(idx); in getPendingJobs() local
66 JobInfo jobInfo = scheduledJob.getJobInfo(); in getPendingJobs()
67 if (scheduledJob.isRunnable() && jobInfo.isRequireDeviceIdle()) { in getPendingJobs()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DReportingJobService.java168 final JobInfo scheduledJob = in scheduleIfNeeded() local
176 scheduledJob, nextScheduledExecution, latestReportTimeInBatch)) { in scheduleIfNeeded()
207 JobInfo scheduledJob, Long nextScheduledExecution, long latestReportTimeInBatch) { in isNextReportScheduled() argument
208 return scheduledJob != null in isNextReportScheduled()
DVerboseDebugReportingJobService.java128 final JobInfo scheduledJob = jobScheduler.getPendingJob(VERBOSE_DEBUG_REPORT_JOB_ID); in scheduleIfNeeded() local
131 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DEventFallbackReportingJobService.java168 final JobInfo scheduledJob = in scheduleIfNeeded() local
172 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DVerboseDebugReportingFallbackJobService.java146 final JobInfo scheduledJob = in scheduleIfNeeded() local
150 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DEventReportingJobService.java161 final JobInfo scheduledJob = in scheduleIfNeeded() local
165 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DAggregateFallbackReportingJobService.java187 final JobInfo scheduledJob = in scheduleIfNeeded() local
191 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DDebugReportingFallbackJobService.java144 final JobInfo scheduledJob = in scheduleIfNeeded() local
148 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DDeleteUninstalledJobService.java127 final JobInfo scheduledJob = in scheduleIfNeeded() local
131 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DDeleteExpiredJobService.java145 final JobInfo scheduledJob = jobScheduler.getPendingJob(MEASUREMENT_DELETE_EXPIRED_JOB_ID); in scheduleIfNeeded() local
148 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/
DEncryptionKeyJobService.java120 final JobInfo scheduledJob = jobScheduler.getPendingJob(ENCRYPTION_KEY_JOB_ID); in scheduleIfNeeded() local
123 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DBackgroundKeyFetchJobService.java188 final JobInfo scheduledJob = jobScheduler.getPendingJob(ENCRYPTION_KEY_FETCH_JOB_ID); in scheduleJobIfNeeded() local
202 if (!jobInfo.equals(scheduledJob)) { in scheduleJobIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationFallbackJobService.java178 final JobInfo scheduledJob = in scheduleIfNeeded() local
182 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionFallbackJobService.java186 final JobInfo scheduledJob = in scheduleIfNeeded() local
190 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DAttributionJobService.java210 final JobInfo scheduledJob = jobScheduler.getPendingJob(MEASUREMENT_ATTRIBUTION_JOB_ID); in scheduleIfNeeded() local
213 if (forceSchedule || !job.equals(scheduledJob)) { in scheduleIfNeeded()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobService.java189 final JobInfo scheduledJob = jobScheduler.getPendingJob(DELETE_EXPIRED_JOB_ID); in scheduleJobIfNeeded() local
202 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleJobIfNeeded()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/
DBackgroundKeyFetchJobServiceTest.java183 final JobInfo scheduledJob = in testScheduleJob() local
187 assertThat(scheduledJob.getId()) in testScheduleJob()