/frameworks/native/libs/vr/libpdx/ |
D | service_dispatcher.cpp | 18 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/ |
D | epoll_event_dispatcher.cpp | 14 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, &ee) < 0) { in RemoveEventHandler() 100 const int num_events = epoll_wait(epoll_fd_.Get(), events, kMaxNumEvents, -1); in EventThread()
|
D | epoll_event_dispatcher.h | 56 pdx::LocalHandle epoll_fd_; variable
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
D | channel_event_set.h | 48 !!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
|
D | service_endpoint.h | 108 int epoll_fd() const override { return epoll_fd_.Get(); } in epoll_fd() 153 LocalHandle epoll_fd_; variable
|
/frameworks/native/libs/adbd_auth/ |
D | adbd_auth.cpp | 84 epoll_fd_.reset(epoll_create1(EPOLL_CLOEXEC)); in AdbdAuthContext() 85 if (epoll_fd_ == -1) { in AdbdAuthContext() 153 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_MOD, framework_fd_.get(), &event)); in UpdateFrameworkWritable() 165 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_DEL, framework_fd_.get(), nullptr)); in ReplaceFrameworkFd() 177 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, new_fd.get(), &event)); in ReplaceFrameworkFd() 303 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, sock_fd_.get(), &event)); in Run() 310 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, event_fd_.get(), &event)); in Run() 315 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 3, -1)); in Run() 496 unique_fd epoll_fd_; member
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | service_endpoint.cpp | 182 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, &ee) < 0) { in CloseChannelLocked() 585 epoll_wait(epoll_fd_.Get(), &event, 1, is_blocking_ ? -1 : 0)); in MessageReceive()
|
D | channel_event_set.cpp | 113 epoll_fd_ = std::move(epoll_fd); in ChannelEventReceiver()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | service_dispatcher.h | 98 LocalHandle epoll_fd_; variable
|
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
D | buffer_transport_benchmark.cpp | 248 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/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 60 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/ |
D | buffer_hub_queue_client.h | 112 int queue_fd() const { return epoll_fd_.Get(); } in queue_fd() 268 EpollFileDescriptor epoll_fd_; variable
|