Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dunix_socket_unittest.cc50 ipc::TestSocket kTestSocket{"unix_socket_unittest"}; variable
81 void SetUp() override { kTestSocket.Destroy(); } in SetUp()
82 void TearDown() override { kTestSocket.Destroy(); } in TearDown()
90 UnixSocket::Connect(kTestSocket.name(), &event_listener_, &task_runner_, in TEST_F()
91 kTestSocket.family(), SockType::kStream); in TEST_F()
103 UnixSocket::Listen(kTestSocket.name(), &event_listener_, &task_runner_, in TEST_F()
104 kTestSocket.family(), SockType::kStream); in TEST_F()
120 UnixSocket::Connect(kTestSocket.name(), &event_listener_, &task_runner_, in TEST_F()
121 kTestSocket.family(), SockType::kStream); in TEST_F()
141 UnixSocket::Listen(kTestSocket.name(), &event_listener_, &task_runner_, in TEST_F()
[all …]
/external/perfetto/src/ipc/test/
Dipc_integrationtest.cc40 ::perfetto::ipc::TestSocket kTestSocket{"ipc_integrationtest"};
67 void SetUp() override { kTestSocket.Destroy(); } in SetUp()
68 void TearDown() override { kTestSocket.Destroy(); } in TearDown()
76 Host::CreateInstance(kTestSocket.name(), &task_runner_); in TEST_F()
85 {kTestSocket.name(), /*retry=*/false}, &task_runner_); in TEST_F()
/external/perfetto/src/ipc/
Dhost_impl_unittest.cc47 ipc::TestSocket kTestSocket{"host_impl_unittest"}; variable
93 sock_ = base::UnixSocket::Connect(kTestSocket.name(), this, task_runner, in FakeClient()
94 kTestSocket.family(), in FakeClient()
171 kTestSocket.Destroy(); in SetUp()
174 Host::CreateInstance(kTestSocket.name(), task_runner_.get()).release(); in SetUp()
189 kTestSocket.Destroy(); in TearDown()
Dclient_impl_unittest.cc48 ipc::TestSocket kTestSocket{"client_impl_unittest"}; variable
107 kTestSocket.Destroy(); in FakeHost()
109 base::UnixSocket::Listen(kTestSocket.name(), this, task_runner, in FakeHost()
110 kTestSocket.family(), base::SockType::kStream); in FakeHost()
113 ~FakeHost() override { kTestSocket.Destroy(); } in ~FakeHost()
207 cli_ = Client::CreateInstance({kTestSocket.name(), /*retry=*/false}, in SetUp()