Home
last modified time | relevance | path

Searched refs:data_fd (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dchannel_manager.cpp24 LocalChannelHandle ChannelManager::CreateHandle(LocalHandle data_fd, in CreateHandle() argument
26 if (data_fd && event_fd) { in CreateHandle()
28 int32_t handle = data_fd.Get(); in CreateHandle()
30 ChannelData{std::move(data_fd), std::move(event_fd)}); in CreateHandle()
Dchannel_event_set.cpp34 Status<void> ChannelEventSet::AddDataFd(const LocalHandle& data_fd) { in AddDataFd() argument
38 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, data_fd.Get(), &event) < 0) { in AddDataFd()
Dservice_endpoint.cpp52 std::move(channel_info.data_fd), std::move(channel_info.event_fd)); in GetLocalChannelHandle()
73 channel_info.data_fd.Reset(handle.value()); in PushChannelHandle()
82 Status<ChannelReference> PushChannelHandle(BorrowedHandle data_fd, in PushChannelHandle()
84 if (!data_fd || !event_fd) in PushChannelHandle()
87 channel_info.data_fd = std::move(data_fd); in PushChannelHandle()
291 channel_data.data_fd = std::move(channel_fd); in OnNewChannelLocked()
299 channel_fd_to_id_.emplace(channel_data.data_fd.Get(), last_channel_id_); in OnNewChannelLocked()
333 int channel_fd = iter->second.data_fd.Get(); in CloseChannelLocked()
471 handle = channel_data->second.data_fd.Borrow(); in GetChannelSocketFd()
Dclient_channel.cpp36 std::move(channel_info.data_fd), std::move(channel_info.event_fd)); in GetLocalChannelHandle()
57 channel_info.data_fd.Reset(handle.value()); in PushChannelHandle()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_manager.h19 LocalChannelHandle CreateHandle(LocalHandle data_fd, LocalHandle event_fd);
21 LocalHandle data_fd; member
Dchannel_event_set.h26 Status<void> AddDataFd(const LocalHandle& data_fd);
Dipc_helper.h111 FileHandleType data_fd;
115 PDX_SERIALIZABLE_MEMBERS(ChannelInfo, data_fd, event_fd);
Dservice_endpoint.h112 LocalHandle data_fd; member