Home
last modified time | relevance | path

Searched refs:pendingJobs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java549 final List<JobStatus> pendingJobs = mService.mPendingJobs; in assignJobsToContextsInternalLocked() local
568 updateNonRunningPrioritiesLocked(pendingJobs, true); in assignJobsToContextsInternalLocked()
591 for (int i = 0; i < pendingJobs.size(); i++) { in assignJobsToContextsInternalLocked()
592 final JobStatus nextPending = pendingJobs.get(i); in assignJobsToContextsInternalLocked()
742 private void updateNonRunningPrioritiesLocked(@NonNull final List<JobStatus> pendingJobs, in updateNonRunningPrioritiesLocked() argument
744 for (int i = 0; i < pendingJobs.size(); i++) { in updateNonRunningPrioritiesLocked()
745 final JobStatus pending = pendingJobs.get(i); in updateNonRunningPrioritiesLocked()
826 final List<JobStatus> pendingJobs = mService.mPendingJobs; in startJobLocked() local
827 if (pendingJobs.remove(jobStatus)) { in startJobLocked()
849 final List<JobStatus> pendingJobs = mService.mPendingJobs; in onJobCompletedLocked() local
[all …]
DJobSchedulerService.java2516 final List<JobInfo> pendingJobs = new ArrayList<JobInfo>();
2519 pendingJobs.add(job.getJob());
2522 return pendingJobs;
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java261 private boolean isJobIdInUseLockedH(int jobId, List<JobInfo> pendingJobs) { in isJobIdInUseLockedH() argument
262 for (int i = 0, size = pendingJobs.size(); i < size; i++) { in isJobIdInUseLockedH()
263 JobInfo job = pendingJobs.get(i); in isJobIdInUseLockedH()
279 final List<JobInfo> pendingJobs = mJobSchedulerInternal.getSystemScheduledPendingJobs(); in getUnusedJobIdH() local
282 if (!isJobIdInUseLockedH(newJobId, pendingJobs)) { in getUnusedJobIdH()
295 List<JobInfo> pendingJobs = mJobSchedulerInternal.getSystemScheduledPendingJobs(); in getAllPendingSyncs() local
296 final int numJobs = pendingJobs.size(); in getAllPendingSyncs()
299 final JobInfo job = pendingJobs.get(i); in getAllPendingSyncs()
501 List<JobInfo> pendingJobs = mJobScheduler.getAllPendingJobs(); in verifyJobScheduler() local
505 for (JobInfo job : pendingJobs) { in verifyJobScheduler()
[all …]