Searched refs:taskStatus (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ContentObserverController.java | 88 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() argument 89 if (taskStatus.hasContentTriggerConstraint()) { in maybeStartTrackingJobLocked() 90 if (taskStatus.contentObserverJobInstance == null) { in maybeStartTrackingJobLocked() 91 taskStatus.contentObserverJobInstance = new JobInstance(taskStatus); in maybeStartTrackingJobLocked() 94 Slog.i(TAG, "Tracking content-trigger job " + taskStatus); in maybeStartTrackingJobLocked() 96 mTrackedTasks.add(taskStatus); in maybeStartTrackingJobLocked() 100 if (taskStatus.contentObserverJobInstance.mChangedAuthorities != null) { in maybeStartTrackingJobLocked() 105 if (taskStatus.changedAuthorities != null) { in maybeStartTrackingJobLocked() 107 if (taskStatus.contentObserverJobInstance.mChangedAuthorities == null) { in maybeStartTrackingJobLocked() 108 taskStatus.contentObserverJobInstance.mChangedAuthorities in maybeStartTrackingJobLocked() [all …]
|
D | BatteryController.java | 82 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() argument 84 if (taskStatus.hasChargingConstraint()) { in maybeStartTrackingJobLocked() 85 mTrackedTasks.add(taskStatus); in maybeStartTrackingJobLocked() 86 taskStatus.setChargingConstraintSatisfied(isOnStablePower); in maybeStartTrackingJobLocked() 91 …public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, boolean forUpd… in maybeStopTrackingJobLocked() argument 92 if (taskStatus.hasChargingConstraint()) { in maybeStopTrackingJobLocked() 93 mTrackedTasks.remove(taskStatus); in maybeStopTrackingJobLocked()
|
D | IdleController.java | 69 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() argument 70 if (taskStatus.hasIdleConstraint()) { in maybeStartTrackingJobLocked() 71 mTrackedTasks.add(taskStatus); in maybeStartTrackingJobLocked() 72 taskStatus.setIdleConstraintSatisfied(mIdleTracker.isIdle()); in maybeStartTrackingJobLocked() 77 …public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, boolean forUpd… in maybeStopTrackingJobLocked() argument 78 mTrackedTasks.remove(taskStatus); in maybeStopTrackingJobLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 144 JobStatus taskStatus = JobStatus.createFromJobInfo(task, SOME_UID, null, -1, null); in testWritingTaskWithExtras() local 146 mTaskStoreUnderTest.add(taskStatus); in testWritingTaskWithExtras() 161 JobStatus taskStatus = JobStatus.createFromJobInfo(b.build(), SOME_UID, in testWritingTaskWithSourcePackage() local 164 mTaskStoreUnderTest.add(taskStatus); in testWritingTaskWithSourcePackage() 172 taskStatus.getSourcePackageName()); in testWritingTaskWithSourcePackage() 174 taskStatus.getSourceUserId()); in testWritingTaskWithSourcePackage() 183 JobStatus taskStatus = JobStatus.createFromJobInfo(b.build(), SOME_UID, null, -1, null); in testWritingTaskWithFlex() local 185 mTaskStoreUnderTest.add(taskStatus); in testWritingTaskWithFlex() 193 taskStatus.getJob().getIntervalMillis()); in testWritingTaskWithFlex() 195 taskStatus.getJob().getFlexMillis()); in testWritingTaskWithFlex()
|