Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBinaryStatePowerStatsProcessorTest.java174 statsLayout.setConsumedEnergy(powerStats.stats, 0, 2_160_000); in energyConsumerModel()
180 statsLayout.setConsumedEnergy(powerStats.stats, 0, 1_440_000); in energyConsumerModel()
DCpuPowerStatsCollectorTest.java237 layout.setConsumedEnergy(deviceStats, 1, 43); in powerStatsDescriptor()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsLayout.java176 public void setConsumedEnergy(long[] stats, int index, long energy) { in setConsumedEnergy() method in PowerStatsLayout
DBinaryStatePowerStatsProcessor.java150 mStatsLayout.setConsumedEnergy(mPowerStats.stats, 0, consumedEnergy); in addPowerStats()
DBluetoothPowerStatsCollector.java322 mLayout.setConsumedEnergy(mPowerStats.stats, i, uJtoUc(energyDelta, averageVoltage)); in collectEnergyConsumers()
DWifiPowerStatsCollector.java321 mLayout.setConsumedEnergy(mPowerStats.stats, i, uJtoUc(energyDelta, averageVoltage)); in collectEnergyConsumers()
DMobileRadioPowerStatsCollector.java358 mLayout.setConsumedEnergy(mPowerStats.stats, i, uJtoUc(energyDelta, averageVoltage)); in collectEnergyConsumers()
DCpuPowerStatsCollector.java401 mLayout.setConsumedEnergy(mCpuPowerStats.stats, i, uJtoUc(energyDelta, averageVoltage)); in collectEnergyConsumers()