Home
last modified time | relevance | path

Searched refs:goToSleepReason (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManager.java827 public SleepData(long goToSleepUptimeMillis, @GoToSleepReason int goToSleepReason) { in SleepData() argument
829 this.goToSleepReason = goToSleepReason; in SleepData()
832 public final @GoToSleepReason int goToSleepReason; field in PowerManager.SleepData
839 && goToSleepReason == other.goToSleepReason; in equals()
846 return Objects.hash(goToSleepUptimeMillis, goToSleepReason); in hashCode()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java490 || POWER_MANAGER_SLEEP_REASON_ALLOWLIST.contains(sleepData.goToSleepReason)) { in shouldCancelVibrationOnScreenOff()
495 + PowerManager.sleepReasonToString(sleepData.goToSleepReason)); in shouldCancelVibrationOnScreenOff()