Lines Matching refs:messageEnvelope
308 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(0); in pollInner() local
309 if (messageEnvelope.uptime <= now) { in pollInner()
315 sp<MessageHandler> handler = messageEnvelope.handler; in pollInner()
316 Message message = messageEnvelope.message; in pollInner()
333 mNextMessageUptime = messageEnvelope.uptime; in pollInner()
602 MessageEnvelope messageEnvelope(uptime, handler, message); in sendMessageAtTime() local
603 mMessageEnvelopes.insertAt(messageEnvelope, i, 1); in sendMessageAtTime()
629 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(--i); in removeMessages() local
630 if (messageEnvelope.handler == handler) { in removeMessages()
646 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(--i); in removeMessages() local
647 if (messageEnvelope.handler == handler in removeMessages()
648 && messageEnvelope.message.what == what) { in removeMessages()