Home
last modified time | relevance | path

Searched refs:sleepReason (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java125 public void startedGoingToSleep(@GoToSleepReason int sleepReason) { in startedGoingToSleep() argument
129 public void finishedGoingToSleep(@GoToSleepReason int sleepReason) { in finishedGoingToSleep() argument
/frameworks/base/core/java/android/os/
DPowerManager.java499 public static String sleepReasonToString(@GoToSleepReason int sleepReason) { in sleepReasonToString() argument
500 switch (sleepReason) { in sleepReasonToString()
515 default: return Integer.toString(sleepReason); in sleepReasonToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationSettingsTest.java576 for (int sleepReason : allowedSleepReasons) { in shouldCancelVibrationOnScreenOff_withSleepReasonInAllowlist_returnsAlwaysFalse()
577 mockGoToSleep(vibrateStartTime + 10, sleepReason); in shouldCancelVibrationOnScreenOff_withSleepReasonInAllowlist_returnsAlwaysFalse()