Home
last modified time | relevance | path

Searched defs:componentId (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryConsumer.java339 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()
408 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent()
421 public String getCustomPowerComponentName(int componentId) { in getCustomPowerComponentName()
433 public long getUsageDurationMillis(@PowerComponent int componentId) { in getUsageDurationMillis()
457 public long getUsageDurationForCustomComponentMillis(int componentId) { in getUsageDurationForCustomComponentMillis()
464 public static String powerComponentIdToString(@BatteryConsumer.PowerComponent int componentId) { in powerComponentIdToString()
[all …]
DPowerComponents.java96 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent()
106 public String getCustomPowerComponentName(int componentId) { in getCustomPowerComponentName()
147 public long getUsageDurationForCustomComponentMillis(int componentId) { in getUsageDurationForCustomComponentMillis()
252 final int componentId = BatteryConsumer.FIRST_CUSTOM_POWER_COMPONENT_ID + idx; in writeStatsProtoImpl() local
275 private void writePowerUsageSlice(ProtoOutputStream proto, int componentId, in writePowerUsageSlice()
312 private void writePowerComponentUsage(ProtoOutputStream proto, long tag, int componentId, in writePowerComponentUsage()
402 int componentId = -1; in parseXml() local
433 int componentId = -1; in parseXml() local
508 public Builder setConsumedPowerForCustomComponent(int componentId, double componentPower) { in setConsumedPowerForCustomComponent()
532 public Builder setUsageDurationForCustomComponentMillis(int componentId, in setUsageDurationForCustomComponentMillis()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DShortcutUtils.java61 @NonNull String componentId) { in optInValueToSettings()
92 Context context, @UserShortcutType int shortcutType, @NonNull String componentId) { in optOutValueFromSettings()
123 @UserShortcutType int shortcutType, @NonNull String componentId) { in isComponentIdExistingInSettings()
152 @NonNull String componentId) { in isShortcutContained()
DAccessibilityUtils.java200 @NonNull String componentId) { in isAccessibilityServiceEnabled()
/frameworks/base/core/java/android/hardware/biometrics/
DComponentInfoInternal.java30 @NonNull public final String componentId; field in ComponentInfoInternal
48 public ComponentInfoInternal(@NonNull String componentId, @NonNull String hardwareVersion, in ComponentInfoInternal()
DSensorProperties.java75 public ComponentInfo(@NonNull String componentId, @NonNull String hardwareVersion, in ComponentInfo()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsExporterTest.java274 private void assertDevicePowerEstimate(String message, BatteryUsageStats bus, int componentId, in assertDevicePowerEstimate()
282 private void assertAllAppsPowerEstimate(String message, BatteryUsageStats bus, int componentId, in assertAllAppsPowerEstimate()
291 int componentId, int processState, double expected) { in assertUidPowerEstimate()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DPowerMetrics.java82 static String getDurationMetricName(int componentId) { in getDurationMetricName()
87 static String getPowerMetricName(int componentId) { in getPowerMetricName()
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/2/android/frameworks/automotive/powerpolicy/
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/1/android/frameworks/automotive/powerpolicy/
DICarPowerPolicyServer.aidl38 …boolean getPowerComponentState(in android.frameworks.automotive.powerpolicy.PowerComponent compone… in getPowerComponentState()
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/
DICarPowerPolicyServer.aidl46 boolean getPowerComponentState(in PowerComponent componentId); in getPowerComponentState()
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/3/android/frameworks/automotive/powerpolicy/
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/
DICarPowerPolicyServer.aidl38 …boolean getPowerComponentState(in android.frameworks.automotive.powerpolicy.PowerComponent compone… in getPowerComponentState()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java297 static String getPowerMetricTitle(int componentId) { in getPowerMetricTitle()
301 static String getTimeMetricTitle(int componentId) { in getTimeMetricTitle()
305 private static String getPowerComponentName(int componentId) { in getPowerComponentName()
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/vts/
DVtsAidlPowerPolicyTargetTest.cpp80 for (const auto componentId : ndk::enum_range<PowerComponent>()) { in TEST_P() local
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
DBatteryUsageStatsPulledTest.java133 final int componentId = componentProto.component; in assertSameBatteryConsumer() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityUserState.java559 final String componentId = mAccessibilityShortcutKeyTargets.valueAt(i); in dump() local
569 final String componentId = mAccessibilityButtonTargets.valueAt(i); in dump() local
DAccessibilityManagerService.java3446 final String componentId = Settings.Secure.getStringForUser(mContext.getContentResolver(), in readAccessibilityButtonTargetComponentLocked() local
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java1137 String componentId, String hardwareVersion, String firmwareVersion, in logStats()