Searched refs:customPowerComponentNames (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 690 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()
|
D | BatteryUsageStats.java | 841 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()
|
D | PowerComponents.java | 110 return mData.layout.customPowerComponentNames[index]; in getCustomPowerComponentName()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryUsageStatsRule.java | 279 String[] customPowerComponentNames) { in initMeasuredEnergyStatsLocked() argument 280 mCustomPowerComponentNames = customPowerComponentNames; in initMeasuredEnergyStatsLocked() 395 final String[] customPowerComponentNames = mBatteryStats.getCustomEnergyConsumerNames(); 402 customPowerComponentNames, includePowerModels, includeProcessStateData,
|
D | BatteryUsageStatsTest.java | 308 private BatteryUsageStats.Builder buildBatteryUsageStats2(String[] customPowerComponentNames, in buildBatteryUsageStats2() argument 314 new BatteryUsageStats.Builder(customPowerComponentNames, true, in buildBatteryUsageStats2()
|