Home
last modified time | relevance | path

Searched refs:GO_TO_SLEEP_REASON_DEVICE_FOLD (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/shared/model/
DWakeSleepReason.kt57 FOLD(isTouch = false, PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD);
78 PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD -> FOLD in fromPowerManagerSleepReason()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java26 import static android.os.PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD;
157 mPowerGroup.sleepLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_DEVICE_FOLD); in testSleepPowerGroup()
161 eq(WAKEFULNESS_ASLEEP), eq(TIMESTAMP1), eq(GO_TO_SLEEP_REASON_DEVICE_FOLD), in testSleepPowerGroup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldLightRevealOverlayAnimationTest.kt183 powerInteractor.setAsleepForTest(PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD) in emitLastWakefulnessEventStartingToSleep()
DFoldAodAnimationControllerTest.kt106 .thenReturn(PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldAodAnimationController.kt103 wakefulnessLifecycle.lastSleepReason == PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD && in <lambda>()
/frameworks/base/core/java/android/os/
DPowerManager.java517 public static final int GO_TO_SLEEP_REASON_DEVICE_FOLD = 13; field in PowerManager
522 public static final int GO_TO_SLEEP_REASON_MAX = GO_TO_SLEEP_REASON_DEVICE_FOLD;
532 case GO_TO_SLEEP_REASON_DEVICE_FOLD: return "device_folded"; in sleepReasonToString()
634 GO_TO_SLEEP_REASON_DEVICE_FOLD,
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationSettingsTest.java777 mockGoToSleep(vibrateStartTime + 10, PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD); in shouldCancelVibrationOnScreenOff_withSystemUid__returnsFalseForUsagesInAllowlist()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java523 PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD, in setDeviceStateLocked()