Searched refs:isAwake (Results 1 – 13 of 13) sorted by relevance
289 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()304 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()319 when(mMockDisplayPolicy.isAwake()).thenReturn(false); in testNotEnablesSensor_NotAwake()334 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_KeyguardNotDrawnCompletely()349 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_WindowManagerNotDrawnCompletely()362 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_FixedUserRotation()376 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ForceDefaultRotation_Car()389 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ForceDefaultRotation_Tv()398 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in enableOrientationSensor()
502 boolean isAwake = darkAmount != 0; in setDarkAmount()504 if (isAwake == wasAwake) { in setDarkAmount()508 setLayoutAnimationListener(isAwake ? null : mKeepAwakeListener); in setDarkAmount()
123 void onAwakeStateChanged(boolean isAwake); in onAwakeStateChanged() argument
426 final boolean awake = mDisplayPolicy.isAwake(); in updateOrientationListenerLw()
3325 public void onScreenAwakeChanged(boolean isAwake) { in onScreenAwakeChanged() argument3328 mScreenObservers.get(i).onAwakeStateChanged(isAwake); in onScreenAwakeChanged()
693 public boolean isAwake() { in isAwake() method in DisplayPolicy
255 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument256 setSystemState(FLAG_AWAKE, isAwake); in onAwakeStateChanged()
2070 return mWakeGestureEnabledSetting && !mDefaultDisplayPolicy.isAwake() in shouldEnableWakeGestureLp()4647 final boolean awake = mDefaultDisplayPolicy.isAwake(); in finishScreenTurningOn()4697 return mDefaultDisplayPolicy.isAwake() && !mGoingToSleep; in okToAnimate()4973 if (mDefaultDisplayPolicy.isAwake() && mNotifyUserActivity) { in userActivity()5028 && mDefaultDisplayPolicy.isAwake() in updateLockScreenTimeout()
243 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
1775 public void onAwakeStateChanged(boolean isAwake) { }
1034 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
7879 boolean isAwake = wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()7882 if (wasAwake != isAwake) { in onWakefulnessChanged()7884 mServices.updateScreenStateLocked(isAwake); in onWakefulnessChanged()7886 mActivityTaskManager.onScreenAwakeChanged(isAwake); in onWakefulnessChanged()
16046 HSPLcom/android/server/wm/DisplayPolicy;->isAwake()Z