Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java71 taskStatus.setBatteryNotLowConstraintSatisfied(mChargeTracker.isBatteryNotLow()); in maybeStartTrackingJobLocked()
95 previous = ts.setBatteryNotLowConstraintSatisfied(batteryNotLow); in maybeReportNewChargingStateLocked()
DJobStatus.java939 boolean setBatteryNotLowConstraintSatisfied(boolean state) { in setBatteryNotLowConstraintSatisfied() method in JobStatus
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java198 job.setBatteryNotLowConstraintSatisfied(false); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()
200 job.setBatteryNotLowConstraintSatisfied(true); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()
204 job.setBatteryNotLowConstraintSatisfied(false); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()
206 job.setBatteryNotLowConstraintSatisfied(true); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()