Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPowerComponents.java98 if (index >= 0 && index < mData.layout.customPowerComponentCount) { in getConsumedPowerForCustomComponent()
108 if (index >= 0 && index < mData.layout.customPowerComponentCount) { in getCustomPowerComponentName()
149 if (index >= 0 && index < mData.layout.customPowerComponentCount) { in getUsageDurationForCustomComponentMillis()
184 final int customComponentCount = mData.layout.customPowerComponentCount; in dump()
251 for (int idx = 0; idx < mData.layout.customPowerComponentCount; idx++) { in writeStatsProtoImpl()
363 + mData.layout.customPowerComponentCount; in writeToXml()
510 if (index < 0 || index >= mData.layout.customPowerComponentCount) { in setConsumedPowerForCustomComponent()
535 if (index < 0 || index >= mData.layout.customPowerComponentCount) { in setUsageDurationForCustomComponentMillis()
554 if (mData.layout.customPowerComponentCount in addPowerAndDuration()
555 != otherData.layout.customPowerComponentCount) { in addPowerAndDuration()
[all …]
DBatteryConsumer.java413 return mData.layout.customPowerComponentCount; in getCustomPowerComponentCount()
691 public final int customPowerComponentCount; field in BatteryConsumer.BatteryConsumerDataLayout
704 this.customPowerComponentCount = customPowerComponentNames.length; in BatteryConsumerDataLayout()
782 columnIndex += customPowerComponentCount; in BatteryConsumerDataLayout()
785 columnIndex += customPowerComponentCount; in BatteryConsumerDataLayout()