Searched refs:changedJobs (Results 1 – 8 of 8) sorted by relevance
261 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in maybeUpdateConstraintForUid() local273 changedJobs.add(js); in maybeUpdateConstraintForUid()277 if (changedJobs.size() > 0) { in maybeUpdateConstraintForUid()278 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeUpdateConstraintForUid()407 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in onConstantsUpdatedLocked() local417 changedJobs.addAll(mTrackedJobs.valueAt(u, p)); in onConstantsUpdatedLocked()425 if (changedJobs.size() > 0) { in onConstantsUpdatedLocked()426 mStateChangedListener.onControllerStateChanged(changedJobs); in onConstantsUpdatedLocked()446 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in processExpiredAlarms() local458 changedJobs.addAll(mTrackedJobs.get(p.userId, p.packageName)); in processExpiredAlarms()[all …]
794 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in onConstantsUpdatedLocked() local806 changedJobs.add(js); in onConstantsUpdatedLocked()811 if (changedJobs.size() > 0) { in onConstantsUpdatedLocked()812 mStateChangedListener.onControllerStateChanged(changedJobs); in onConstantsUpdatedLocked()1035 ArraySet<JobStatus> changedJobs = new ArraySet<>(); in processExpiredAlarms() local1048 changedJobs.add(js); in processExpiredAlarms()1051 mStateChangedListener.onControllerStateChanged(changedJobs); in processExpiredAlarms()1071 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in handleMessage() local1084 changedJobs.add(js); in handleMessage()1089 if (changedJobs.size() > 0) { in handleMessage()[all …]
108 final ArraySet<JobStatus> changedJobs = new ArraySet<>();112 changedJobs.add(mAllowInIdleJobs.valueAt(i));115 if (changedJobs.size() > 0) {116 mStateChangedListener.onControllerStateChanged(changedJobs);
283 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in checkExpiredDelaysAndResetAlarm() local295 changedJobs.add(job); in checkExpiredDelaysAndResetAlarm()313 if (changedJobs.size() > 0) { in checkExpiredDelaysAndResetAlarm()314 mStateChangedListener.onControllerStateChanged(changedJobs); in checkExpiredDelaysAndResetAlarm()
1275 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in maybeAdjustRegisteredCallbacksLocked() local1281 changedJobs.addAll(mTrackedJobs.get(us.uid)); in maybeAdjustRegisteredCallbacksLocked()1299 if (changedJobs.size() > 0) { in maybeAdjustRegisteredCallbacksLocked()1300 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeAdjustRegisteredCallbacksLocked()1491 final ArraySet<JobStatus> changedJobs; in updateTrackedJobsLocked() local1493 changedJobs = new ArraySet<>(); in updateTrackedJobsLocked()1496 changedJobs.addAll(mTrackedJobs.valueAt(i)); in updateTrackedJobsLocked()1501 changedJobs = mTrackedJobs.get(filterUid); in updateTrackedJobsLocked()1503 changedJobs = null; in updateTrackedJobsLocked()1506 if (changedJobs != null && changedJobs.size() > 0) { in updateTrackedJobsLocked()[all …]
1679 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in maybeUpdateAllConstraintsLocked() local1685 changedJobs.addAll( in maybeUpdateAllConstraintsLocked()1689 if (changedJobs.size() > 0) { in maybeUpdateAllConstraintsLocked()1690 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeUpdateAllConstraintsLocked()1703 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in maybeUpdateConstraintForPkgLocked() local1705 return changedJobs; in maybeUpdateConstraintForPkgLocked()1720 changedJobs.add(js); in maybeUpdateConstraintForPkgLocked()1729 changedJobs.add(js); in maybeUpdateConstraintForPkgLocked()1735 changedJobs.add(js); in maybeUpdateConstraintForPkgLocked()1741 changedJobs.add(js); in maybeUpdateConstraintForPkgLocked()[all …]
39 void onControllerStateChanged(@Nullable ArraySet<JobStatus> changedJobs); in onControllerStateChanged() argument
3298 public void onControllerStateChanged(@Nullable ArraySet<JobStatus> changedJobs) {3299 if (changedJobs == null) {3304 } else if (changedJobs.size() > 0) {3306 mChangedJobList.addAll(changedJobs);3310 for (int i = changedJobs.size() - 1; i >= 0; --i) {3311 final JobStatus job = changedJobs.valueAt(i);