Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java338 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLogger.kt171 fun logWakeDisplay(isAwake: Boolean, @Reason reason: Int) { in logWakeDisplay()
173 bool1 = isAwake in logWakeDisplay()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java121 void onAwakeStateChanged(boolean isAwake); in onAwakeStateChanged() argument
DDisplayArea.java558 && mDisplayContent.getDisplayPolicy().isAwake()
DDisplayRotation.java998 final boolean awake = mDisplayPolicy.isAwake(); in updateOrientationListenerLw()
DActivityTaskManagerService.java2768 public void onScreenAwakeChanged(boolean isAwake) { in onScreenAwakeChanged() argument
2771 mScreenObservers.get(i).onAwakeStateChanged(isAwake); in onScreenAwakeChanged()
2775 if (isAwake) { in onScreenAwakeChanged()
DDisplayPolicy.java752 public boolean isAwake() { in isAwake() method in DisplayPolicy
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java257 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
258 setSystemState(FLAG_AWAKE, isAwake); in onAwakeStateChanged()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2141 return mWakeGestureEnabledSetting && !mDefaultDisplayPolicy.isAwake() in shouldEnableWakeGestureLp()
4497 final boolean awake = mDefaultDisplayPolicy.isAwake(); in enableScreen()
4899 && mDefaultDisplayPolicy.isAwake() in updateLockScreenTimeout()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java272 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2249 public void onAwakeStateChanged(boolean isAwake) { }
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6324 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()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1302 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
/frameworks/base/services/
Dart-profile46081 HSPLcom/android/server/wm/DisplayPolicy;->isAwake()Z