Home
last modified time | relevance | path

Searched refs:addFd (Results 1 – 8 of 8) sorted by relevance

/system/hwservicemanager/
Dservice.cpp77 int ret = looper->addFd(fdHwBinder, in setupTo()
116 int addRes = looper->addFd(fdTimer, in setupTo()
/system/core/libutils/include/utils/
DLooper.h319 int addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data);
320 int addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data);
/system/connectivity/wificond/
Dlooper_backed_event_loop.cpp110 if (looper_->addFd(fd, 0, event, watch_fd_callback, NULL) == 0) { in WatchFileDescriptor()
/system/core/libutils/
DLooper_test.cpp110 looper->addFd(fd, 0, events, staticHandler, this); in setCallback()
395 mLooper->addFd(pipe.receiveFd, expectedIdent, Looper::EVENT_INPUT, nullptr, expectedData); in TEST_F()
420 int result = mLooper->addFd(pipe.receiveFd, 0, Looper::EVENT_INPUT, nullptr, nullptr); in TEST_F()
428 int result = mLooper->addFd(pipe.receiveFd, -1, Looper::EVENT_INPUT, nullptr, nullptr); in TEST_F()
437 int result = looper->addFd(pipe.receiveFd, 0, 0, nullptr, nullptr); in TEST_F()
DLooper.cpp424 int Looper::addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data) { in addFd() function in android::Looper
425 return addFd(fd, ident, events, callback ? new SimpleLooperCallback(callback) : nullptr, data); in addFd()
428 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) { in addFd() function in android::Looper
/system/netd/resolv/dns_responder/
Ddns_responder.h126 bool addFd(int fd, uint32_t events);
Ddns_responder.cpp638 if (!addFd(socket_.get(), EPOLLIN)) { in startServer()
643 if (!addFd(event_fd_.get(), EPOLLIN)) { in startServer()
924 bool DNSResponder::addFd(int fd, uint32_t events) { in addFd() function in test::DNSResponder
/system/tools/aidl/tests/
Daidl_test_service.cpp500 if (looper->addFd(binder_fd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, cb, in Run()