Lines Matching refs:when
57 * Callback interface for discovering when a thread is going to block
62 * Called when the message queue has run out of messages and will now
74 * {@link IdleHandler#queueIdle IdleHandler.queueIdle()} when it is
144 if (now < msg.when) {
145 // Next message is not ready. Set a timeout to wake up when it is ready.
146 nextPollTimeoutMillis = (int) Math.min(msg.when - now, Integer.MAX_VALUE);
169 && (mMessages == null || now < mMessages.when)) {
227 final int enqueueSyncBarrier(long when) {
237 if (when != 0) {
238 while (p != null && p.when <= when) {
283 final boolean enqueueMessage(Message msg, long when) {
300 msg.when = when;
302 if (p == null || when == 0 || when < p.when) {
316 if (p == null || when < p.when) {