Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java78 private final SparseArray<ArraySet<JobStatus>> mTrackedJobs = new SparseArray<>(); field in ConnectivityController
117 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStartTrackingJobLocked()
120 mTrackedJobs.put(jobStatus.getSourceUid(), jobs); in maybeStartTrackingJobLocked()
132 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStopTrackingJobLocked()
261 ArraySet<JobStatus> jobs = mTrackedJobs.get(uid); in reevaluateStateLocked()
311 mTrackedJobs.delete(uid); in onAppRemovedLocked()
461 for (int i = mTrackedJobs.size() - 1; i >= 0; i--) { in updateTrackedJobs()
462 changed |= updateTrackedJobsLocked(mTrackedJobs.valueAt(i), in updateTrackedJobs()
466 changed = updateTrackedJobsLocked(mTrackedJobs.get(filterUid), in updateTrackedJobs()
511 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()
162 if (mTrackedJobs.remove(job)) { in maybeStopTrackingJobLocked()
249 ListIterator<JobStatus> it = mTrackedJobs.listIterator(); in checkExpiredDeadlinesAndResetAlarm()
310 Iterator<JobStatus> it = mTrackedJobs.iterator(); in checkExpiredDelaysAndResetAlarm()
572 for (JobStatus ts : mTrackedJobs) { in dumpControllerStateLocked()
609 for (JobStatus ts : mTrackedJobs) { in dumpControllerStateLocked()
DQuotaController.java380 private final UserPackageMap<ArraySet<JobStatus>> mTrackedJobs = new UserPackageMap<>(); field in QuotaController
611 ArraySet<JobStatus> jobs = mTrackedJobs.get(userId, pkgName); in maybeStartTrackingJobLocked()
614 mTrackedJobs.add(userId, pkgName, jobs); in maybeStartTrackingJobLocked()
666 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUserId(), in maybeStopTrackingJobLocked()
696 mTrackedJobs.delete(userId, packageName); in onAppRemovedLocked()
718 mTrackedJobs.delete(userId); in onUserRemovedLocked()
1246 for (int u = 0; u < mTrackedJobs.numUsers(); ++u) { in maybeUpdateAllConstraintsLocked()
1247 final int userId = mTrackedJobs.keyAt(u); in maybeUpdateAllConstraintsLocked()
1248 for (int p = 0; p < mTrackedJobs.numPackagesForUser(userId); ++p) { in maybeUpdateAllConstraintsLocked()
1249 final String packageName = mTrackedJobs.keyAt(u, p); in maybeUpdateAllConstraintsLocked()
[all …]