Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DCustomEnergyConsumerPowerCalculatorTest.java58 SparseLongArray uidEnergies = new SparseLongArray(); in testMeasuredEnergyCopiedIntoBatteryConsumers() local
59 uidEnergies.put(APP_UID, 30_000_000); in testMeasuredEnergyCopiedIntoBatteryConsumers()
60 batteryStats.updateCustomEnergyConsumerStatsLocked(0, 100_000_000, uidEnergies); in testMeasuredEnergyCopiedIntoBatteryConsumers()
62 uidEnergies.put(APP_UID, 120_000_000); in testMeasuredEnergyCopiedIntoBatteryConsumers()
63 batteryStats.updateCustomEnergyConsumerStatsLocked(1, 200_000_000, uidEnergies); in testMeasuredEnergyCopiedIntoBatteryConsumers()
DEnergyConsumerSnapshotTest.java279 int id, long energyUWs, int[] uids, long[] uidEnergies) { in createEnergyConsumerResult() argument
288 ecr.attribution[i].energyUWs = uidEnergies[i]; in createEnergyConsumerResult()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java751 SparseLongArray uidEnergies = energyConsumerDeltas.otherUidChargesUC[ord];
752 mStats.updateCustomEnergyConsumerStatsLocked(ord, totalEnergy, uidEnergies);