Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dunix_socket.cc435 sock_raw_ = UnixSocketRaw::CreateMayFail(sock_type); in UnixSocket()
436 if (!sock_raw_) { in UnixSocket()
442 sock_raw_ = UnixSocketRaw(std::move(adopt_fd), sock_type); in UnixSocket()
454 sock_raw_ = UnixSocketRaw(std::move(adopt_fd), sock_type); in UnixSocket()
455 if (!sock_raw_.Listen()) { in UnixSocket()
465 PERFETTO_CHECK(sock_raw_); in UnixSocket()
468 sock_raw_.SetBlocking(false); in UnixSocket()
471 task_runner_->AddFileDescriptorWatch(sock_raw_.fd(), [weak_ptr] { in UnixSocket()
485 if (sock_raw_) in ReleaseSocket()
486 task_runner_->RemoveFileDescriptorWatch(sock_raw_.fd()); in ReleaseSocket()
[all …]
/external/perfetto/include/perfetto/base/
Dunix_socket.h278 int fd() const { return sock_raw_.fd(); } in fd()
316 UnixSocketRaw sock_raw_; variable