Home
last modified time | relevance | path

Searched refs:channel_fd (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp244 connection_info.channel_fd = std::move(remote_socket); in AcceptConnection()
274 Status<void> Endpoint::OnNewChannel(LocalHandle channel_fd) { in OnNewChannel() argument
277 status.PropagateError(OnNewChannelLocked(std::move(channel_fd), nullptr)); in OnNewChannel()
282 LocalHandle channel_fd, Channel* channel_state) { in OnNewChannelLocked() argument
285 event.data.fd = channel_fd.Get(); in OnNewChannelLocked()
286 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, channel_fd.Get(), &event) < 0) { in OnNewChannelLocked()
293 channel_data.data_fd = std::move(channel_fd); in OnNewChannelLocked()
335 int channel_fd = iter->second.data_fd.Get(); in CloseChannelLocked() local
338 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, channel_fd, &dummy) < 0) { in CloseChannelLocked()
348 channel_fd_to_id_.erase(channel_fd); in CloseChannelLocked()
[all …]
Dclient_channel_factory.cpp130 socket_ = std::move(connection_info.channel_fd); in Connect()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dservice_endpoint.h106 Status<void> RegisterNewChannelForTests(LocalHandle channel_fd);
134 Status<void> ReceiveMessageForChannel(const BorrowedHandle& channel_fd,
136 Status<void> OnNewChannel(LocalHandle channel_fd);
138 LocalHandle channel_fd, Channel* channel_state);
140 Status<void> ReenableEpollEvent(const BorrowedHandle& channel_fd);
145 int32_t GetChannelId(const BorrowedHandle& channel_fd);
Dipc_helper.h125 FileHandleType channel_fd;
128 PDX_SERIALIZABLE_MEMBERS(ChannelConnectionInfo, channel_fd);