Searched refs:event_fd_ (Results 1 – 4 of 4) sorted by relevance
/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/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/libpdx/private/pdx/ |
D | service_dispatcher.h | 97 LocalHandle event_fd_; variable
|