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

/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dchannel_event_set.h22 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 Dservice_dispatcher.h45 LocalHandle epoll_fd_; member in class:android::pdx::uds::ServiceDispatcher
H A Dservice_endpoint.h108 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 Dservice_dispatcher.cpp19 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 Dchannel_event_set.cpp30 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 Dservice_endpoint.cpp179 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 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/libbufferhubqueue/include/private/dvr/
H A Dbuffer_hub_queue_client.h65 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 Dbuffer_hub_queue_client.cpp58 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);

Completed in 7595 milliseconds