Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DBatteryController.java100 taskStatus.setBatteryNotLowConstraintSatisfied(nowElapsed, mService.isBatteryNotLow()); in maybeStartTrackingJobLocked()
223 && ts.setBatteryNotLowConstraintSatisfied(nowElapsed, batteryNotLow)) { in maybeReportNewChargingStateLocked()
H A DJobStatus.java1696 boolean setBatteryNotLowConstraintSatisfied(final long nowElapsed, boolean state) { in setBatteryNotLowConstraintSatisfied() method in JobStatus
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DJobStatusTest.java814 job.setBatteryNotLowConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()
816 job.setBatteryNotLowConstraintSatisfied(sElapsedRealtimeClock.millis(), true); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()
820 job.setBatteryNotLowConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()
822 job.setBatteryNotLowConstraintSatisfied(sElapsedRealtimeClock.millis(), true); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow()
/aosp14/frameworks/base/services/
H A Dart-profile4587 HSPLcom/android/server/job/controllers/JobStatus;->setBatteryNotLowConstraintSatisfied(JZ)Z