Home
last modified time | relevance | path

Searched refs:UnixSocketConnection (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
DUnixSocket.cpp75 std::unique_ptr<UnixSocketConnection> UnixSocketServer::AcceptConnection() { in AcceptConnection()
81 return std::unique_ptr<UnixSocketConnection>( in AcceptConnection()
82 new UnixSocketConnection(sockfd)); in AcceptConnection()
85 std::unique_ptr<UnixSocketConnection> UnixSocketConnection::Connect( in Connect()
101 return std::unique_ptr<UnixSocketConnection>( in Connect()
102 new UnixSocketConnection(sockfd)); in Connect()
105 bool UnixSocketConnection::PrepareForIO( in PrepareForIO()
123 bool UnixSocketConnection::WriteData() { in WriteData()
145 bool UnixSocketConnection::GetDataFromSendBuffer(const char** pdata, in GetDataFromSendBuffer()
162 bool UnixSocketConnection::ReadData() { in ReadData()
[all …]
DUnixSocket.h35 class UnixSocketConnection; variable
110 std::unique_ptr<UnixSocketConnection> AcceptConnection();
132 class UnixSocketConnection {
138 explicit UnixSocketConnection(int fd) in UnixSocketConnection() function
148 static std::unique_ptr<UnixSocketConnection> Connect(
151 ~UnixSocketConnection();
DUnixSocket_test.cpp80 std::unique_ptr<UnixSocketConnection> client = in ClientToTestUndelayedMessage()
81 UnixSocketConnection::Connect(path, true); in ClientToTestUndelayedMessage()
110 std::unique_ptr<UnixSocketConnection> conn = server->AcceptConnection(); in TEST()
143 std::unique_ptr<UnixSocketConnection> client = in ClientToTestBufferedMessage()
144 UnixSocketConnection::Connect(path, true); in ClientToTestBufferedMessage()
179 std::unique_ptr<UnixSocketConnection> conn = server->AcceptConnection(); in TEST()
DInplaceSamplerClient.h50 std::unique_ptr<UnixSocketConnection> conn_;
Dinplace_sampler_lib.cpp62 SampleManager(std::unique_ptr<UnixSocketConnection> conn) : conn_(std::move(conn)), in SampleManager()
80 std::unique_ptr<UnixSocketConnection> conn_;
334 std::unique_ptr<UnixSocketConnection> conn = server->AcceptConnection(); in CommunicationThread()
DInplaceSamplerClient.cpp60 conn_ = UnixSocketConnection::Connect(server_path, true); in ConnectServer()