Searched refs:epoll_fd_ (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/libs/vr/libpdx/
H A Dservice_dispatcher.cpp18 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 Dchannel_event_set.h48 !!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 Dservice_endpoint.h108 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 Depoll_event_dispatcher.cpp14 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 Depoll_event_dispatcher.h43 // 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 Dservice_dispatcher.h98 LocalHandle epoll_fd_; member in class:android::pdx::ServiceDispatcher
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
H A Dbuffer_transport_benchmark.cpp248 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 Dservice_endpoint.cpp182 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 Dchannel_event_set.cpp113 epoll_fd_ = std::move(epoll_fd);
/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_client.cpp60 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 Dbuffer_hub_queue_client.h111 int queue_fd() const { return epoll_fd_.Get(); }
263 EpollFileDescriptor epoll_fd_; member in class:android::dvr::BufferHubQueue

Completed in 106 milliseconds