Home
last modified time | relevance | path

Searched refs:SockPeerCredMode (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h68 enum class SockPeerCredMode { enum
277 SockPeerCredMode = SockPeerCredMode::kDefault);
286 SockPeerCredMode = SockPeerCredMode::kDefault);
384 SockPeerCredMode);
391 SockPeerCredMode);
405 SockPeerCredMode peer_cred_mode_ = SockPeerCredMode::kDefault;
/external/perfetto/src/base/
Dunix_socket.cc607 sock_family, sock_type, SockPeerCredMode::kDefault)); in Listen()
617 SockPeerCredMode peer_cred_mode) { in Connect()
631 SockPeerCredMode peer_cred_mode) { in AdoptConnected()
641 SockPeerCredMode peer_cred_mode) in UnixSocket()
656 SockPeerCredMode peer_cred_mode) in UnixSocket()
672 if (peer_cred_mode_ == SockPeerCredMode::kReadOnConnect) in UnixSocket()
753 PERFETTO_CHECK(peer_cred_mode_ != SockPeerCredMode::kIgnore); in ReadPeerCredentialsPosix()
794 PERFETTO_DCHECK(peer_cred_mode_ != SockPeerCredMode::kReadOnConnect); in OnEvent()
873 if (peer_cred_mode_ == SockPeerCredMode::kReadOnConnect) in OnEvent()
Dunix_socket_unittest.cc488 SockType::kStream, SockPeerCredMode::kIgnore); in TEST_F()
495 SockType::kStream, SockPeerCredMode::kReadOnConnect); in TEST_F()
/external/perfetto/src/ipc/
Dclient_impl.cc62 base::SockType::kStream, base::SockPeerCredMode::kIgnore); in ClientImpl()
80 base::SockPeerCredMode::kIgnore); in TryConnect()