Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dunix_socket_unittest.cc155 UnixSocket*, UnixSocket* srv_conn) { in TEST_F() argument
156 EXPECT_CALL(event_listener_, OnDisconnect(srv_conn)) in TEST_F()
163 auto srv_conn = event_listener_.GetIncomingConnection(); in TEST_F() local
164 ASSERT_TRUE(srv_conn); in TEST_F()
175 EXPECT_CALL(event_listener_, OnDataAvailable(srv_conn.get())) in TEST_F()
181 ASSERT_TRUE(srv_conn->Send("srv>cli")); in TEST_F()
193 ASSERT_EQ(0u, srv_conn->Receive(&msg, sizeof(msg))); in TEST_F()
194 ASSERT_EQ("", srv_conn->ReceiveString()); in TEST_F()
196 ASSERT_FALSE(srv_conn->Send("bar")); in TEST_F()
221 UnixSocket*, UnixSocket* srv_conn) { in TEST_F() argument
[all …]