Home
last modified time | relevance | path

Searched refs:isScreenOnEarly (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DPhoneWindowManagerTests.java141 doAnswer(invocation -> !isScreenTurnedOff[0]).when(displayPolicy).isScreenOnEarly(); in testScreenTurnedOff()
180 assertThat(displayPolicy.isScreenOnEarly()).isFalse(); in testScreenTurnedOff()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java446 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()
461 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(false); in testNotEnablesSensor_ScreenNotOn()
476 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_NotAwake()
491 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_KeyguardNotDrawnCompletely()
506 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_WindowManagerNotDrawnCompletely()
519 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_FixedUserRotation()
533 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_ForceDefaultRotation_Car()
546 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_ForceDefaultRotation_Tv()
555 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in enableOrientationSensor()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java1108 final boolean screenOnEarly = mDisplayPolicy.isScreenOnEarly(); in updateOrientationListenerLw()
DDisplayPolicy.java816 public boolean isScreenOnEarly() { in isScreenOnEarly() method in DisplayPolicy
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1113 if (mDefaultDisplayPolicy.isScreenOnEarly() && !mDefaultDisplayPolicy.isScreenOnFully()) { in powerPress()
5489 if (!mDefaultDisplayPolicy.isScreenOnFully() && !mDefaultDisplayPolicy.isScreenOnEarly()
5860 return mDefaultDisplayPolicy.isScreenOnEarly();
/frameworks/base/services/
Dart-wear-profile27076 PLcom/android/server/wm/DisplayPolicy;->isScreenOnEarly()Z