Home
last modified time | relevance | path

Searched refs:GO_TO_SLEEP_REASON_POWER_BUTTON (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DWakefulnessSessionObserverTest.java19 import static android.os.PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON;
221 GO_TO_SLEEP_REASON_POWER_BUTTON, in testOnWakefulnessChangeStarted_onDozing_UserActivityButton()
259 GO_TO_SLEEP_REASON_POWER_BUTTON, in testOnWakefulnessChangeStarted_onDozing_UserActivityButton_OverrideTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/shared/model/
DWakeSleepReason.kt77 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON -> POWER_BUTTON in fromPowerManagerSleepReason()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java219 case PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON: in updateLastSleepOriginLocation()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl163 const int GO_TO_SLEEP_REASON_POWER_BUTTON = 4; field
DPowerManager.java463 public static final int GO_TO_SLEEP_REASON_POWER_BUTTON = 4; field in PowerManager
539 case GO_TO_SLEEP_REASON_POWER_BUTTON: return "power_button"; in sleepReasonToString()
641 GO_TO_SLEEP_REASON_POWER_BUTTON,
/frameworks/base/services/core/java/com/android/server/policy/
DSideFpsEventHandler.java179 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON, in goToSleep()
DPhoneWindowManager.java1281 sleepDefaultDisplay(eventTime, PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON, flags); in sleepDefaultDisplayFromPowerButton()
1323 sleepDefaultDisplay(eventTime, PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON, in powerMultiPressAction()
4852 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON, 0);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java495 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in transitionToDoze_shouldClampBrightness_notAfterTimeout_doesNotClampToDim()
537 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in transitionToDoze_noClampBrigthness_notAfterTimeout_doesNotClampToDim()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java789 mViewMediator.onStartedGoingToSleep(PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in testCancelKeyguardExitAnimationDueToSleep_withPendingLock_keyguardWillBeShowing()
790 mViewMediator.onFinishedGoingToSleep(PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON, false); in testCancelKeyguardExitAnimationDueToSleep_withPendingLock_keyguardWillBeShowing()
813 mViewMediator.onStartedGoingToSleep(PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in testCancelKeyguardExitAnimationThenSleep_withPendingLock_keyguardWillBeShowing()
814 mViewMediator.onFinishedGoingToSleep(PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON, false); in testCancelKeyguardExitAnimationThenSleep_withPendingLock_keyguardWillBeShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
DPowerInteractorTest.kt200 underTest.onStartedGoingToSleep(PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON) in onStartedGoingToSleep_clearsPowerButtonLaunchGestureTriggered()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recents/
DOverviewProxyServiceTest.kt192 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON in wakefulnessLifecycle_dispatchStartedGoingToSleepSetsSysUIflagToGOING_TO_SLEEP()
/frameworks/base/services/core/java/com/android/server/power/
DWakefulnessSessionObserver.java353 if (changeReason == PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON) { in onWakefulnessChangeStarted()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationSettingsTest.java743 mockGoToSleep(vibrateStartTime + 10, PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in shouldCancelVibrationOnScreenOff_withNonSystem_returnsTrueIfReasonNotInAllowlist()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java1376 mPowerInteractor, PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in getFalsingThreshold_deviceNotInteractive_isQsThreshold()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java2404 == PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON; in updateRevealEffect()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37546 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_POWER_BUTTON:I