Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DContentObserverController.java193 final ArraySet<JobInstance> mJobs = new ArraySet<>(); field in ContentObserverController.ObserverInstance
209 final int N = mJobs.size(); in onChange()
211 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()
382 int M = obs.mJobs.size(); in dumpControllerStateLocked()
385 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked()
405 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked()
478 int m = obs.mJobs.size(); in dumpControllerStateLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java1054 final SparseArray<ArraySet<JobStatus>> mJobs; field in JobStore.JobSet
1060 mJobs = new SparseArray<ArraySet<JobStatus>>(); in JobSet()
1066 ArraySet<JobStatus> jobs = mJobs.get(uid); in getJobsByUid()
1090 ArraySet<JobStatus> jobs = mJobs.get(uid); in add()
1093 mJobs.put(uid, jobs); in add()
1111 final ArraySet<JobStatus> jobs = mJobs.get(uid); in remove()
1123 mJobs.remove(uid); in remove()
1147 for (int jobSetIndex = mJobs.size() - 1; jobSetIndex >= 0; jobSetIndex--) { in removeAll()
1148 final ArraySet<JobStatus> jobs = mJobs.valueAt(jobSetIndex); in removeAll()
1155 mJobs.removeAt(jobSetIndex); in removeAll()
[all …]
DJobSchedulerService.java160 final JobStore mJobs; field in JobSchedulerService
892 jobsForUid = mJobs.getJobsByUid(pkgUid);
953 return mJobs; in getJobStore()
1008 final JobStatus toCancel = mJobs.getJobByUidAndJobId(uId, job.getId()); in scheduleAsPackage()
1036 if (mJobs.countJobsForUid(uId) > MAX_JOBS_PER_APP) { in scheduleAsPackage()
1087 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJobs()
1099 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJob()
1112 final List<JobStatus> jobsForUser = mJobs.getJobsByUser(userHandle); in cancelJobsForUser()
1123 mJobs.removeJobsOfNonUsers(umi.getUserIds()); in cancelJobsForNonExistentUsers()
1133 final List<JobStatus> jobsForUid = mJobs.getJobsByUid(uid); in cancelJobsForPackageAndUid()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobSetTest.java96 assertHaveSameJobs(mJobSet.mJobsPerSourceUid, mJobSet.mJobs); in testBothMapsHaveSameJobs()
99 assertHaveSameJobs(mJobSet.mJobsPerSourceUid, mJobSet.mJobs); in testBothMapsHaveSameJobs()
101 assertHaveSameJobs(mJobSet.mJobsPerSourceUid, mJobSet.mJobs); in testBothMapsHaveSameJobs()
103 assertTrue("mJobs should be empty", mJobSet.mJobs.size() == 0); in testBothMapsHaveSameJobs()
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.cpp64 Mutexed<Jobs>::Locked jobs(mJobs); in queue()
76 Mutexed<Jobs>::Locked jobs(mJobs); in threadLoop()
161 Mutexed<Jobs> mJobs; member in android::C2OMXNode::QueueThread