Home
last modified time | relevance | path

Searched refs:SHORT_PRESS_POWER_DREAM_OR_SLEEP (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DPowerKeyGestureTests.java23 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()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java293 static final int SHORT_PRESS_POWER_DREAM_OR_SLEEP = 7; field in PhoneWindowManager
1177 case SHORT_PRESS_POWER_DREAM_OR_SLEEP: { in powerPress()
1233 if (mShortPressOnPowerBehavior != SHORT_PRESS_POWER_DREAM_OR_SLEEP) { in attemptToDreamFromShortPowerButtonPress()