Searched refs:GO_TO_SLEEP_REASON_DEVICE_FOLD (Results 1 – 8 of 8) sorted by relevance
57 FOLD(isTouch = false, PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD);78 PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD -> FOLD in fromPowerManagerSleepReason()
26 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()
183 powerInteractor.setAsleepForTest(PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD) in emitLastWakefulnessEventStartingToSleep()
106 .thenReturn(PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD) in setup()
103 wakefulnessLifecycle.lastSleepReason == PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD && in <lambda>()
517 public static final int GO_TO_SLEEP_REASON_DEVICE_FOLD = 13; field in PowerManager522 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,
777 mockGoToSleep(vibrateStartTime + 10, PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD); in shouldCancelVibrationOnScreenOff_withSystemUid__returnsFalseForUsagesInAllowlist()
523 PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD, in setDeviceStateLocked()