• Home
  • Raw
  • Download

Lines Matching refs:handler

29 WeakMessageHandler::WeakMessageHandler(const wp<MessageHandler>& handler) :  in WeakMessageHandler()  argument
30 mHandler(handler) { in WeakMessageHandler()
37 sp<MessageHandler> handler = mHandler.promote(); in handleMessage() local
38 if (handler != NULL) { in handleMessage()
39 handler->handleMessage(message); in handleMessage()
292 sp<MessageHandler> handler = messageEnvelope.handler; in pollInner() local
300 this, handler.get(), message.what); in pollInner()
302 handler->handleMessage(message); in pollInner()
489 void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage() argument
491 sendMessageAtTime(now, handler, message); in sendMessage()
494 void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, in sendMessageDelayed() argument
497 sendMessageAtTime(now + uptimeDelay, handler, message); in sendMessageDelayed()
500 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime() argument
504 this, uptime, handler.get(), message.what); in sendMessageAtTime()
516 MessageEnvelope messageEnvelope(uptime, handler, message); in sendMessageAtTime()
534 void Looper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages() argument
536 ALOGD("%p ~ removeMessages - handler=%p", this, handler.get()); in removeMessages()
544 if (messageEnvelope.handler == handler) { in removeMessages()
551 void Looper::removeMessages(const sp<MessageHandler>& handler, int what) { in removeMessages() argument
553 ALOGD("%p ~ removeMessages - handler=%p, what=%d", this, handler.get(), what); in removeMessages()
561 if (messageEnvelope.handler == handler in removeMessages()