Home
last modified time | relevance | path

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

/external/perfetto/src/ipc/
Dhost_impl_unittest.cc177 cli_.reset(new FakeClient(task_runner_.get())); in SetUp()
179 EXPECT_CALL(*cli_, OnConnect()).WillOnce(Invoke(on_connect)); in SetUp()
185 cli_.reset(); in TearDown()
195 std::unique_ptr<FakeClient> cli_; member in perfetto::ipc::__anon3cf0bd540111::HostImplTest
201 cli_->BindService("FakeService"); // FakeService does not exist yet. in TEST_F()
203 EXPECT_CALL(*cli_, OnServiceBound(_)) in TEST_F()
214 cli_->BindService("FakeService"); in TEST_F()
215 EXPECT_CALL(*cli_, OnServiceBound(_)) in TEST_F()
227 cli_->BindService("FakeService"); in TEST_F()
228 EXPECT_CALL(*cli_, OnServiceBound(_)).WillOnce(InvokeWithoutArgs(on_bind)); in TEST_F()
[all …]
Dclient_impl_unittest.cc207 cli_ = Client::CreateInstance({kTestSocket.name(), /*retry=*/false}, in SetUp()
212 cli_.reset(); in TearDown()
221 std::unique_ptr<Client> cli_; member in perfetto::ipc::__anon2c0b15d50111::ClientImplTest
231 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
280 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
309 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
351 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
382 base::ScopedFile rx_fd = cli_->TakeReceivedFD(); in TEST_F()
397 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
453 cli_->BindService(proxy[i]->GetWeakPtr()); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc206 CommandLineInterface cli_; member in google::protobuf::compiler::__anon5a1c7dce0111::CommandLineInterfaceTest
266 cli_.RegisterGenerator("--test_out", "--test_opt", generator, "Test output."); in SetUp()
267 cli_.RegisterGenerator("-t", generator, "Test output."); in SetUp()
271 cli_.RegisterGenerator("--alt_out", generator, "Alt output."); in SetUp()
275 cli_.RegisterGenerator("--null_out", generator, "Null output."); in SetUp()
300 cli_.AllowPlugins("prefix-"); in RunWithArgs()
356 return_code_ = cli_.Run(args.size(), argv.get()); in RunWithArgs()