Home
last modified time | relevance | path

Searched refs:data_fd_ (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/common_time/
Ddiag_thread.cpp66 data_fd_ = -1; in DiagThread()
146 if (data_fd_ >= 0) { in cleanupDataSocket()
153 setsockopt(data_fd_, SOL_SOCKET, SO_LINGER, &l, sizeof(l)); in cleanupDataSocket()
154 shutdown(data_fd_, SHUT_RDWR); in cleanupDataSocket()
155 close(data_fd_); in cleanupDataSocket()
156 data_fd_ = -1; in cleanupDataSocket()
212 if (data_fd_ < 0) { in threadLoop()
216 poll_fds[0].fd = data_fd_; in threadLoop()
232 data_fd_ = accept(listen_fd_, NULL, NULL); in threadLoop()
234 if (data_fd_ < 0) { in threadLoop()
[all …]
Ddiag_thread.h63 int data_fd_; variable
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_parcelable.cpp19 : data_fd_{std::move(data_fd)}, in ChannelParcelable()
24 return !!data_fd_ && !!pollin_event_fd_ && !!pollhup_event_fd_; in IsValid()
33 return ChannelManager::Get().CreateHandle(std::move(data_fd_), in TakeChannelHandle()
52 res = parcel->writeFileDescriptor(data_fd_.Get()); in writeToParcel()
109 data_fd_.Reset(dup(parcel->readFileDescriptor())); in readFromParcel()
116 data_fd_.Get(), pollin_event_fd_.Get(), pollhup_event_fd_.Get()); in readFromParcel()
Dchannel_event_set.cpp112 data_fd_ = std::move(data_fd); in ChannelEventReceiver()
119 {data_fd_.Get(), POLLHUP | POLLRDHUP, 0}}}; in PollPendingEvents()
143 return {{data_fd_.Get(), EPOLLHUP | EPOLLRDHUP}, in GetEventSources()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_event_set.h47 return !!pollin_event_fd_ && !!pollhup_event_fd_ && !!data_fd_ &&
55 BorrowedHandle data_fd() const { return data_fd_.Borrow(); } in data_fd()
61 return {std::move(data_fd_), std::move(pollin_event_fd_), in TakeFds()
71 LocalHandle data_fd_;
Dchannel_parcelable.h26 LocalHandle data_fd_;