/frameworks/native/libs/vr/libpdx/ |
H A D | service_dispatcher.cpp | 18 if (!dispatcher->epoll_fd_ || !dispatcher->event_fd_) { 32 epoll_fd_.Reset(epoll_create1(EPOLL_CLOEXEC)); 33 if (!epoll_fd_) { 44 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { 49 epoll_fd_.Close(); 78 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, service->endpoint()->epoll_fd(), 96 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, service->endpoint()->epoll_fd(), 117 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout); 150 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, -1);
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | channel_event_set.h | 48 !!epoll_fd_; 51 BorrowedHandle event_fd() const { return epoll_fd_.Borrow(); } 60 epoll_fd_.Close(); 74 LocalHandle epoll_fd_; member in class:android::pdx::uds::ChannelEventReceiver
|
H A D | service_endpoint.h | 108 int epoll_fd() const override { return epoll_fd_.Get(); } 153 LocalHandle epoll_fd_; member in class:android::pdx::uds::Endpoint
|
/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/libpdx/private/pdx/ |
H A D | service_dispatcher.h | 98 LocalHandle epoll_fd_; member in class:android::pdx::ServiceDispatcher
|
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
H A D | buffer_transport_benchmark.cpp | 248 int ret = epoll_fd_.Create(); 269 const int ret = epoll_fd_.Wait(events.data(), events.size(), 309 const int ret = epoll_fd_.Control(EPOLL_CTL_ADD, queue_fd, &event); 406 dvr::EpollFileDescriptor epoll_fd_; member in class:BufferHubTransport
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | service_endpoint.cpp | 182 epoll_fd_.Reset(epoll_create1(EPOLL_CLOEXEC)); 183 CHECK(epoll_fd_.IsValid()) 190 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, socket_fd.Get(), 201 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, cancel_event_fd_.Get(), 286 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, channel_fd.Get(), &event) < 0) { 313 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_MOD, fd.Get(), &event) < 0) { 338 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, channel_fd, &dummy) < 0) { 582 epoll_wait(epoll_fd_.Get(), &event, 1, is_blocking_ ? -1 : 0));
|
H A D | channel_event_set.cpp | 113 epoll_fd_ = std::move(epoll_fd);
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_client.cpp | 60 int ret = epoll_fd_.Create(); 70 ret = epoll_fd_.Control(EPOLL_CTL_ADD, event_fd(), &event); 160 const int ret = epoll_fd_.Wait(events.data(), events.size(), 304 epoll_fd_.Control(EPOLL_CTL_ADD, event_source.event_fd, &event); 323 epoll_fd_.Control(EPOLL_CTL_DEL, event_source.event_fd, nullptr);
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
H A D | buffer_hub_queue_client.h | 111 int queue_fd() const { return epoll_fd_.Get(); } 263 EpollFileDescriptor epoll_fd_; member in class:android::dvr::BufferHubQueue
|