Searched refs:epoll_fd_ (Results 1 – 7 of 7) sorted by relevance
/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/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 | 86 epoll_fd_.reset(epoll_create1(EPOLL_CLOEXEC)); in AdbdAuthContext() 87 if (epoll_fd_ == -1) { in AdbdAuthContext() 155 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_MOD, framework_fd_.get(), &event)); in UpdateFrameworkWritable() 167 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_DEL, framework_fd_.get(), nullptr)); in ReplaceFrameworkFd() 179 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, new_fd.get(), &event)); in ReplaceFrameworkFd() 305 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, sock_fd_.get(), &event)); in Run() 312 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, event_fd_.get(), &event)); in Run() 317 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 3, -1)); in Run() 498 unique_fd epoll_fd_; member
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | service_dispatcher.h | 98 LocalHandle epoll_fd_; variable
|
/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()
|