Home
last modified time | relevance | path

Searched refs:PowerComponent (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStatsConfig.java71 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 …]
DPowerStatsExporter.java119 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/
DVtsAidlPowerPolicyTargetTest.cpp38 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/
DCarPowerPolicy.aidl19 import android.frameworks.automotive.powerpolicy.PowerComponent;
35 PowerComponent[] enabledComponents;
40 PowerComponent[] disabledComponents;
DCarPowerPolicyFilter.aidl19 import android.frameworks.automotive.powerpolicy.PowerComponent;
31 PowerComponent[] components;
DICarPowerPolicyServer.aidl22 import android.frameworks.automotive.powerpolicy.PowerComponent;
46 boolean getPowerComponentState(in PowerComponent componentId); in getPowerComponentState()
DPowerComponent.aidl24 enum PowerComponent { enum
/frameworks/base/core/java/android/os/
DBatteryConsumer.java68 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 …]
DBatteryUsageStatsQuery.java85 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/
DPowerStatsProcessorTest.java42 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/
DCarPowerPolicy.aidl38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents;
39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
DCarPowerPolicyFilter.aidl37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
DPowerComponent.aidl36 enum PowerComponent { enum
DICarPowerPolicyServer.aidl38 …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/
DCarPowerPolicy.aidl38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents;
39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
DCarPowerPolicyFilter.aidl37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
DPowerComponent.aidl36 enum PowerComponent { enum
DICarPowerPolicyServer.aidl38 …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/
DCarPowerPolicy.aidl38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents;
39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
DCarPowerPolicyFilter.aidl37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
DPowerComponent.aidl36 enum PowerComponent { enum
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/2/android/frameworks/automotive/powerpolicy/
DCarPowerPolicy.aidl38 android.frameworks.automotive.powerpolicy.PowerComponent[] enabledComponents;
39 android.frameworks.automotive.powerpolicy.PowerComponent[] disabledComponents;
DCarPowerPolicyFilter.aidl37 android.frameworks.automotive.powerpolicy.PowerComponent[] components;
DPowerComponent.aidl36 enum PowerComponent { enum
DICarPowerPolicyServer.aidl38 …boolean getPowerComponentState(in android.frameworks.automotive.powerpolicy.PowerComponent compone… in getPowerComponentState()

123