Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java80 private final SparseArray<ArraySet<JobStatus>> mTrackedJobs = new SparseArray<>(); field in ConnectivityController
120 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStartTrackingJobLocked()
123 mTrackedJobs.put(jobStatus.getSourceUid(), jobs); in maybeStartTrackingJobLocked()
135 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStopTrackingJobLocked()
260 ArraySet<JobStatus> jobs = mTrackedJobs.get(uid); in reevaluateStateLocked()
310 mTrackedJobs.delete(uid); in onAppRemovedLocked()
479 for (int i = mTrackedJobs.size() - 1; i >= 0; i--) { in updateTrackedJobs()
480 changed |= updateTrackedJobsLocked(mTrackedJobs.valueAt(i), in updateTrackedJobs()
484 changed = updateTrackedJobsLocked(mTrackedJobs.get(filterUid), in updateTrackedJobs()
528 for (int i = mTrackedJobs.size()-1; i >= 0; i--) { in onNetworkActive()
[all …]
DTimeController.java76 private final List<JobStatus> mTrackedJobs = new LinkedList<>(); field in TimeController
120 ListIterator<JobStatus> it = mTrackedJobs.listIterator(mTrackedJobs.size()); in maybeStartTrackingJobLocked()
158 if (mTrackedJobs.remove(job)) { in maybeStopTrackingJobLocked()
241 ListIterator<JobStatus> it = mTrackedJobs.listIterator(); in checkExpiredDeadlinesAndResetAlarm()
300 Iterator<JobStatus> it = mTrackedJobs.iterator(); in checkExpiredDelaysAndResetAlarm()
534 for (JobStatus ts : mTrackedJobs) { in dumpControllerStateLocked()
571 for (JobStatus ts : mTrackedJobs) { in dumpControllerStateLocked()
DQuotaController.java299 private final SparseArrayMap<ArraySet<JobStatus>> mTrackedJobs = new SparseArrayMap<>(); field in QuotaController
522 ArraySet<JobStatus> jobs = mTrackedJobs.get(userId, pkgName); in maybeStartTrackingJobLocked()
525 mTrackedJobs.add(userId, pkgName, jobs); in maybeStartTrackingJobLocked()
571 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUserId(), in maybeStopTrackingJobLocked()
593 mTrackedJobs.delete(userId); in onUserRemovedLocked()
603 mTrackedJobs.delete(userId, packageName); in clearAppStats()
1171 for (int u = 0; u < mTrackedJobs.numMaps(); ++u) { in maybeUpdateAllConstraintsLocked()
1172 final int userId = mTrackedJobs.keyAt(u); in maybeUpdateAllConstraintsLocked()
1173 for (int p = 0; p < mTrackedJobs.numElementsForKey(userId); ++p) { in maybeUpdateAllConstraintsLocked()
1174 final String packageName = mTrackedJobs.keyAt(u, p); in maybeUpdateAllConstraintsLocked()
[all …]