Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobSetTest.java59 private JobStore.JobSet mJobSet; field in JobSetTest
65 mJobSet = new JobStore.JobSet(); in setUp()
91 mJobSet.add(testJob1); in testBothMapsHaveSameJobs()
92 mJobSet.add(testJob2); in testBothMapsHaveSameJobs()
94 mJobSet.add(getJobStatusWithCallinUid(i, (i%2 == 0) ? callingUid2 : callingUid1)); in testBothMapsHaveSameJobs()
96 assertHaveSameJobs(mJobSet.mJobsPerSourceUid, mJobSet.mJobs); in testBothMapsHaveSameJobs()
97 mJobSet.remove(testJob1); in testBothMapsHaveSameJobs()
98 mJobSet.remove(testJob2); in testBothMapsHaveSameJobs()
99 assertHaveSameJobs(mJobSet.mJobsPerSourceUid, mJobSet.mJobs); in testBothMapsHaveSameJobs()
100 mJobSet.removeJobsOfNonUsers(new int[] {mContext.getUserId(), SECONDARY_USER_ID_1}); in testBothMapsHaveSameJobs()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java93 final JobSet mJobSet; // per-caller-uid and per-source-uid tracking field in JobStore
148 mJobSet = new JobSet(); in JobStore()
164 readJobMapFromDisk(mJobSet, mRtcGood); in JobStore()
209 boolean replaced = mJobSet.remove(jobStatus); in add()
210 mJobSet.add(jobStatus); in add()
221 return mJobSet.contains(jobStatus); in containsJob()
225 return mJobSet.size(); in size()
233 return mJobSet.countJobsForUid(uid); in countJobsForUid()
242 boolean removed = mJobSet.remove(jobStatus); in remove()
260 mJobSet.removeJobsOfNonUsers(whitelist); in removeJobsOfNonUsers()
[all …]
DJobSchedulerService.java3288 final List<JobStatus> jobs = mJobs.mJobSet.getAllJobs(); in dumpInternal()
3472 final List<JobStatus> jobs = mJobs.mJobSet.getAllJobs(); in dumpInternalProto()