Lines Matching refs:handler

25 WeakMessageHandler::WeakMessageHandler(const wp<MessageHandler>& handler) :  in WeakMessageHandler()  argument
26 mHandler(handler) { in WeakMessageHandler()
33 sp<MessageHandler> handler = mHandler.promote(); in handleMessage() local
34 if (handler != nullptr) { in handleMessage()
35 handler->handleMessage(message); in handleMessage()
315 sp<MessageHandler> handler = messageEnvelope.handler; in pollInner() local
323 this, handler.get(), message.what); in pollInner()
325 handler->handleMessage(message); in pollInner()
575 void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage() argument
577 sendMessageAtTime(now, handler, message); in sendMessage()
580 void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, in sendMessageDelayed() argument
583 sendMessageAtTime(now + uptimeDelay, handler, message); in sendMessageDelayed()
586 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime() argument
590 this, uptime, handler.get(), message.what); in sendMessageAtTime()
602 MessageEnvelope messageEnvelope(uptime, handler, message); in sendMessageAtTime()
620 void Looper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages() argument
622 ALOGD("%p ~ removeMessages - handler=%p", this, handler.get()); in removeMessages()
630 if (messageEnvelope.handler == handler) { in removeMessages()
637 void Looper::removeMessages(const sp<MessageHandler>& handler, int what) { in removeMessages() argument
639 ALOGD("%p ~ removeMessages - handler=%p, what=%d", this, handler.get(), what); in removeMessages()
647 if (messageEnvelope.handler == handler in removeMessages()