Home
last modified time | relevance | path

Searched refs:SockFamily (Results 1 – 19 of 19) sorted by relevance

/external/perfetto/src/ipc/test/
Dtest_socket.h38 inline base::SockFamily family();
52 base::SockFamily TestSocket::family() { in family()
53 return base::SockFamily::kInet; in family()
63 base::SockFamily TestSocket::family() { in family()
64 return base::SockFamily::kUnix; in family()
74 base::SockFamily TestSocket::family() { in family()
75 return base::SockFamily::kUnix; in family()
/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h64 enum class SockFamily { kUnix = 200, kInet, kInet6 }; enum
91 static UnixSocketRaw CreateMayFail(SockFamily family, SockType type);
95 static std::pair<UnixSocketRaw, UnixSocketRaw> CreatePairPosix(SockFamily,
104 UnixSocketRaw(ScopedSocketHandle, SockFamily, SockType);
120 SockFamily family() const { return family_; } in family()
163 UnixSocketRaw(SockFamily, SockType);
172 SockFamily family_ = SockFamily::kUnix;
257 SockFamily,
265 SockFamily,
275 SockFamily,
[all …]
/external/perfetto/src/base/
Dunix_socket.cc106 inline int GetSockFamily(SockFamily family) { in GetSockFamily()
108 case SockFamily::kUnix: in GetSockFamily()
110 case SockFamily::kInet: in GetSockFamily()
112 case SockFamily::kInet6: in GetSockFamily()
135 SockaddrAny MakeSockAddr(SockFamily family, const std::string& socket_name) { in MakeSockAddr()
137 case SockFamily::kUnix: { in MakeSockAddr()
162 case SockFamily::kInet: { in MakeSockAddr()
176 case SockFamily::kInet6: { in MakeSockAddr()
198 ScopedSocketHandle CreateSocketHandle(SockFamily family, SockType type) { in CreateSocketHandle()
247 SockFamily family, in CreatePairPosix()
[all …]
Dunix_socket_unittest.cc433 SockFamily::kInet, SockType::kStream); in TEST_F()
453 SockFamily::kInet, SockType::kStream); in TEST_F()
/external/perfetto/src/profiling/memory/
Dclient_api_factory_standalone.cc84 base::SockFamily::kUnix, base::SockType::kStream); in StartHeapprofdIfStatic()
166 base::UnixSocketRaw::CreatePairPosix(base::SockFamily::kUnix, in ConstructClient()
Dwire_protocol_unittest.cc56 base::SockFamily::kUnix, in CopyFD()
59 base::SockFamily::kUnix, in CopyFD()
Dmain.cc105 &task_runner, base::SockFamily::kUnix, base::SockType::kStream); in StartCentralHeapprofd()
Dclient_api_unittest.cc61 base::SockFamily::kUnix, base::SockType::kStream); in ConstructClient()
Dclient_api_benchmark.cc59 base::SockFamily::kUnix, base::SockType::kStream); in ConstructClient()
Dclient.cc144 auto sock = base::UnixSocketRaw::CreateMayFail(base::SockFamily::kUnix, in ConnectToHeapprofd()
Dunwinding.cc386 base::SockFamily::kUnix, base::SockType::kStream); in HandleHandoffSocket()
Dheapprofd_producer.cc237 std::move(fd), &socket_delegate_, task_runner_, base::SockFamily::kUnix, in AdoptSocket()
/external/perfetto/src/ipc/
Dclient_impl.cc40 constexpr base::SockFamily kClientSockFamily =
41 kUseTCPSocket ? base::SockFamily::kInet : base::SockFamily::kUnix;
Dhost_impl.cc38 constexpr base::SockFamily kHostSockFamily =
39 kUseTCPSocket ? base::SockFamily::kInet : base::SockFamily::kUnix;
/external/perfetto/test/
Dproducer_socket_fuzzer.cc66 &task_runner, base::SockFamily::kUnix, base::SockType::kStream); in FuzzSharedMemory()
/external/perfetto/src/profiling/perf/
Dproc_descriptors.h76 base::SockFamily::kUnix, base::SockType::kStream); in AndroidRemoteDescriptorGetter()
/external/perfetto/src/trace_processor/rpc/
Dhttpd.cc139 base::SockFamily::kInet, in Run()
147 base::SockFamily::kInet6, in Run()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source_unittest.cc67 base::SockFamily::kUnix, base::SockType::kDgram); in StartAndSimulateLogd()
Dandroid_log_data_source.cc157 auto socket = base::UnixSocketRaw::CreateMayFail(base::SockFamily::kUnix, in ConnectLogdrSocket()