Home
last modified time | relevance | path

Searched refs:customPowerComponentNames (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryConsumer.java690 public final String[] customPowerComponentNames; field in BatteryConsumer.BatteryConsumerDataLayout
701 private BatteryConsumerDataLayout(int firstColumn, String[] customPowerComponentNames, in BatteryConsumerDataLayout() argument
703 this.customPowerComponentNames = customPowerComponentNames; in BatteryConsumerDataLayout()
704 this.customPowerComponentCount = customPowerComponentNames.length; in BatteryConsumerDataLayout()
792 String[] customPowerComponentNames, boolean includePowerModels, in createBatteryConsumerDataLayout() argument
799 return new BatteryConsumerDataLayout(columnCount, customPowerComponentNames, in createBatteryConsumerDataLayout()
DBatteryUsageStats.java841 public Builder(@NonNull String[] customPowerComponentNames) { in Builder() argument
842 this(customPowerComponentNames, false, false, 0); in Builder()
845 public Builder(@NonNull String[] customPowerComponentNames, boolean includePowerModels, in Builder() argument
850 BatteryConsumer.createBatteryConsumerDataLayout(customPowerComponentNames, in Builder()
854 mCustomPowerComponentNames = customPowerComponentNames; in Builder()
DPowerComponents.java110 return mData.layout.customPowerComponentNames[index]; in getCustomPowerComponentName()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsRule.java279 String[] customPowerComponentNames) { in initMeasuredEnergyStatsLocked() argument
280 mCustomPowerComponentNames = customPowerComponentNames; in initMeasuredEnergyStatsLocked()
395 final String[] customPowerComponentNames = mBatteryStats.getCustomEnergyConsumerNames();
402 customPowerComponentNames, includePowerModels, includeProcessStateData,
DBatteryUsageStatsTest.java308 private BatteryUsageStats.Builder buildBatteryUsageStats2(String[] customPowerComponentNames, in buildBatteryUsageStats2() argument
314 new BatteryUsageStats.Builder(customPowerComponentNames, true, in buildBatteryUsageStats2()