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/ |
D | WakefulnessSessionObserverTest.java | 19 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/ |
D | WakeSleepReason.kt | 77 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON -> POWER_BUTTON in fromPowerManagerSleepReason()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WakefulnessLifecycle.java | 219 case PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON: in updateLastSleepOriginLocation()
|
/frameworks/base/core/java/android/os/ |
D | IPowerManager.aidl | 163 const int GO_TO_SLEEP_REASON_POWER_BUTTON = 4; field
|
D | PowerManager.java | 463 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/ |
D | SideFpsEventHandler.java | 179 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON, in goToSleep()
|
D | PhoneWindowManager.java | 1281 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/ |
D | DozeScreenBrightnessTest.java | 495 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/ |
D | KeyguardViewMediatorTest.java | 789 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/ |
D | PowerInteractorTest.kt | 200 underTest.onStartedGoingToSleep(PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON) in onStartedGoingToSleep_clearsPowerButtonLaunchGestureTriggered()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recents/ |
D | OverviewProxyServiceTest.kt | 192 PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON in wakefulnessLifecycle_dispatchStartedGoingToSleepSetsSysUIflagToGOING_TO_SLEEP()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakefulnessSessionObserver.java | 353 if (changeReason == PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON) { in onWakefulnessChangeStarted()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 743 mockGoToSleep(vibrateStartTime + 10, PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in shouldCancelVibrationOnScreenOff_withNonSystem_returnsTrueIfReasonNotInAllowlist()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationPanelViewControllerTest.java | 1376 mPowerInteractor, PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON); in getFalsingThreshold_deviceNotInteractive_isQsThreshold()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImpl.java | 2404 == PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON; in updateRevealEffect()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37546 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_POWER_BUTTON:I
|