Searched refs:wallClockTime (Results 1 – 4 of 4) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Stopwatch.kt | 104 val wallClockTime = Utils.wallClock() in reset() constant 107 val delta = max(0, wallClockTime - lastWallClockTime) in reset() 108 return Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta) in reset() 121 val wallClockTime = Utils.wallClock() in updateAfterTimeSet() constant 129 Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta) in updateAfterTimeSet()
|
D | Stopwatch.java | 124 final long wallClockTime = wallClock(); in updateAfterReboot() local 127 final long delta = Math.max(0, wallClockTime - mLastStartWallClockTime); in updateAfterReboot() 128 return new Stopwatch(mState, timeSinceBoot, wallClockTime, mAccumulatedTime + delta); in updateAfterReboot() 141 final long wallClockTime = wallClock(); in updateAfterTimeSet() local 149 return new Stopwatch(mState, timeSinceBoot, wallClockTime, mAccumulatedTime + delta); in updateAfterTimeSet()
|
D | Timer.java | 264 final long wallClockTime = wallClock(); in updateAfterReboot() local 267 final long delta = Math.max(0, wallClockTime - mLastStartWallClockTime); in updateAfterReboot() 269 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterReboot() 282 final long wallClockTime = wallClock(); in updateAfterTimeSet() local 291 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterTimeSet()
|
D | Timer.kt | 209 val wallClockTime = Utils.wallClock() in <lambda>() constant 212 val delta = max(0, wallClockTime - lastWallClockTime) in <lambda>() 214 return Timer(id, state, length, totalLength, timeSinceBoot, wallClockTime, in <lambda>() 226 val wallClockTime = Utils.wallClock() in <lambda>() constant 235 Timer(id, state, length, totalLength, timeSinceBoot, wallClockTime, in <lambda>()
|