Home
last modified time | relevance | path

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

/frameworks/base/services/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