Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/time/
DFakeSystemClock.java99 public void advanceTime(long awakeMillis, long sleepMillis) { in advanceTime() argument
100 if (awakeMillis < 0 || sleepMillis < 0) { in advanceTime()
104 if (awakeMillis > 0 || sleepMillis > 0) { in advanceTime()
105 mUptimeMillis += awakeMillis; in advanceTime()
106 mElapsedRealtime += awakeMillis + sleepMillis; in advanceTime()
107 mCurrentTimeMillis += awakeMillis + sleepMillis; in advanceTime()
109 mCurrentThreadTimeMillis += Math.ceil(awakeMillis * 0.5); in advanceTime()