Searched refs:nextTime (Results 1 – 10 of 10) sorted by relevance
100 long nextTime = mQueuedRunnables.peek().mWhen; in advanceClockToNext() local101 if (nextTime <= startTime) { in advanceClockToNext()104 updateClock(nextTime); in advanceClockToNext()106 return nextTime - startTime; in advanceClockToNext()124 long nextTime = Collections.max(mQueuedRunnables).mWhen; in advanceClockToLast() local125 if (nextTime <= startTime) { in advanceClockToLast()129 updateClock(nextTime); in advanceClockToLast()131 return nextTime - startTime; in advanceClockToLast()181 private void updateClock(long nextTime) { in updateClock() argument183 mClock.setUptimeMillis(nextTime); in updateClock()
211 long nextTime = mLastLockTime + 100; in internalLockCanvas() local212 if (nextTime > now) { in internalLockCanvas()214 Thread.sleep(nextTime-now); in internalLockCanvas()
411 int64_t nextTime = timestampScheduler.nextAbsoluteTime(); in run() local415 if (AudioClock::getNanoseconds() >= nextTime) { in run()421 nextTime = timestampScheduler.nextAbsoluteTime(); in run()425 AudioClock::sleepUntilNanoTime(nextTime); in run()
147 long nextTime = SystemClock.elapsedRealtimeNanos(); in countFrame() local149 mLastTime = nextTime; in countFrame()151 if (nextTime > mLastTime + NANO_PER_SECOND) { in countFrame()152 long elapsed = nextTime - mLastTime; in countFrame()155 mLastTime = nextTime; in countFrame()
174 final long nextTime = scheduler.getNextTimeMillis(options); in testExponentialBackoffBoundedByMoratorium() local177 nextTime < timeAfterOperation + options.maxMoratoriumMillis); in testExponentialBackoffBoundedByMoratorium()
1576 long nextTime = mLastLockTime + 100;1577 if (nextTime > now) {1579 Thread.sleep(nextTime-now);
2501 long nextTime = 0; in idleUidsLocked() local2515 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked()2516 nextTime = bgTime; in idleUidsLocked()2524 if (nextTime > 0) { in idleUidsLocked()2527 nextTime + mConstants.BACKGROUND_SETTLE_TIME - nowElapsed); in idleUidsLocked()
4197 long nextTime = 0; in serviceTimeout() local4204 if (sr.executingStart > nextTime) { in serviceTimeout()4205 nextTime = sr.executingStart; in serviceTimeout()4224 ? (nextTime+SERVICE_TIMEOUT) : (nextTime + SERVICE_BACKGROUND_TIMEOUT)); in serviceTimeout()
4314 final long nextTime = 60000 * ((currentTime / 60000) + 1); in scheduleTimeTickEvent() local4318 final long tickEventDelay = nextTime - currentTime; in scheduleTimeTickEvent()
4422 long nextTime; in queueNextSignalStrengthPoll() local