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/hal/
DMockedPowerHalService.java90 public MockedPowerHalService(boolean isPowerStateSupported, boolean isDeepSleepAllowed, in MockedPowerHalService() argument
94 mIsPowerStateSupported = isPowerStateSupported; in MockedPowerHalService()
240 public boolean isPowerStateSupported() { in isPowerStateSupported() method in MockedPowerHalService
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java541 if (isPowerStateSupported()) { in setPowerState()
573 public boolean isPowerStateSupported() { in isPowerStateSupported() method in PowerHalService
931 isPowerStateSupported(), isDeepSleepAllowed(), isHibernationAllowed()); in dump()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java611 if (mHal.isPowerStateSupported()) { in init()