Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java82 public void maybeStartTrackingJob(JobStatus taskStatus) { in maybeStartTrackingJob() argument
84 if (taskStatus.hasChargingConstraint()) { in maybeStartTrackingJob()
86 mTrackedTasks.add(taskStatus); in maybeStartTrackingJob()
87 taskStatus.chargingConstraintSatisfied.set(isOnStablePower); in maybeStartTrackingJob()
93 public void maybeStopTrackingJob(JobStatus taskStatus) { in maybeStopTrackingJob() argument
94 if (taskStatus.hasChargingConstraint()) { in maybeStopTrackingJob()
96 mTrackedTasks.remove(taskStatus); in maybeStopTrackingJob()
DIdleController.java70 public void maybeStartTrackingJob(JobStatus taskStatus) { in maybeStartTrackingJob() argument
71 if (taskStatus.hasIdleConstraint()) { in maybeStartTrackingJob()
73 mTrackedTasks.add(taskStatus); in maybeStartTrackingJob()
74 taskStatus.idleConstraintSatisfied.set(mIdleTracker.isIdle()); in maybeStartTrackingJob()
80 public void maybeStopTrackingJob(JobStatus taskStatus) { in maybeStopTrackingJob() argument
82 mTrackedTasks.remove(taskStatus); in maybeStopTrackingJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java134 JobStatus taskStatus = new JobStatus(task, SOME_UID); in testWritingTaskWithExtras() local
136 mTaskStoreUnderTest.add(taskStatus); in testWritingTaskWithExtras()