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.java775 private SparseArray<ArraySet<JobStatus>> mJobs; field in JobStore.JobSet
778 mJobs = new SparseArray<ArraySet<JobStatus>>(); in JobSet()
783 ArraySet<JobStatus> jobs = mJobs.get(uid); in getJobsByUid()
793 for (int i = mJobs.size() - 1; i >= 0; i--) { in getJobsByUser()
794 if (UserHandle.getUserId(mJobs.keyAt(i)) == userId) { in getJobsByUser()
795 ArraySet<JobStatus> jobs = mJobs.get(i); in getJobsByUser()
806 ArraySet<JobStatus> jobs = mJobs.get(uid); in add()
809 mJobs.put(uid, jobs); in add()
816 ArraySet<JobStatus> jobs = mJobs.get(uid); in remove()
820 mJobs.remove(uid); in remove()
[all …]
DJobSchedulerService.java117 final JobStore mJobs; field in JobSchedulerService
484 return mJobs; in getJobStore()
533 if (mJobs.countJobsForUid(uId) > MAX_JOBS_PER_APP) { in scheduleAsPackage()
540 toCancel = mJobs.getJobByUidAndJobId(uId, job.getId()); in scheduleAsPackage()
552 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJobs()
564 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJob()
578 jobsForUser = mJobs.getJobsByUser(userHandle); in cancelJobsForUser()
597 jobsForUid = mJobs.getJobsByUid(uid); in cancelJobsForUid()
625 toCancel = mJobs.getJobByUidAndJobId(uid, jobId); in cancelJob()
730 mJobs = JobStore.initAndGet(this); in JobSchedulerService()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DContentObserverController.java206 final ArraySet<JobInstance> mJobs = new ArraySet<>(); field in ContentObserverController.ObserverInstance
220 final int N = mJobs.size(); in onChange()
222 JobInstance inst = mJobs.valueAt(i); in onChange()
290 obs.mJobs.add(this); in JobInstance()
339 obs.mJobs.remove(this); in detachLocked()
340 if (obs.mJobs.size() == 0) { in detachLocked()
371 int M = obs.mJobs.size(); in dumpControllerStateLocked()
374 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked()
393 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked()