Searched refs:setChargingConstraintSatisfied (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | JobStatusTest.java | 854 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedCharging() 856 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), true); in testWouldBeReadyWithConstraint_RequestedCharging() 860 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedCharging() 862 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), true); in testWouldBeReadyWithConstraint_RequestedCharging() 1029 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() 1035 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), true); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() 1045 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() 1053 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), true); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() 1060 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() 1067 job.setChargingConstraintSatisfied(sElapsedRealtimeClock.millis(), false); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | BatteryController.java | 82 taskStatus.setChargingConstraintSatisfied(nowElapsed, in maybeStartTrackingJobLocked() 85 taskStatus.setChargingConstraintSatisfied(nowElapsed, in maybeStartTrackingJobLocked() 204 if (ts.setChargingConstraintSatisfied(nowElapsed, powerConnected)) { in maybeReportNewChargingStateLocked() 207 } else if (ts.setChargingConstraintSatisfied(nowElapsed, stablePower)) { in maybeReportNewChargingStateLocked()
|
D | JobStatus.java | 1807 boolean setChargingConstraintSatisfied(final long nowElapsed, boolean state) { in setChargingConstraintSatisfied() method in JobStatus
|
/frameworks/base/services/ |
D | art-wear-profile | 13333 PLcom/android/server/job/controllers/JobStatus;->setChargingConstraintSatisfied(JZ)Z
|