Searched refs:wakeUpFromMotion (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | WindowWakeUpPolicyTests.java | 139 assertThat(mPolicy.wakeUpFromMotion(200, SOURCE_TOUCHSCREEN, true)).isTrue(); in testMotionWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake() 140 verify(mInputWakeUpDelegate).wakeUpFromMotion(200, SOURCE_TOUCHSCREEN, true); in testMotionWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake() 147 assertThat(mPolicy.wakeUpFromMotion(300, SOURCE_ROTARY_ENCODER, false)).isTrue(); in testMotionWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake() 148 verify(mInputWakeUpDelegate).wakeUpFromMotion(300, SOURCE_ROTARY_ENCODER, false); in testMotionWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake() 204 assertThat(mPolicy.wakeUpFromMotion(200, SOURCE_TOUCHSCREEN, true)).isFalse(); in testDelegatedMotionWakeIsSubjectToPolicyChecks() 205 verify(mInputWakeUpDelegate, never()).wakeUpFromMotion(anyLong(), anyInt(), anyBoolean()); in testDelegatedMotionWakeIsSubjectToPolicyChecks() 216 mPolicy.wakeUpFromMotion(200L, SOURCE_TOUCHSCREEN, true); in testTheaterModeChecksNotAppliedWhenScreenIsOn() 224 () -> mPolicy.wakeUpFromMotion(mClock.uptimeMillis(), SOURCE_TOUCHSCREEN, true), in testWakeUpFromMotion() 370 when(mInputWakeUpDelegate.wakeUpFromMotion(anyLong(), anyInt(), anyBoolean())) in setDelegatedMotionWakeUpResult()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowWakeUpPolicyInternal.java | 58 boolean wakeUpFromMotion(long eventTime, int source, boolean isDown); in wakeUpFromMotion() method
|
D | WindowWakeUpPolicy.java | 144 boolean wakeUpFromMotion(long eventTime, int source, boolean isDown) { in wakeUpFromMotion() method in WindowWakeUpPolicy 150 && mInputWakeUpDelegate.wakeUpFromMotion(eventTime, source, isDown)) { in wakeUpFromMotion()
|
D | PhoneWindowManager.java | 5247 if (mWindowWakeUpPolicy.wakeUpFromMotion( 5262 if (mWindowWakeUpPolicy.wakeUpFromMotion(
|