Home
last modified time | relevance | path

Searched refs:ReceiveString (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/base/
Dunix_socket_unittest.cc170 ASSERT_EQ("srv>cli", s->ReceiveString()); in TEST_F()
177 ASSERT_EQ("cli>srv", s->ReceiveString()); in TEST_F()
192 ASSERT_EQ("", cli->ReceiveString()); in TEST_F()
194 ASSERT_EQ("", srv_conn->ReceiveString()); in TEST_F()
225 InvokeWithoutArgs([srv_conn] { srv_conn->ReceiveString(); })); in TEST_F()
252 ASSERT_EQ("PING", t->ReceiveString()); in TEST_F()
270 ASSERT_EQ("PONG", s->ReceiveString()); in TEST_F()
446 cli_sock->ReceiveString(); // Read connection EOF; in TEST_F()
459 auto str = s->ReceiveString(); in TEST_F()
552 .WillOnce(Invoke([](UnixSocket* sock) { sock->ReceiveString(); })); in TEST_F()
[all …]
Dunix_socket.cc978 std::string UnixSocket::ReceiveString(size_t max_length) { in ReceiveString() function in perfetto::base::UnixSocket
/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h344 std::string ReceiveString(size_t max_length = 1024);