/system/core/libutils/tests/ |
D | Looper_test.cpp | 63 virtual int handler(int fd, int events) = 0; 67 return static_cast<CallbackHandler*>(data)->handler(fd, events); in staticHandler() 84 virtual int handler(int fd, int events) { in handler() function in android::StubCallbackHandler 166 StubCallbackHandler handler(true); in TEST_F() local 168 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F() 178 EXPECT_EQ(0, handler.callbackCount) in TEST_F() 184 StubCallbackHandler handler(true); in TEST_F() local 187 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F() 197 EXPECT_EQ(1, handler.callbackCount) in TEST_F() 199 EXPECT_EQ(pipe.receiveFd, handler.fd) in TEST_F() [all …]
|
/system/core/include/utils/ |
D | Looper.h | 87 WeakMessageHandler(const wp<MessageHandler>& handler); 348 void sendMessage(const sp<MessageHandler>& handler, const Message& message); 358 void sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, 369 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, 378 void removeMessages(const sp<MessageHandler>& handler); 386 void removeMessages(const sp<MessageHandler>& handler, int what); 434 MessageEnvelope(nsecs_t uptime, const sp<MessageHandler> handler, in MessageEnvelope() 435 const Message& message) : uptime(uptime), handler(handler), message(message) { in MessageEnvelope() 439 sp<MessageHandler> handler; member
|
/system/core/fastbootd/commands/ |
D | virtual_partitions.c | 43 current->handler(handle, arg); in try_handle_virtual_partition() 52 void (*handler)(struct protocol_handle *phandle, const char *arg)) in virtual_partition_register() 58 new->handler = handler; in virtual_partition_register()
|
D | virtual_partitions.h | 40 void (*handler)(struct protocol_handle *phandle, const char *arg); member 47 void (*handler)(struct protocol_handle *phandle, const char *arg));
|
/system/core/libutils/ |
D | Looper.cpp | 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() [all …]
|
/system/core/sdcard/ |
D | sdcard.c | 854 static int handle_lookup(struct fuse* fuse, struct fuse_handler* handler, in handle_lookup() argument 865 TRACE("[%d] LOOKUP %s @ %"PRIx64" (%s)\n", handler->token, name, hdr->nodeid, in handle_lookup() 880 static int handle_forget(struct fuse* fuse, struct fuse_handler* handler, in handle_forget() argument 887 TRACE("[%d] FORGET #%"PRIu64" @ %"PRIx64" (%s)\n", handler->token, req->nlookup, in handle_forget() 899 static int handle_getattr(struct fuse* fuse, struct fuse_handler* handler, in handle_getattr() argument 907 TRACE("[%d] GETATTR flags=%x fh=%"PRIx64" @ %"PRIx64" (%s)\n", handler->token, in handle_getattr() 921 static int handle_setattr(struct fuse* fuse, struct fuse_handler* handler, in handle_setattr() argument 932 TRACE("[%d] SETATTR fh=%"PRIx64" valid=%x @ %"PRIx64" (%s)\n", handler->token, in handle_setattr() 976 handler->token, path, times[0].tv_sec, times[1].tv_sec); in handle_setattr() 984 static int handle_mknod(struct fuse* fuse, struct fuse_handler* handler, in handle_mknod() argument [all …]
|
/system/netd/server/ |
D | DnsProxyListener.cpp | 79 GetAddrInfoHandler* handler = reinterpret_cast<GetAddrInfoHandler*>(obj); in threadStart() local 80 handler->run(); in threadStart() 81 delete handler; in threadStart() 223 DnsProxyListener::GetAddrInfoHandler* handler = in runCommand() local 225 handler->start(); in runCommand() 268 DnsProxyListener::GetHostByNameHandler* handler = in runCommand() local 270 handler->start(); in runCommand() 299 GetHostByNameHandler* handler = reinterpret_cast<GetHostByNameHandler*>(obj); in threadStart() local 300 handler->run(); in threadStart() 301 delete handler; in threadStart() [all …]
|
D | DnsProxyListener.h | 53 static void* threadStart(void* handler); 84 static void* threadStart(void* handler); 115 static void* threadStart(void* handler);
|
D | NetlinkManager.cpp | 88 NetlinkHandler *handler = new NetlinkHandler(this, *sock, format); in setupSocket() local 89 if (handler->start()) { in setupSocket() 95 return handler; in setupSocket()
|
D | MDnsSdListener.h | 76 static void *threadStart(void *handler);
|
/system/core/libcutils/ |
D | dlmalloc_stubs.c | 26 void dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*) UNUSED, in dlmalloc_inspect_all()
|
/system/core/healthd/ |
D | healthd.h | 75 int healthd_register_event(int fd, void (*handler)(uint32_t));
|
D | healthd.cpp | 137 int healthd_register_event(int fd, void (*handler)(uint32_t)) { in healthd_register_event() 141 ev.data.ptr = (void *)handler; in healthd_register_event()
|