Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehavior.java133 private void handleWakefullnessChanged(boolean isAwake) { in handleWakefullnessChanged() argument
134 if (mIsAwake == isAwake) { in handleWakefullnessChanged()
138 mIsAwake = isAwake; in handleWakefullnessChanged()
DAssistHandleReminderExpBehavior.java319 private void handleWakefullnessChanged(boolean isAwake) { in handleWakefullnessChanged() argument
320 if (mIsAwake == isAwake) { in handleWakefullnessChanged()
325 mIsAwake = isAwake; in handleWakefullnessChanged()
/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.java122 void onAwakeStateChanged(boolean isAwake); in onAwakeStateChanged() argument
DDisplayRotation.java426 final boolean awake = mDisplayPolicy.isAwake(); in updateOrientationListenerLw()
DActivityTaskManagerService.java3347 public void onScreenAwakeChanged(boolean isAwake) { in onScreenAwakeChanged() argument
3350 mScreenObservers.get(i).onAwakeStateChanged(isAwake); in onScreenAwakeChanged()
DDisplayPolicy.java701 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.java2074 return mWakeGestureEnabledSetting && !mDefaultDisplayPolicy.isAwake() in shouldEnableWakeGestureLp()
4666 final boolean awake = mDefaultDisplayPolicy.isAwake(); in finishScreenTurningOn()
4716 return mDefaultDisplayPolicy.isAwake() && !mGoingToSleep; in okToAnimate()
4992 if (mDefaultDisplayPolicy.isAwake() && mNotifyUserActivity) { in userActivity()
5047 && mDefaultDisplayPolicy.isAwake() in updateLockScreenTimeout()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java244 public void onAwakeStateChanged(boolean isAwake) { in onAwakeStateChanged() argument
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1949 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.java7921 boolean isAwake = wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()
7924 if (wasAwake != isAwake) { in onWakefulnessChanged()
7926 mServices.updateScreenStateLocked(isAwake); in onWakefulnessChanged()
7928 mActivityTaskManager.onScreenAwakeChanged(isAwake); in onWakefulnessChanged()
/frameworks/base/services/
Dart-profile16046 HSPLcom/android/server/wm/DisplayPolicy;->isAwake()Z