Searched refs:isScreenOnEarly (Results 1 – 6 of 6) sorted by relevance
141 doAnswer(invocation -> !isScreenTurnedOff[0]).when(displayPolicy).isScreenOnEarly(); in testScreenTurnedOff()180 assertThat(displayPolicy.isScreenOnEarly()).isFalse(); in testScreenTurnedOff()
446 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()
1108 final boolean screenOnEarly = mDisplayPolicy.isScreenOnEarly(); in updateOrientationListenerLw()
816 public boolean isScreenOnEarly() { in isScreenOnEarly() method in DisplayPolicy
1113 if (mDefaultDisplayPolicy.isScreenOnEarly() && !mDefaultDisplayPolicy.isScreenOnFully()) { in powerPress()5489 if (!mDefaultDisplayPolicy.isScreenOnFully() && !mDefaultDisplayPolicy.isScreenOnEarly()5860 return mDefaultDisplayPolicy.isScreenOnEarly();
27076 PLcom/android/server/wm/DisplayPolicy;->isScreenOnEarly()Z