Home
last modified time | relevance | path

Searched refs:event_fd_ (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp18 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/adbd_auth/
Dadbd_auth.cpp91 event_fd_.reset(eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK)); in AdbdAuthContext()
92 if (event_fd_ == -1) { in AdbdAuthContext()
312 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, event_fd_.get(), &event)); in Run()
352 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in Run()
472 ssize_t rc = write(event_fd_.get(), &value, sizeof(value)); in Interrupt()
499 unique_fd event_fd_; member
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice_dispatcher.h97 LocalHandle event_fd_; variable