Home
last modified time | relevance | path

Searched refs:FIRST_POWER_COMPONENT (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java23 import static android.car.hardware.power.PowerComponentUtil.FIRST_POWER_COMPONENT;
80 new SparseBooleanArray(LAST_POWER_COMPONENT - FIRST_POWER_COMPONENT + 1);
111 for (int component = FIRST_POWER_COMPONENT; component <= LAST_POWER_COMPONENT; in init()
134 for (int component = FIRST_POWER_COMPONENT; component <= LAST_POWER_COMPONENT; in getAccumulatedPolicy()
146 for (int component = FIRST_POWER_COMPONENT; component <= LAST_POWER_COMPONENT; in getAccumulatedPolicy()
201 for (int component = FIRST_POWER_COMPONENT; component <= LAST_POWER_COMPONENT; in dump()
DPolicyReader.java19 import static android.car.hardware.power.PowerComponentUtil.FIRST_POWER_COMPONENT;
133 int allCount = LAST_POWER_COMPONENT - FIRST_POWER_COMPONENT + 1;
137 for (int c = FIRST_POWER_COMPONENT; c <= LAST_POWER_COMPONENT; c++) {
138 ALL_COMPONENTS[c - FIRST_POWER_COMPONENT] = c;
517 for (int component = FIRST_POWER_COMPONENT; in parsePolicy()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothDeviceConnectionPolicyTest.java19 import static android.car.hardware.power.PowerComponentUtil.FIRST_POWER_COMPONENT;
209 int[] allComponents = new int[LAST_POWER_COMPONENT - FIRST_POWER_COMPONENT + 1]; in sendPowerPolicyBluetoothOnOff()
210 for (int component = FIRST_POWER_COMPONENT; component <= LAST_POWER_COMPONENT; in sendPowerPolicyBluetoothOnOff()
212 allComponents[component - FIRST_POWER_COMPONENT] = component; in sendPowerPolicyBluetoothOnOff()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java64 public static final int FIRST_POWER_COMPONENT = PowerComponent.AUDIO; field in PowerComponentUtil
104 return component >= FIRST_POWER_COMPONENT && component <= LAST_POWER_COMPONENT; in isValidPowerComponent()
DCarPowerManager.java49 private static final int FIRST_POWER_COMPONENT = PowerComponentUtil.FIRST_POWER_COMPONENT; field in CarPowerManager