/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | AggregatedPowerStatsConfig.java | 71 public static class PowerComponent { class in AggregatedPowerStatsConfig 77 PowerComponent(int powerComponentId) { in PowerComponent() method in AggregatedPowerStatsConfig.PowerComponent 84 public PowerComponent trackDeviceStates(@TrackedState int... states) { in trackDeviceStates() 95 public PowerComponent trackUidStates(@TrackedState int... states) { in trackUidStates() 108 public PowerComponent setProcessor(@NonNull PowerStatsProcessor processor) { in setProcessor() 162 private final List<PowerComponent> mPowerComponents = new ArrayList<>(); 169 public PowerComponent trackPowerComponent(int powerComponentId) { in trackPowerComponent() 170 PowerComponent builder = new PowerComponent(powerComponentId); in trackPowerComponent() 180 public PowerComponent trackPowerComponent(int powerComponentId, in trackPowerComponent() 182 PowerComponent parent = null; in trackPowerComponent() [all …]
|
D | PowerStatsExporter.java | 119 List<AggregatedPowerStatsConfig.PowerComponent> powerComponents = in populateBatteryUsageStatsBuilder() 129 AggregatedPowerStatsConfig.PowerComponent powerComponent) { in populateBatteryUsageStatsBuilder() 175 AggregatedPowerStatsConfig.PowerComponent powerComponent, in populateUidBatteryConsumers()
|
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/vts/ |
D | VtsAidlPowerPolicyTargetTest.cpp | 38 using ::aidl::android::frameworks::automotive::powerpolicy::PowerComponent; 80 for (const auto componentId : ndk::enum_range<PowerComponent>()) { in TEST_P() 81 if (componentId >= PowerComponent::MINIMUM_CUSTOM_COMPONENT_VALUE) { in TEST_P() 92 PowerComponent invalidComponent = static_cast<PowerComponent>(-1); in TEST_P() 103 filter.components.push_back(PowerComponent::AUDIO); in TEST_P() 118 filter.components.push_back(PowerComponent::AUDIO); in TEST_P()
|
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/ |
D | CarPowerPolicy.aidl | 19 import android.frameworks.automotive.powerpolicy.PowerComponent; 35 PowerComponent[] enabledComponents; 40 PowerComponent[] disabledComponents;
|
D | CarPowerPolicyFilter.aidl | 19 import android.frameworks.automotive.powerpolicy.PowerComponent; 31 PowerComponent[] components;
|
D | ICarPowerPolicyServer.aidl | 22 import android.frameworks.automotive.powerpolicy.PowerComponent; 46 boolean getPowerComponentState(in PowerComponent componentId); in getPowerComponentState()
|
D | PowerComponent.aidl | 24 enum PowerComponent { enum
|
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 68 public static @interface PowerComponent { annotation in BatteryConsumer 212 public final @PowerComponent int powerComponent; 257 public final @PowerComponent int powerComponent; 339 public Key[] getKeys(@PowerComponent int componentId) { in getKeys() 347 public Key getKey(@PowerComponent int componentId) { in getKey() 354 public Key getKey(@PowerComponent int componentId, @ProcessState int processState) { in getKey() 365 public double getConsumedPower(@PowerComponent int componentId) { in getConsumedPower() 387 public @PowerModel int getPowerModel(@BatteryConsumer.PowerComponent int componentId) { in getPowerModel() 433 public long getUsageDurationMillis(@PowerComponent int componentId) { in getUsageDurationMillis() 464 public static String powerComponentIdToString(@BatteryConsumer.PowerComponent int componentId) { in powerComponentIdToString() [all …]
|
D | BatteryUsageStatsQuery.java | 85 private final @BatteryConsumer.PowerComponent int[] mPowerComponents; 219 private @BatteryConsumer.PowerComponent int[] mPowerComponents; 285 @BatteryConsumer.PowerComponent int[] powerComponents) { in includePowerComponents()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PowerStatsProcessorTest.java | 42 AggregatedPowerStatsConfig.PowerComponent config = in createPowerEstimationPlan_allDeviceStatesPresentInUidStates() 43 new AggregatedPowerStatsConfig.PowerComponent(BatteryConsumer.POWER_COMPONENT_ANY) in createPowerEstimationPlan_allDeviceStatesPresentInUidStates() 63 AggregatedPowerStatsConfig.PowerComponent config = in createPowerEstimationPlan_combineDeviceStats() 64 new AggregatedPowerStatsConfig.PowerComponent(BatteryConsumer.POWER_COMPONENT_ANY) in createPowerEstimationPlan_combineDeviceStats() 101 AggregatedPowerStatsConfig.PowerComponent config) { in uidStateEstimatesToStrings()
|
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/1/android/frameworks/automotive/powerpolicy/ |
D | CarPowerPolicy.aidl | 38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents; 39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
|
D | CarPowerPolicyFilter.aidl | 37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
|
D | PowerComponent.aidl | 36 enum PowerComponent { enum
|
D | ICarPowerPolicyServer.aidl | 38 …boolean getPowerComponentState(in android.frameworks.automotive.powerpolicy.PowerComponent compone… in getPowerComponentState()
|
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/3/android/frameworks/automotive/powerpolicy/ |
D | CarPowerPolicy.aidl | 38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents; 39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
|
D | CarPowerPolicyFilter.aidl | 37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
|
D | PowerComponent.aidl | 36 enum PowerComponent { enum
|
D | ICarPowerPolicyServer.aidl | 38 …boolean getPowerComponentState(in android.frameworks.automotive.powerpolicy.PowerComponent compone… in getPowerComponentState()
|
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/current/android/frameworks/automotive/powerpolicy/ |
D | CarPowerPolicy.aidl | 38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents; 39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
|
D | CarPowerPolicyFilter.aidl | 37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
|
D | PowerComponent.aidl | 36 enum PowerComponent { enum
|
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/2/android/frameworks/automotive/powerpolicy/ |
D | CarPowerPolicy.aidl | 38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents; 39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
|
D | CarPowerPolicyFilter.aidl | 37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
|
D | PowerComponent.aidl | 36 enum PowerComponent { enum
|
D | ICarPowerPolicyServer.aidl | 38 …boolean getPowerComponentState(in android.frameworks.automotive.powerpolicy.PowerComponent compone… in getPowerComponentState()
|