Lines Matching refs:messageEnvelope
320 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(0); in pollInner() local
321 if (messageEnvelope.uptime <= now) { in pollInner()
327 sp<MessageHandler> handler = messageEnvelope.handler; in pollInner()
328 Message message = messageEnvelope.message; in pollInner()
345 mNextMessageUptime = messageEnvelope.uptime; in pollInner()
634 MessageEnvelope messageEnvelope(uptime, handler, message); in sendMessageAtTime() local
635 mMessageEnvelopes.insertAt(messageEnvelope, i, 1); in sendMessageAtTime()
661 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(--i); in removeMessages() local
662 if (messageEnvelope.handler == handler) { in removeMessages()
678 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(--i); in removeMessages() local
679 if (messageEnvelope.handler == handler in removeMessages()
680 && messageEnvelope.message.what == what) { in removeMessages()