Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp18 if (!dispatcher->epoll_fd_ || !dispatcher->event_fd_) { in Create()
32 epoll_fd_.Reset(epoll_create1(EPOLL_CLOEXEC)); in ServiceDispatcher()
33 if (!epoll_fd_) { in ServiceDispatcher()
44 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { in ServiceDispatcher()
49 epoll_fd_.Close(); in ServiceDispatcher()
78 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, service->endpoint()->epoll_fd(), in AddService()
96 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, service->endpoint()->epoll_fd(), in RemoveService()
117 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout); in ReceiveAndDispatch()
150 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, -1); in EnterDispatchLoop()
/frameworks/native/libs/vr/libvrflinger/
Depoll_event_dispatcher.cpp14 epoll_fd_.Reset(epoll_create1(EPOLL_CLOEXEC)); in EpollEventDispatcher()
15 if (!epoll_fd_) { in EpollEventDispatcher()
30 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { in EpollEventDispatcher()
58 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, fd, &event) < 0) { in AddEventHandler()
72 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, fd, &dummy) < 0) { in RemoveEventHandler()
100 const int num_events = epoll_wait(epoll_fd_.Get(), events, kMaxNumEvents, -1); in EventThread()
Depoll_event_dispatcher.h56 pdx::LocalHandle epoll_fd_; variable
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_event_set.h48 !!epoll_fd_;
51 BorrowedHandle event_fd() const { return epoll_fd_.Borrow(); } in event_fd()
60 epoll_fd_.Close(); in TakeFds()
74 LocalHandle epoll_fd_; variable
Dservice_endpoint.h108 int epoll_fd() const override { return epoll_fd_.Get(); } in epoll_fd()
153 LocalHandle epoll_fd_; variable
/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp182 epoll_fd_.Reset(epoll_create1(EPOLL_CLOEXEC)); in Init()
183 CHECK(epoll_fd_.IsValid()) in Init()
190 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, socket_fd.Get(), in Init()
201 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, cancel_event_fd_.Get(), in Init()
286 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, channel_fd.Get(), &event) < 0) { in OnNewChannelLocked()
313 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_MOD, fd.Get(), &event) < 0) { in ReenableEpollEvent()
338 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, channel_fd, &dummy) < 0) { in CloseChannelLocked()
585 epoll_wait(epoll_fd_.Get(), &event, 1, is_blocking_ ? -1 : 0)); in MessageReceive()
Dchannel_event_set.cpp113 epoll_fd_ = std::move(epoll_fd); in ChannelEventReceiver()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp248 int ret = epoll_fd_.Create(); in Start()
269 const int ret = epoll_fd_.Wait(events.data(), events.size(), in Start()
309 const int ret = epoll_fd_.Control(EPOLL_CTL_ADD, queue_fd, &event); in CreateSurface()
406 dvr::EpollFileDescriptor epoll_fd_; member in BufferHubTransport
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice_dispatcher.h98 LocalHandle epoll_fd_; variable
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp60 int ret = epoll_fd_.Create(); in Initialize()
70 ret = epoll_fd_.Control(EPOLL_CTL_ADD, event_fd(), &event); in Initialize()
158 const int ret = epoll_fd_.Wait(events.data(), events.size(), in WaitForBuffers()
300 epoll_fd_.Control(EPOLL_CTL_ADD, event_source.event_fd, &event); in AddBuffer()
319 epoll_fd_.Control(EPOLL_CTL_DEL, event_source.event_fd, nullptr); in RemoveBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h112 int queue_fd() const { return epoll_fd_.Get(); } in queue_fd()
268 EpollFileDescriptor epoll_fd_; variable