Searched refs:uidEnergies (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | CustomEnergyConsumerPowerCalculatorTest.java | 58 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()
|
D | EnergyConsumerSnapshotTest.java | 279 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/ |
D | BatteryExternalStatsWorker.java | 751 SparseLongArray uidEnergies = energyConsumerDeltas.otherUidChargesUC[ord]; 752 mStats.updateCustomEnergyConsumerStatsLocked(ord, totalEnergy, uidEnergies);
|