Searched refs:event_fd_ (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/vr/libpdx/ |
D | service_dispatcher.cpp | 18 if (!dispatcher->epoll_fd_ || !dispatcher->event_fd_) { in Create() 26 event_fd_.Reset(eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK)); in ServiceDispatcher() 27 if (!event_fd_) { in ServiceDispatcher() 44 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { in ServiceDispatcher() 48 event_fd_.Close(); in ServiceDispatcher() 180 eventfd_write(event_fd_.Get(), 1); // Signal threads to quit. in SetCanceled() 185 eventfd_read(event_fd_.Get(), &value); // Unsignal. in SetCanceled()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | epoll_event_dispatcher.cpp | 20 event_fd_.Reset(eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK)); in EpollEventDispatcher() 21 if (!event_fd_) { in EpollEventDispatcher() 30 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { in EpollEventDispatcher() 42 eventfd_write(event_fd_.Get(), 1); in Stop() 82 eventfd_write(event_fd_.Get(), 1); in RemoveEventHandler() 118 eventfd_read(event_fd_.Get(), &value); in EventThread()
|
D | epoll_event_dispatcher.h | 57 pdx::LocalHandle event_fd_; variable
|
/frameworks/native/libs/adbd_auth/ |
D | adbd_auth.cpp | 89 event_fd_.reset(eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK)); in AdbdAuthContext() 90 if (event_fd_ == -1) { in AdbdAuthContext() 311 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, event_fd_.get(), &event)); in Run() 351 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in Run() 471 ssize_t rc = write(event_fd_.get(), &value, sizeof(value)); in Interrupt() 498 unique_fd event_fd_; member
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | service_dispatcher.h | 97 LocalHandle event_fd_; variable
|