Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java801 private SparseArray<ArraySet<JobStatus>> mJobs; field in JobStore.JobSet
804 mJobs = new SparseArray<ArraySet<JobStatus>>(); in JobSet()
809 ArraySet<JobStatus> jobs = mJobs.get(uid); in getJobsByUid()
819 for (int i = mJobs.size() - 1; i >= 0; i--) { in getJobsByUser()
820 if (UserHandle.getUserId(mJobs.keyAt(i)) == userId) { in getJobsByUser()
821 ArraySet<JobStatus> jobs = mJobs.valueAt(i); in getJobsByUser()
832 ArraySet<JobStatus> jobs = mJobs.get(uid); in add()
835 mJobs.put(uid, jobs); in add()
842 ArraySet<JobStatus> jobs = mJobs.get(uid); in remove()
846 mJobs.remove(uid); in remove()
[all …]
DJobSchedulerService.java122 final JobStore mJobs; field in JobSchedulerService
572 jobsForUid = mJobs.getJobsByUid(pkgUid);
633 return mJobs; in getJobStore()
666 final JobStatus toCancel = mJobs.getJobByUidAndJobId(uId, job.getId()); in scheduleAsPackage()
681 if (mJobs.countJobsForUid(uId) > MAX_JOBS_PER_APP) { in scheduleAsPackage()
722 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJobs()
734 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJob()
747 final List<JobStatus> jobsForUser = mJobs.getJobsByUser(userHandle); in cancelJobsForUser()
758 mJobs.removeJobsOfNonUsers(umi.getUserIds()); in cancelJobsForNonExistentUsers()
764 final List<JobStatus> jobsForUid = mJobs.getJobsByUid(uid); in cancelJobsForPackageAndUid()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DContentObserverController.java210 final ArraySet<JobInstance> mJobs = new ArraySet<>(); field in ContentObserverController.ObserverInstance
226 final int N = mJobs.size(); in onChange()
228 JobInstance inst = mJobs.valueAt(i); in onChange()
307 obs.mJobs.add(this); in JobInstance()
356 obs.mJobs.remove(this); in detachLocked()
357 if (obs.mJobs.size() == 0) { in detachLocked()
396 int M = obs.mJobs.size(); in dumpControllerStateLocked()
399 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked()
418 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked()