Home
last modified time | relevance | path

Searched refs:isDeepSleepAllowed (Results 1 – 4 of 4) 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
95 mIsDeepSleepAllowed = isDeepSleepAllowed; in MockedPowerHalService()
245 public boolean isDeepSleepAllowed() { in isDeepSleepAllowed() method in MockedPowerHalService
DPowerHalServiceUnitTest.java509 assertWithMessage("Deep sleep enabled").that(mPowerHalService.isDeepSleepAllowed()) in testIsDeepSleepAllowed()
515 assertWithMessage("Deep sleep enabled").that(mPowerHalService.isDeepSleepAllowed()) in testIsDeepSleepAllowed_notSupported()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java674 public boolean isDeepSleepAllowed() { in isDeepSleepAllowed() method in PowerHalService
931 isPowerStateSupported(), isDeepSleepAllowed(), isHibernationAllowed()); in dump()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3825 return mHal.isDeepSleepAllowed() && mSystemInterface.isSystemSupportingDeepSleep(); in isDeepSleepAvailable()