Searched refs:taskStatus (Results 1 – 3 of 3) sorted by relevance
82 public void maybeStartTrackingJob(JobStatus taskStatus) { in maybeStartTrackingJob() argument84 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() argument94 if (taskStatus.hasChargingConstraint()) { in maybeStopTrackingJob()96 mTrackedTasks.remove(taskStatus); in maybeStopTrackingJob()
70 public void maybeStartTrackingJob(JobStatus taskStatus) { in maybeStartTrackingJob() argument71 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() argument82 mTrackedTasks.remove(taskStatus); in maybeStopTrackingJob()
134 JobStatus taskStatus = new JobStatus(task, SOME_UID); in testWritingTaskWithExtras() local136 mTaskStoreUnderTest.add(taskStatus); in testWritingTaskWithExtras()