Home
last modified time | relevance | path

Searched refs:GoToSleepReason (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java26 import android.os.PowerManager.GoToSleepReason;
125 public void startedGoingToSleepGlobal(@GoToSleepReason int reason) { in startedGoingToSleepGlobal()
129 public void finishedGoingToSleepGlobal(@GoToSleepReason int reason) { in finishedGoingToSleepGlobal()
141 public void startedGoingToSleep(int displayGroupId, @GoToSleepReason int sleepReason) { in startedGoingToSleep()
145 public void finishedGoingToSleep(int displayGroupId, @GoToSleepReason int sleepReason) { in finishedGoingToSleep()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java86 private @PowerManager.GoToSleepReason int mLastSleepReason =
129 public @PowerManager.GoToSleepReason int getLastSleepReason() { in getLastSleepReason()
163 public void dispatchStartedGoingToSleep(@PowerManager.GoToSleepReason int pmSleepReason) { in dispatchStartedGoingToSleep()
DKeyguardService.java494 public void onStartedGoingToSleep(@PowerManager.GoToSleepReason int pmSleepReason) {
506 @PowerManager.GoToSleepReason int pmSleepReason, boolean cameraGestureTriggered) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/
DPowerInteractor.kt173 fun onStartedGoingToSleep(@PowerManager.GoToSleepReason reason: Int) { in <lambda>()
274 @PowerManager.GoToSleepReason sleepReason: Int = PowerManager.GO_TO_SLEEP_REASON_MIN, in <lambda>()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java787 void startedGoingToSleepGlobal(@PowerManager.GoToSleepReason int reason); in startedGoingToSleepGlobal()
794 void finishedGoingToSleepGlobal(@PowerManager.GoToSleepReason int reason); in finishedGoingToSleepGlobal()
833 void startedGoingToSleep(int displayGroupId, @PowerManager.GoToSleepReason int pmSleepReason); in startedGoingToSleep()
846 void finishedGoingToSleep(int displayGroupId, @PowerManager.GoToSleepReason int pmSleepReason); in finishedGoingToSleep()
DPhoneWindowManager.java5460 public void startedGoingToSleepGlobal(@PowerManager.GoToSleepReason int reason) {
5465 public void finishedGoingToSleepGlobal(@PowerManager.GoToSleepReason int reason) {
5472 @PowerManager.GoToSleepReason int pmSleepReason) {
5502 @PowerManager.GoToSleepReason int pmSleepReason) {
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceWrapper.java106 public void onStartedGoingToSleep(@PowerManager.GoToSleepReason int pmSleepReason) { in onStartedGoingToSleep()
116 @PowerManager.GoToSleepReason int pmSleepReason, boolean cameraGestureTriggered) { in onFinishedGoingToSleep()
DKeyguardServiceDelegate.java375 public void onStartedGoingToSleep(@PowerManager.GoToSleepReason int pmSleepReason) { in onStartedGoingToSleep()
385 @PowerManager.GoToSleepReason int pmSleepReason, boolean cameraGestureTriggered) { in onFinishedGoingToSleep()
/frameworks/base/core/java/android/view/
DWindowManagerPolicyConstants.java125 @PowerManager.GoToSleepReason int reason) { in translateSleepReasonToOffReason()
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java251 boolean dozeLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in dozeLocked()
278 boolean sleepLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in sleepLocked()
DPowerManagerService.java80 import android.os.PowerManager.GoToSleepReason;
404 private @GoToSleepReason int mLastGlobalSleepReason;
2227 @GoToSleepReason int reason, int uid) {
2243 @GoToSleepReason int reason, int uid) {
6996 @GoToSleepReason
/frameworks/base/core/java/android/os/
DPowerManager.java527 public static String sleepReasonToString(@GoToSleepReason int sleepReason) { in sleepReasonToString()
647 public @interface GoToSleepReason{} annotation in PowerManager
827 public SleepData(long goToSleepUptimeMillis, @GoToSleepReason int goToSleepReason) { in SleepData()
832 public final @GoToSleepReason int goToSleepReason;
1567 public void goToSleep(int displayId, long time, @GoToSleepReason int reason, int flags) { in goToSleep()
3011 @GoToSleepReason