Home
last modified time | relevance | path

Searched refs:changedJobs (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DPrefetchController.java261 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in maybeUpdateConstraintForUid() local
273 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() local
417 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() local
458 changedJobs.addAll(mTrackedJobs.get(p.userId, p.packageName)); in processExpiredAlarms()
[all …]
DFlexibilityController.java794 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in onConstantsUpdatedLocked() local
806 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() local
1048 changedJobs.add(js); in processExpiredAlarms()
1051 mStateChangedListener.onControllerStateChanged(changedJobs); in processExpiredAlarms()
1071 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in handleMessage() local
1084 changedJobs.add(js); in handleMessage()
1089 if (changedJobs.size() > 0) { in handleMessage()
[all …]
DDeviceIdleJobsController.java108 final ArraySet<JobStatus> changedJobs = new ArraySet<>();
112 changedJobs.add(mAllowInIdleJobs.valueAt(i));
115 if (changedJobs.size() > 0) {
116 mStateChangedListener.onControllerStateChanged(changedJobs);
DTimeController.java283 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in checkExpiredDelaysAndResetAlarm() local
295 changedJobs.add(job); in checkExpiredDelaysAndResetAlarm()
313 if (changedJobs.size() > 0) { in checkExpiredDelaysAndResetAlarm()
314 mStateChangedListener.onControllerStateChanged(changedJobs); in checkExpiredDelaysAndResetAlarm()
DConnectivityController.java1275 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in maybeAdjustRegisteredCallbacksLocked() local
1281 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() local
1493 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 …]
DQuotaController.java1679 final ArraySet<JobStatus> changedJobs = new ArraySet<>(); in maybeUpdateAllConstraintsLocked() local
1685 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() local
1705 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 …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DStateChangedListener.java39 void onControllerStateChanged(@Nullable ArraySet<JobStatus> changedJobs); in onControllerStateChanged() argument
DJobSchedulerService.java3298 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);