Home
last modified time | relevance | path

Searched refs:customPowerComponentCount (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/
H A DPowerComponents.java96 if (index >= 0 && index < mData.layout.customPowerComponentCount) { in getConsumedPowerForCustomComponent()
106 if (index >= 0 && index < mData.layout.customPowerComponentCount) { in getCustomPowerComponentName()
147 if (index >= 0 && index < mData.layout.customPowerComponentCount) { in getUsageDurationForCustomComponentMillis()
182 final int customComponentCount = mData.layout.customPowerComponentCount; in dump()
249 for (int idx = 0; idx < mData.layout.customPowerComponentCount; idx++) { in writeStatsProtoImpl()
361 + mData.layout.customPowerComponentCount; in writeToXml()
503 if (index < 0 || index >= mData.layout.customPowerComponentCount) { in setConsumedPowerForCustomComponent()
547 if (mData.layout.customPowerComponentCount in addPowerAndDuration()
548 != otherData.layout.customPowerComponentCount) { in addPowerAndDuration()
551 + otherData.layout.customPowerComponentCount in addPowerAndDuration()
[all …]
H A DBatteryConsumer.java409 return mData.layout.customPowerComponentCount; in getCustomPowerComponentCount()
686 public final int customPowerComponentCount; field in BatteryConsumer.BatteryConsumerDataLayout
699 this.customPowerComponentCount = customPowerComponentNames.length; in BatteryConsumerDataLayout()
773 columnIndex += customPowerComponentCount; in BatteryConsumerDataLayout()
776 columnIndex += customPowerComponentCount; in BatteryConsumerDataLayout()