Home | History | Annotate | Download | only in utils

Lines Matching defs:handler

54     /* The message type. (interpretation is left up to the handler) */
60 * Interface for a Looper message handler.
62 * The Looper holds a strong reference to the message handler whenever it has
64 * to remove any pending messages destined for the handler so that the handler
80 * A simple proxy that holds a weak reference to a message handler.
84 WeakMessageHandler(const wp<MessageHandler>& handler);
214 * Enqueues a message to be processed by the specified handler.
216 * The handler must not be null.
219 void sendMessage(const sp<MessageHandler>& handler, const Message& message);
222 * Enqueues a message to be processed by the specified handler after all pending messages
226 * The handler must not be null.
229 void sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler,
233 * Enqueues a message to be processed by the specified handler after all pending messages
237 * The handler must not be null.
240 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler,
244 * Removes all messages for the specified handler from the queue.
246 * The handler must not be null.
249 void removeMessages(const sp<MessageHandler>& handler);
252 * Removes all messages of a particular type for the specified handler from the queue.
254 * The handler must not be null.
257 void removeMessages(const sp<MessageHandler>& handler, int what);
298 MessageEnvelope(nsecs_t uptime, const sp<MessageHandler> handler,
299 const Message& message) : uptime(uptime), handler(handler), message(message) {
303 sp<MessageHandler> handler;