Home
last modified time | relevance | path

Searched refs:isValidPowerComponent (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java35 public void isValidPowerComponent() throws Exception { in isValidPowerComponent() method in PowerComponentUtilUnitTest
41 .that(PowerComponentUtil.isValidPowerComponent(component)) in isValidPowerComponent()
45 .that(PowerComponentUtil.isValidPowerComponent(wrongPowerComponent)) in isValidPowerComponent()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java103 public static boolean isValidPowerComponent(int component) { in isValidPowerComponent() method in PowerComponentUtil