Lines Matching refs:messageEnvelope
306 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(0); in pollInner() local
307 if (messageEnvelope.uptime <= now) { in pollInner()
313 sp<MessageHandler> handler = messageEnvelope.handler; in pollInner()
314 Message message = messageEnvelope.message; in pollInner()
331 mNextMessageUptime = messageEnvelope.uptime; in pollInner()
600 MessageEnvelope messageEnvelope(uptime, handler, message); in sendMessageAtTime() local
601 mMessageEnvelopes.insertAt(messageEnvelope, i, 1); in sendMessageAtTime()
627 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(--i); in removeMessages() local
628 if (messageEnvelope.handler == handler) { in removeMessages()
644 const MessageEnvelope& messageEnvelope = mMessageEnvelopes.itemAt(--i); in removeMessages() local
645 if (messageEnvelope.handler == handler in removeMessages()
646 && messageEnvelope.message.what == what) { in removeMessages()