Home
last modified time | relevance | path

Searched refs:isAwake (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java289 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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java502 boolean isAwake = darkAmount != 0; in setDarkAmount()
504 if (isAwake == wasAwake) { in setDarkAmount()
508 setLayoutAnimationListener(isAwake ? null : mKeepAwakeListener); in setDarkAmount()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java123 void onAwakeStateChanged(boolean isAwake); in onAwakeStateChanged() argument
DDisplayRotation.java426 final boolean awake = mDisplayPolicy.isAwake(); in updateOrientationListenerLw()
DActivityTaskManagerService.java3325 public void onScreenAwakeChanged(boolean isAwake) { in onScreenAwakeChanged() argument
3328 mScreenObservers.get(i).onAwakeStateChanged(isAwake); in onScreenAwakeChanged()
DDisplayPolicy.java693 public boolean isAwake() { in isAwake() method in DisplayPolicy
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java255 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
256 setSystemState(FLAG_AWAKE, isAwake); in onAwakeStateChanged()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2070 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()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java243 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1775 public void onAwakeStateChanged(boolean isAwake) { }
DStorageManagerService.java1034 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7879 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()
/frameworks/base/services/
Dart-profile16046 HSPLcom/android/server/wm/DisplayPolicy;->isAwake()Z