Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DInternalResourceService.java759 final long currentConsumptionLimit = mScribe.getSatiatedConsumptionLimitLocked(); in maybePerformQuantitativeEasingLocked() local
761 * currentConsumptionLimit / 100; in maybePerformQuantitativeEasingLocked()
762 final long newConsumptionLimit = Math.min(currentConsumptionLimit + shortfall, in maybePerformQuantitativeEasingLocked()
764 if (newConsumptionLimit != currentConsumptionLimit) { in maybePerformQuantitativeEasingLocked()
765 Slog.i(TAG, "Increasing consumption limit from " + cakeToString(currentConsumptionLimit) in maybePerformQuantitativeEasingLocked()
815 final long currentConsumptionLimit = mScribe.getSatiatedConsumptionLimitLocked(); 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()
833 Slog.i(TAG, "Adjusting consumption limit from " + cakeToString(currentConsumptionLimit) in maybeAdjustDesiredStockLevelLocked()