Searched refs:SHORT_PRESS_POWER_DREAM_OR_SLEEP (Results 1 – 2 of 2) sorted by relevance
23 import static com.android.server.policy.PhoneWindowManager.SHORT_PRESS_POWER_DREAM_OR_SLEEP;65 mPhoneWindowManager.overrideShortPressOnPower(SHORT_PRESS_POWER_DREAM_OR_SLEEP); in testPowerSinglePressRequestsDream()75 mPhoneWindowManager.overrideShortPressOnPower(SHORT_PRESS_POWER_DREAM_OR_SLEEP); in testAppTransitionFinishedCalledAfterDreamStoppedWillNotLockAgain()89 mPhoneWindowManager.overrideShortPressOnPower(SHORT_PRESS_POWER_DREAM_OR_SLEEP); in testPowerDoublePressWillNotLockDevice()
293 static final int SHORT_PRESS_POWER_DREAM_OR_SLEEP = 7; field in PhoneWindowManager1177 case SHORT_PRESS_POWER_DREAM_OR_SLEEP: { in powerPress()1233 if (mShortPressOnPowerBehavior != SHORT_PRESS_POWER_DREAM_OR_SLEEP) { in attemptToDreamFromShortPowerButtonPress()