Home
last modified time | relevance | path

Searched refs:SockType (Results 1 – 10 of 10) sorted by relevance

/external/perfetto/include/perfetto/base/
Dunix_socket.h41 enum class SockType { kStream = 100, kDgram, kSeqPacket }; enum
50 static UnixSocketRaw CreateMayFail(SockType t) { return UnixSocketRaw(t); } in CreateMayFail()
53 static std::pair<UnixSocketRaw, UnixSocketRaw> CreatePair(SockType);
60 UnixSocketRaw(ScopedFile, SockType);
75 SockType type() const { return type_; } in type()
101 explicit UnixSocketRaw(SockType);
107 SockType type_{SockType::kStream};
190 SockType = SockType::kStream);
197 SockType = SockType::kStream);
205 SockType = SockType::kStream);
[all …]
/external/perfetto/src/base/
Dunix_socket.cc66 inline int GetUnixSockType(SockType type) { in GetUnixSockType()
68 case SockType::kStream: in GetUnixSockType()
70 case SockType::kDgram: in GetUnixSockType()
72 case SockType::kSeqPacket: in GetUnixSockType()
125 std::pair<UnixSocketRaw, UnixSocketRaw> UnixSocketRaw::CreatePair(SockType t) { in CreatePair()
136 UnixSocketRaw::UnixSocketRaw(SockType type) in UnixSocketRaw()
140 UnixSocketRaw::UnixSocketRaw(ScopedFile fd, SockType type) in UnixSocketRaw()
196 PERFETTO_DCHECK(type_ == SockType::kStream || type_ == SockType::kSeqPacket); in Listen()
374 SockType sock_type) { in Listen()
387 SockType sock_type) { in Listen()
[all …]
Dunix_socket_unittest.cc270 auto sock_raw = UnixSocketRaw::CreateMayFail(SockType::kStream); in TEST_F()
648 std::tie(send_sock, recv_sock) = UnixSocketRaw::CreatePair(SockType::kStream); in TEST_F()
/external/perfetto/src/profiling/memory/
Dwire_protocol_unittest.cc60 base::SockType::kStream); in CopyFD()
62 base::SockType::kStream); in CopyFD()
Dclient.cc104 auto sock = base::UnixSocketRaw::CreateMayFail(base::SockType::kStream); in ConnectToHeapprofd()
Dunwinding.cc388 base::SockType::kStream); in HandleHandoffSocket()
Dmalloc_hooks.cc256 perfetto::base::SockType::kStream); in CreateClientAndPrivateDaemon()
Dheapprofd_producer.cc171 base::SockType::kStream); in AdoptTargetProcessSocket()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc141 auto socket = base::UnixSocketRaw::CreateMayFail(base::SockType::kSeqPacket); in ConnectLogdrSocket()
Dandroid_log_data_source_unittest.cc65 const auto kSockType = base::SockType::kDgram; in StartAndSimulateLogd()