Home
last modified time | relevance | path

Searched refs:isPowerStateSupported (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DMockedPowerHalService.java42 public MockedPowerHalService(boolean isPowerStateSupported, boolean isDeepSleepAllowed, in MockedPowerHalService() argument
45 mIsPowerStateSupported = isPowerStateSupported; in MockedPowerHalService()
111 public boolean isPowerStateSupported() { in isPowerStateSupported() method in MockedPowerHalService
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java279 if (isPowerStateSupported()) { in setPowerState()
304 public synchronized boolean isPowerStateSupported() { in isPowerStateSupported() method in PowerHalService
421 writer.println("isPowerStateSupported:" + isPowerStateSupported() + in dump()
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java170 if (mHal.isPowerStateSupported()) { in init()