Home
last modified time | relevance | path

Searched refs:sleepDuration (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/MultiUser/src/com/android/test/multiuser/
DMultiUserSettingsTests.java44 final int sleepDuration = 1000; in waitForBroadcastIdle() local
47 Thread.sleep(sleepDuration); in waitForBroadcastIdle()
50 Thread.sleep(sleepDuration); in waitForBroadcastIdle()
/frameworks/base/core/java/android/os/
DPowerManager.java782 public WakeData(long wakeTime, @WakeReason int wakeReason, long sleepDuration) { in WakeData() argument
785 this.sleepDuration = sleepDuration; in WakeData()
789 public final long sleepDuration; field in PowerManager.WakeData
796 && sleepDuration == other.sleepDuration; in equals()
803 return Objects.hash(wakeTime, wakeReason, sleepDuration); in hashCode()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4700 final long sleepDuration = mPowerManagerInternal.getLastWakeup().sleepDuration; in shouldWakeUpWithHomeIntent() local
4702 Log.i(TAG, "shouldWakeUpWithHomeIntent: sleepDuration= " + sleepDuration in shouldWakeUpWithHomeIntent()
4705 return sleepDuration > mWakeUpToLastStateTimeout; in shouldWakeUpWithHomeIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java1972 assertThat(wakeData.sleepDuration).isEqualTo(eventTime3 - eventTime2); in testMultiDisplay_updatesLastGlobalWakeTime()
1981 assertThat(wakeData.sleepDuration).isEqualTo(eventTime3 - eventTime2); in testMultiDisplay_updatesLastGlobalWakeTime()