Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/android/power/
DPowerStatsInternal.java57 public abstract CompletableFuture<EnergyConsumerResult[]> getEnergyConsumedAsync( in getEnergyConsumedAsync() method in PowerStatsInternal
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DPmicMonitor.java112 mPowerStatsInternal.getEnergyConsumedAsync(energyConsumerIds.toArray()); in capturePeriodicDisplayPower()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsCollectorTest.java175 when(powerStatsInternal.getEnergyConsumedAsync(eq(new int[]{1, 2}))) in mockEnergyConsumers()
DBatteryExternalStatsWorkerTest.java255 public CompletableFuture<EnergyConsumerResult[]> getEnergyConsumedAsync( in getEnergyConsumedAsync() method in BatteryExternalStatsWorkerTest.TestPowerStatsInternal
/frameworks/base/services/core/java/com/android/server/powerstats/
DPowerStatsService.java405 public CompletableFuture<EnergyConsumerResult[]> getEnergyConsumedAsync( in getEnergyConsumedAsync() method in PowerStatsService.LocalService
409 () -> PowerStatsService.this.getEnergyConsumedAsync(future, energyConsumerIds)); in getEnergyConsumedAsync()
442 private void getEnergyConsumedAsync(CompletableFuture<EnergyConsumerResult[]> future, in getEnergyConsumedAsync() method in PowerStatsService
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsCollector.java280 mPowerStatsInternal.getEnergyConsumedAsync(energyConsumerIds); in getConsumedEnergyUws()
DBatteryExternalStatsWorker.java961 return mPowerStatsInternal.getEnergyConsumedAsync(consumerIds);