Lines Matching refs:when
59 * Callback interface for discovering when a thread is going to block
64 * Called when the message queue has run out of messages and will now
76 * {@link IdleHandler#queueIdle IdleHandler.queueIdle()} when it is
153 if (now < msg.when) {
154 // Next message is not ready. Set a timeout to wake up when it is ready.
155 nextPollTimeoutMillis = (int) Math.min(msg.when - now, Integer.MAX_VALUE);
184 && (mMessages == null || now < mMessages.when)) {
250 int enqueueSyncBarrier(long when) {
256 msg.when = when;
261 if (when != 0) {
262 while (p != null && p.when <= when) {
303 // We can assume mPtr != 0 when mQuitting is false.
310 boolean enqueueMessage(Message msg, long when) {
326 msg.when = when;
329 if (p == null || when == 0 || when < p.when) {
343 if (p == null || when < p.when) {
404 // We can assume mPtr != 0 when mQuitting is false.
523 if (p.when > now) {
532 if (n.when > now) {