Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/os/
H A DBatteryConsumer.java67 public static @interface PowerComponent { annotation in BatteryConsumer
208 public final @PowerComponent int powerComponent;
253 public final @PowerComponent int powerComponent;
335 public Key[] getKeys(@PowerComponent int componentId) { in getKeys()
343 public Key getKey(@PowerComponent int componentId) { in getKey()
350 public Key getKey(@PowerComponent int componentId, @ProcessState int processState) { in getKey()
361 public double getConsumedPower(@PowerComponent int componentId) { in getConsumedPower()
383 public @PowerModel int getPowerModel(@BatteryConsumer.PowerComponent int componentId) { in getPowerModel()
429 public long getUsageDurationMillis(@PowerComponent int componentId) { in getUsageDurationMillis()
807 public Key[] getKeys(@PowerComponent int componentId) { in getKeys()
[all …]
H A DBatteryUsageStatsQuery.java84 private final @BatteryConsumer.PowerComponent int[] mPowerComponents;
218 private @BatteryConsumer.PowerComponent int[] mPowerComponents;
284 @BatteryConsumer.PowerComponent int[] powerComponents) { in includePowerComponents()
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
H A DPowerMetricsCollector.java283 @BatteryConsumer.PowerComponent int component) {
299 public PowerMetrics.Metric getPowerMetric(@BatteryConsumer.PowerComponent int component) {
309 public PowerMetrics.Metric getTimeMetric(@BatteryConsumer.PowerComponent int component) {
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DUserPowerCalculatorTest.java132 @BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
148 @BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DPhonePowerCalculator.java38 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DUserPowerCalculator.java36 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DBatteryChargeCalculator.java30 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DPowerCalculator.java39 @BatteryConsumer.PowerComponent int powerComponent); in isPowerComponentSupported()
H A DFlashlightPowerCalculator.java40 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DIdlePowerCalculator.java48 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DAmbientDisplayPowerCalculator.java35 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DAudioPowerCalculator.java49 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DCameraPowerCalculator.java42 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DMemoryPowerCalculator.java41 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DVideoPowerCalculator.java46 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DSensorPowerCalculator.java42 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DSystemServicePowerCalculator.java64 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DGnssPowerCalculator.java46 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DWakelockPowerCalculator.java46 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DBluetoothPowerCalculator.java66 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DScreenPowerCalculator.java67 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DCpuPowerCalculator.java96 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DWifiPowerCalculator.java84 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
H A DMobileRadioPowerCalculator.java121 public boolean isPowerComponentSupported(@BatteryConsumer.PowerComponent int powerComponent) { in isPowerComponentSupported()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppBatteryTracker.java1385 @BatteryConsumer.PowerComponent
1467 @BatteryConsumer.PowerComponent

12