Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DInternalResourceService.java762 final long newConsumptionLimit = Math.min(currentConsumptionLimit + shortfall, in maybePerformQuantitativeEasingLocked() local
764 if (newConsumptionLimit != currentConsumptionLimit) { in maybePerformQuantitativeEasingLocked()
766 + " to " + cakeToString(newConsumptionLimit)); in maybePerformQuantitativeEasingLocked()
767 mScribe.setConsumptionLimitLocked(newConsumptionLimit); in maybePerformQuantitativeEasingLocked()
816 final long newConsumptionLimit; in maybeAdjustDesiredStockLevelLocked() local
820 newConsumptionLimit = Math.min((long) (currentConsumptionLimit * 1.01), in maybeAdjustDesiredStockLevelLocked()
825 newConsumptionLimit = Math.max((long) (currentConsumptionLimit * .98), in maybeAdjustDesiredStockLevelLocked()
832 if (newConsumptionLimit != currentConsumptionLimit) { in maybeAdjustDesiredStockLevelLocked()
834 + " to " + cakeToString(newConsumptionLimit) in maybeAdjustDesiredStockLevelLocked()
836 mScribe.setConsumptionLimitLocked(newConsumptionLimit); in maybeAdjustDesiredStockLevelLocked()