Searched refs:isAwake (Results 1 – 14 of 14) sorted by relevance
338 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()353 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()368 when(mMockDisplayPolicy.isAwake()).thenReturn(false); in testNotEnablesSensor_NotAwake()383 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_KeyguardNotDrawnCompletely()398 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_WindowManagerNotDrawnCompletely()411 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_FixedUserRotation()425 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ForceDefaultRotation_Car()438 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ForceDefaultRotation_Tv()447 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in enableOrientationSensor()
171 fun logWakeDisplay(isAwake: Boolean, @Reason reason: Int) { in logWakeDisplay()173 bool1 = isAwake in logWakeDisplay()
121 void onAwakeStateChanged(boolean isAwake); in onAwakeStateChanged() argument
558 && mDisplayContent.getDisplayPolicy().isAwake()
998 final boolean awake = mDisplayPolicy.isAwake(); in updateOrientationListenerLw()
2768 public void onScreenAwakeChanged(boolean isAwake) { in onScreenAwakeChanged() argument2771 mScreenObservers.get(i).onAwakeStateChanged(isAwake); in onScreenAwakeChanged()2775 if (isAwake) { in onScreenAwakeChanged()
752 public boolean isAwake() { in isAwake() method in DisplayPolicy
257 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument258 setSystemState(FLAG_AWAKE, isAwake); in onAwakeStateChanged()
2141 return mWakeGestureEnabledSetting && !mDefaultDisplayPolicy.isAwake() in shouldEnableWakeGestureLp()4497 final boolean awake = mDefaultDisplayPolicy.isAwake(); in enableScreen()4899 && mDefaultDisplayPolicy.isAwake() in updateLockScreenTimeout()
272 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
2249 public void onAwakeStateChanged(boolean isAwake) { }
6324 boolean isAwake = wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()6326 if (wasAwake != isAwake) { in onWakefulnessChanged()6328 mServices.updateScreenStateLocked(isAwake); in onWakefulnessChanged()6330 mActivityTaskManager.onScreenAwakeChanged(isAwake); in onWakefulnessChanged()
1302 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
46081 HSPLcom/android/server/wm/DisplayPolicy;->isAwake()Z