Lines Matching refs:handler
44 /* The message type. (interpretation is left up to the handler) */
50 * Interface for a Looper message handler.
52 * The Looper holds a strong reference to the message handler whenever it has
54 * to remove any pending messages destined for the handler so that the handler
70 * A simple proxy that holds a weak reference to a message handler.
77 WeakMessageHandler(const wp<MessageHandler>& handler);
254 * Enqueues a message to be processed by the specified handler.
256 * The handler must not be null.
259 void sendMessage(const sp<MessageHandler>& handler, const Message& message);
262 * Enqueues a message to be processed by the specified handler after all pending messages
266 * The handler must not be null.
269 void sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler,
273 * Enqueues a message to be processed by the specified handler after all pending messages
277 * The handler must not be null.
280 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler,
284 * Removes all messages for the specified handler from the queue.
286 * The handler must not be null.
289 void removeMessages(const sp<MessageHandler>& handler);
292 * Removes all messages of a particular type for the specified handler from the queue.
294 * The handler must not be null.
297 void removeMessages(const sp<MessageHandler>& handler, int what);
338 MessageEnvelope(nsecs_t uptime, const sp<MessageHandler> handler,
339 const Message& message) : uptime(uptime), handler(handler), message(message) {
343 sp<MessageHandler> handler;