Searched refs:isDeepSleepAllowed (Results 1 – 4 of 4) sorted by relevance
90 public MockedPowerHalService(boolean isPowerStateSupported, boolean isDeepSleepAllowed, in MockedPowerHalService() argument95 mIsDeepSleepAllowed = isDeepSleepAllowed; in MockedPowerHalService()245 public boolean isDeepSleepAllowed() { in isDeepSleepAllowed() method in MockedPowerHalService
509 assertWithMessage("Deep sleep enabled").that(mPowerHalService.isDeepSleepAllowed()) in testIsDeepSleepAllowed()515 assertWithMessage("Deep sleep enabled").that(mPowerHalService.isDeepSleepAllowed()) in testIsDeepSleepAllowed_notSupported()
674 public boolean isDeepSleepAllowed() { in isDeepSleepAllowed() method in PowerHalService931 isPowerStateSupported(), isDeepSleepAllowed(), isHibernationAllowed()); in dump()
3825 return mHal.isDeepSleepAllowed() && mSystemInterface.isSystemSupportingDeepSleep(); in isDeepSleepAvailable()