Lines Matching refs:sleepUntil
108 long sleepUntil;
164 sleepUntil = System.currentTimeMillis();
197 remainingTime = Math.max(0, sleepUntil - now);
198 sleepUntil = now; // stop time
218 // timer only if the sleepUntil value has changed.
219 // The following guarantees that the sleepUntil
223 sleepUntil = Math.max(sleepUntil + 1,
249 return sleepUntil;
383 delay = timerQueue.sleepUntil - System.currentTimeMillis();
396 timer, timer.sleepUntil);
398 long delta = (System.currentTimeMillis() - timer.sleepUntil);
419 * Uses timer.sleepUntil to determine where in the queue
430 if (cur == null || timer.sleepUntil <= cur.sleepUntil) {
440 } while (cur != null && timer.sleepUntil > cur.sleepUntil);
452 long delta = cur.sleepUntil - now;
494 long delta = cur.sleepUntil - now;
507 * the sleepUntil field.
514 timer.sleepUntil += timer.interval;
516 timer.sleepUntil = now + timer.interval;
568 * The value of a timer's sleepUntil value is captured here.
570 * be reinserted into the queue. If the timer's sleepUntil
582 Timer timer, long sleepUntil) {
589 thread.lastSleepUntil = sleepUntil;
594 thread.lastSleepUntil = sleepUntil;
640 if (lastSleepUntil == timer.sleepUntil) {