Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dunix_socket.cc664 sock_raw_ = UnixSocketRaw::CreateMayFail(sock_family, sock_type); in UnixSocket()
665 if (!sock_raw_) in UnixSocket()
669 sock_raw_ = UnixSocketRaw(std::move(adopt_fd), sock_family, sock_type); in UnixSocket()
682 sock_raw_ = UnixSocketRaw(std::move(adopt_fd), sock_family, sock_type); in UnixSocket()
683 if (!sock_raw_.Listen()) { in UnixSocket()
692 PERFETTO_CHECK(sock_raw_); in UnixSocket()
694 sock_raw_.SetBlocking(false); in UnixSocket()
698 task_runner_->AddFileDescriptorWatch(sock_raw_.watch_handle(), [weak_ptr] { in UnixSocket()
712 if (sock_raw_) in ReleaseSocket()
713 task_runner_->RemoveFileDescriptorWatch(sock_raw_.watch_handle()); in ReleaseSocket()
[all …]
/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h305 PERFETTO_CHECK(sock_raw_.SetTxTimeout(timeout_ms)); in SetTxTimeout()
308 PERFETTO_CHECK(sock_raw_.SetRxTimeout(timeout_ms)); in SetRxTimeout()
348 SocketHandle fd() const { return sock_raw_.fd(); } in fd()
403 UnixSocketRaw sock_raw_; variable