/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | channel_event_set.h | 22 BorrowedHandle event_fd() const { return epoll_fd_.Borrow(); } 24 explicit operator bool() const { return !!epoll_fd_ && !!event_fd_; } 30 LocalHandle epoll_fd_; member in class:android::pdx::uds::ChannelEventSet 44 ChannelEventReceiver(LocalHandle epoll_fd) : epoll_fd_{std::move(epoll_fd)} {} 48 BorrowedHandle event_fd() const { return epoll_fd_.Borrow(); } 52 LocalHandle epoll_fd_; member in class:android::pdx::uds::ChannelEventReceiver
|
H A D | service_dispatcher.h | 45 LocalHandle epoll_fd_; member in class:android::pdx::uds::ServiceDispatcher
|
H A D | service_endpoint.h | 108 int epoll_fd() const { return epoll_fd_.Get(); } 152 LocalHandle epoll_fd_; member in class:android::pdx::uds::Endpoint
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | service_dispatcher.cpp | 19 if (!dispatcher->epoll_fd_ || !dispatcher->event_fd_) { 33 epoll_fd_.Reset(epoll_create1(EPOLL_CLOEXEC)); 34 if (!epoll_fd_) { 45 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { 50 epoll_fd_.Close(); 83 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, endpoint->epoll_fd(), &event) < 106 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, endpoint->epoll_fd(), &dummy) < 126 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout); 159 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, -1);
|
H A D | channel_event_set.cpp | 30 epoll_fd_ = std::move(epoll_fd); 38 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, data_fd.Get(), &event) < 0) { 63 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_MOD, event_fd_.Get(), &event) < 95 RETRY_EINTR(epoll_wait(epoll_fd_.Get(), &event, 1, kTimeoutMs));
|
H A D | service_endpoint.cpp | 179 epoll_fd_.Reset(epoll_create1(EPOLL_CLOEXEC)); 180 CHECK(epoll_fd_.IsValid()) 187 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, socket_fd.Get(), 198 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, cancel_event_fd_.Get(), 283 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, channel_fd.Get(), &event) < 0) { 311 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_MOD, fd.Get(), &event) < 0) { 336 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, channel_fd, &dummy) < 0) { 575 epoll_wait(epoll_fd_.Get(), &event, 1, is_blocking_ ? -1 : 0));
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | epoll_event_dispatcher.cpp | 14 epoll_fd_.Reset(epoll_create(64)); 15 if (!epoll_fd_) { 30 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { 58 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, fd, &event) < 0) { 72 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, fd, &dummy) < 0) { 100 const int num_events = epoll_wait(epoll_fd_.Get(), events, kMaxNumEvents, -1);
|
H A D | epoll_event_dispatcher.h | 43 // epoll_fd_ and event_fd_. 56 pdx::LocalHandle epoll_fd_; member in class:android::dvr::EpollEventDispatcher
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
H A D | buffer_hub_queue_client.h | 65 explicit operator bool() const { return epoll_fd_.IsValid(); } 82 int queue_fd() const { return epoll_fd_.Get(); } 267 EpollFileDescriptor epoll_fd_; member in class:android::dvr::BufferHubQueue
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_client.cpp | 58 int ret = epoll_fd_.Create(); 68 ret = epoll_fd_.Control(EPOLL_CTL_ADD, event_fd(), &event); 132 const int ret = epoll_fd_.Wait(events.data(), events.size(), 274 const int ret = epoll_fd_.Control(EPOLL_CTL_ADD, buf->event_fd(), &event); 293 const int ret = epoll_fd_.Control(EPOLL_CTL_DEL, buf->event_fd(), nullptr);
|