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.removeJobsOfUnlistedUsers(new int[] {mContext.getUserId(), SECONDARY_USER_ID_1}); in testBothMapsHaveSameJobs()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java111 final JobSet mJobSet; // per-caller-uid and per-source-uid tracking field in JobStore
155 mScheduledJob30MinHighWaterMark = mJobSet.size();
200 mJobSet = new JobSet(); in JobStore()
222 readJobMapFromDisk(mJobSet, mRtcGood); in init()
226 mIoHandler.post(new ReadJobMapFromDiskRunnable(mJobSet, mRtcGood, completionLatch)); in initAsync()
288 if (mJobSet.add(jobStatus)) { in add()
306 if (mJobSet.add(jobStatus)) { in addForTesting()
316 return mJobSet.contains(jobStatus); in containsJob()
320 return mJobSet.size(); in size()
328 return mJobSet.countJobsForUid(uid); in countJobsForUid()
[all …]
DJobSchedulerService.java5891 final List<JobStatus> jobs = mJobs.mJobSet.getAllJobs();
6207 final List<JobStatus> jobs = mJobs.mJobSet.getAllJobs();