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()
117 public boolean isPowerStateSupported() { in isPowerStateSupported() method in MockedPowerHalService
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java283 if (isPowerStateSupported()) { in setPowerState()
308 public synchronized boolean isPowerStateSupported() { in isPowerStateSupported() method in PowerHalService
425 writer.println("isPowerStateSupported:" + isPowerStateSupported() + in dump()
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java202 if (mHal.isPowerStateSupported()) { in init()