Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatch.kt103 val timeSinceBoot = Utils.now() in reset() constant
108 return Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta) in reset()
120 val timeSinceBoot = Utils.now() in updateAfterTimeSet() constant
122 val delta = timeSinceBoot - lastStartTime in updateAfterTimeSet()
129 Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta) in updateAfterTimeSet()
DStopwatch.java123 final long timeSinceBoot = now(); in updateAfterReboot() local
128 return new Stopwatch(mState, timeSinceBoot, wallClockTime, mAccumulatedTime + delta); in updateAfterReboot()
140 final long timeSinceBoot = now(); in updateAfterTimeSet() local
142 final long delta = timeSinceBoot - mLastStartTime; in updateAfterTimeSet()
149 return new Stopwatch(mState, timeSinceBoot, wallClockTime, mAccumulatedTime + delta); in updateAfterTimeSet()
DTimer.java263 final long timeSinceBoot = now(); in updateAfterReboot() local
269 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterReboot()
281 final long timeSinceBoot = now(); in updateAfterTimeSet() local
283 final long delta = timeSinceBoot - mLastStartTime; in updateAfterTimeSet()
291 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterTimeSet()
DTimer.kt208 val timeSinceBoot = Utils.now() in <lambda>() constant
214 return Timer(id, state, length, totalLength, timeSinceBoot, wallClockTime, in <lambda>()
225 val timeSinceBoot = Utils.now() in <lambda>() constant
227 val delta = timeSinceBoot - lastStartTime in <lambda>()
235 Timer(id, state, length, totalLength, timeSinceBoot, wallClockTime, in <lambda>()