Home
last modified time | relevance | path

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

/frameworks/base/tools/powerstats/
DPowerStatsServiceProtoParser.java75 int energyConsumerCount = proto.getEnergyConsumerCount(); in printEnergyConsumerResults() local
77 if (energyConsumerCount > 0) { in printEnergyConsumerResults()
79 int energyConsumerResultSetCount = energyConsumerResultCount / energyConsumerCount; in printEnergyConsumerResults()
83 for (int j = 0; j < energyConsumerCount; j++) { in printEnergyConsumerResults()
85 proto.getEnergyConsumerResult(i * energyConsumerCount + j); in printEnergyConsumerResults()
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsProcessor.java213 int energyConsumerCount = mStatsLayout.getEnergyConsumerCount(); in initEnergyConsumerToPowerBracketMaps() local
216 mEnergyConsumerToCombinedEnergyConsumerMap = new int[energyConsumerCount]; in initEnergyConsumerToPowerBracketMaps()
217 mCombinedEnergyConsumerToPowerBracketMap = new int[energyConsumerCount][]; in initEnergyConsumerToPowerBracketMaps()
220 if (energyConsumerCount == policies.length) { in initEnergyConsumerToPowerBracketMaps()
352 int energyConsumerCount = mStatsLayout.getEnergyConsumerCount(); in estimatePowerByDeviceState() local
377 if (energyConsumerCount != 0) { in estimatePowerByDeviceState()
393 int energyConsumerCount = mStatsLayout.getEnergyConsumerCount(); in adjustEstimatesUsingEnergyConsumers() local
394 if (energyConsumerCount == 0) { in adjustEstimatesUsingEnergyConsumers()
399 intermediates.powerByEnergyConsumer = new long[energyConsumerCount]; in adjustEstimatesUsingEnergyConsumers()
403 for (int i = 0; i < energyConsumerCount; i++) { in adjustEstimatesUsingEnergyConsumers()
DPowerStatsLayout.java162 public void addDeviceSectionEnergyConsumers(int energyConsumerCount) { in addDeviceSectionEnergyConsumers() argument
163 mDeviceEnergyConsumerPosition = addDeviceSection(energyConsumerCount, "energy", in addDeviceSectionEnergyConsumers()
165 mDeviceEnergyConsumerCount = energyConsumerCount; in addDeviceSectionEnergyConsumers()