Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dunix_socket_unittest.cc519 UnixSocket* srv_client_conn = nullptr; in TEST_F() local
522 .WillOnce(Invoke([&srv_client_conn, srv_connected](UnixSocket*, in TEST_F()
524 srv_client_conn = srv_conn; in TEST_F()
541 ASSERT_NE(nullptr, srv_client_conn); in TEST_F()
542 ASSERT_TRUE(srv_client_conn->is_connected()); in TEST_F()
545 EXPECT_CALL(event_listener_, OnDisconnect(srv_client_conn)) in TEST_F()
551 EXPECT_CALL(event_listener_, OnDataAvailable(srv_client_conn)) in TEST_F()
556 ASSERT_FALSE(srv_client_conn->is_connected()); in TEST_F()
558 static_cast<uint32_t>(srv_client_conn->peer_uid_posix())); in TEST_F()
561 EXPECT_EQ(getpid(), static_cast<pid_t>(srv_client_conn->peer_pid_linux())); in TEST_F()