/system/update_engine/common/ |
D | proxy_resolver_unittest.cc | 36 void SetUp() override { loop_.SetAsCurrent(); } in SetUp() 38 void TearDown() override { EXPECT_FALSE(loop_.PendingTasks()); } in TearDown() 40 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::ProxyResolverTest 61 loop_.Run(); in TEST_F() 75 loop_.Run(); in TEST_F() 87 loop_.Run(); in TEST_F()
|
D | subprocess_unittest.cc | 67 loop_.SetAsCurrent(); in SetUp() 73 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::SubprocessTest 137 loop_.Run(); in TEST_F() 144 loop_.Run(); in TEST_F() 153 loop_.Run(); in TEST_F() 167 loop_.Run(); in TEST_F() 184 loop_.Run(); in TEST_F() 190 loop_.Run(); in TEST_F() 258 loop_.WatchFileDescriptor(FROM_HERE, in TEST_F() 277 &loop_, TimeDelta::FromSeconds(120), base::Bind([] { in TEST_F()
|
D | http_fetcher_unittest.cc | 402 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::HttpFetcherTest 407 HttpFetcherTest() { loop_.SetAsCurrent(); } in HttpFetcherTest() 410 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown() 485 this->loop_.PostTask(FROM_HERE, in TYPED_TEST() 489 this->loop_.Run(); in TYPED_TEST() 501 this->loop_.PostTask( in TYPED_TEST() 505 this->loop_.Run(); in TYPED_TEST() 525 this->loop_.PostTask(FROM_HERE, in TYPED_TEST() 529 this->loop_.Run(); in TYPED_TEST() 563 this->loop_.PostTask( in TYPED_TEST() [all …]
|
/system/update_engine/update_manager/ |
D | real_device_policy_provider_unittest.cc | 64 loop_.SetAsCurrent(); in SetUp() 89 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 108 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmRealDevicePolicyProviderTest 123 loop_.RunOnce(false); in TEST_F() 136 loop_.RunOnce(false); in TEST_F() 149 loop_.RunOnce(false); in TEST_F() 160 loop_.RunOnce(false); in TEST_F() 173 loop_.RunOnce(false); in TEST_F() 202 loop_.RunOnce(false); in TEST_F() 243 loop_.RunOnce(false); in TEST_F() [all …]
|
D | real_shill_provider_unittest.cc | 69 loop_.SetAsCurrent(); in SetUp() 83 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 123 EXPECT_TRUE(loop_.RunOnce(false)); in InitWithDefaultService() 206 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmRealShillProviderTest 300 EXPECT_TRUE(loop_.RunOnce(false)); in TEST_F() 507 EXPECT_TRUE(loop_.RunOnce(false)); in TEST_F() 519 EXPECT_TRUE(loop_.RunOnce(false)); in TEST_F()
|
D | generic_variables_unittest.cc | 146 void SetUp() override { loop_.SetAsCurrent(); } in SetUp() 150 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 153 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmAsyncCopyVariableTest
|
D | policy_test_utils.cc | 35 loop_.SetAsCurrent(); in SetUp() 42 EXPECT_FALSE(loop_.PendingTasks()); in TearDown()
|
D | update_manager_unittest.cc | 82 loop_.SetAsCurrent(); in SetUp() 90 void TearDown() override { EXPECT_FALSE(loop_.PendingTasks()); } in TearDown() 93 brillo::FakeMessageLoop loop_{&test_clock_}; member in chromeos_update_manager::UmUpdateManagerTest
|
D | variable_unittest.cc | 55 void SetUp() override { loop_.SetAsCurrent(); } in SetUp() 57 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmBaseVariableTest
|
D | policy_test_utils.h | 93 brillo::FakeMessageLoop loop_{nullptr};
|
D | evaluation_context_unittest.cc | 90 loop_.SetAsCurrent(); in SetUp() 122 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 127 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmEvaluationContextTest
|
/system/update_engine/ |
D | update_attempter_unittest.cc | 135 loop_.SetAsCurrent(); in UpdateAttempterTest() 207 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::UpdateAttempterTest 224 loop_.PostTask( in ScheduleQuitMainLoop() 227 base::Unretained(&loop_))); in ScheduleQuitMainLoop() 510 loop_.PostTask(FROM_HERE, in UpdateTestStart() 519 loop_.BreakLoop(); in UpdateTestVerify() 568 loop_.PostTask(FROM_HERE, in RollbackTestStart() 573 loop_.BreakLoop(); in RollbackTestStart() 583 loop_.BreakLoop(); in RollbackTestVerify() 588 loop_.Run(); in TEST_F() [all …]
|
D | p2p_manager_unittest.cc | 75 loop_.SetAsCurrent(); in SetUp() 96 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::P2PManagerTest 481 loop_.Run(); in TEST_F() 487 loop_.Run(); in TEST_F() 493 loop_.Run(); in TEST_F() 499 loop_.Run(); in TEST_F() 505 loop_.Run(); in TEST_F() 525 loop_.Run(); in TEST_F()
|
D | connection_manager_unittest.cc | 54 loop_.SetAsCurrent(); in SetUp() 58 void TearDown() override { EXPECT_FALSE(loop_.PendingTasks()); } in TearDown() 83 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::ConnectionManagerTest
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 41 void SetUp() override { loop_.SetAsCurrent(); } in SetUp() 44 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown() 52 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::FilesystemVerifierActionTest 144 loop_.PostTask(FROM_HERE, in DoTest() 154 loop_.Run(); in DoTest() 271 while (loop_.RunOnce(false)) { in TEST_F() 325 loop_.PostTask( in TEST_F() 330 loop_.Run(); in TEST_F() 372 loop_.PostTask( in TEST_F() 377 loop_.Run(); in TEST_F()
|
D | postinstall_runner_action_unittest.cc | 88 loop_.SetAsCurrent(); in SetUp() 118 loop_.PostDelayedTask( in SuspendRunningAction() 126 loop_.PostDelayedTask( in SuspendRunningAction() 137 loop_.PostDelayedTask( in CancelWhenStarted() 150 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::PostinstallRunnerActionTest 201 loop_.PostTask( in RunPostinstallAction() 206 loop_.Run(); in RunPostinstallAction() 347 loop_.PostTask(FROM_HERE, in TEST_F()
|
D | download_action_unittest.cc | 522 void SetUp() override { loop_.SetAsCurrent(); } in SetUp() 525 void TearDown() override { EXPECT_FALSE(loop_.PendingTasks()); } in TearDown() 584 loop_.PostTask( in StartDownload() 593 loop_.Run(); in StartDownload() 597 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::P2PDownloadActionTest
|
/system/extras/simpleperf/ |
D | event_selection_set.cpp | 133 : for_stat_cmd_(for_stat_cmd), loop_(new IOEventLoop) {} in EventSelectionSet() 622 if (!record_read_thread_->RegisterDataCallback(*loop_, in PrepareToReadMmapEventData() 673 loop_.reset(new IOEventLoop); in FinishReadMmapEventData() 677 return loop_->ExitLoop(); in FinishReadMmapEventData() 685 if (!sampler->StopProfiling(*loop_, close_callback)) { in FinishReadMmapEventData() 701 if (!loop_->AddPeriodicEvent(tv, [&]() { return loop_->ExitLoop(); })) { in FinishReadMmapEventData() 704 return loop_->RunLoop(); in FinishReadMmapEventData() 716 if (!loop_->AddPeriodicEvent(SecondToTimeval(check_interval_in_sec), in HandleCpuHotplugEvents() 859 return loop_->AddPeriodicEvent(SecondToTimeval(check_interval_in_sec), in StopWhenNoMoreTargets() 865 return loop_->ExitLoop(); in CheckMonitoredTargets() [all …]
|
D | inplace_sampler_lib.cpp | 93 IOEventLoop loop_; member in __anon56195e7e0111::SampleManager 101 return loop_.ExitLoop(); in Run() 103 if (!conn_->PrepareForIO(loop_, read_callback, close_callback)) { in Run() 106 loop_.RunLoop(); in Run() 194 return loop_.AddPeriodicEvent(tv, [&]() { in StartProfiling()
|
D | event_selection_set.h | 132 return loop_.get(); in GetIOEventLoop() 188 std::unique_ptr<IOEventLoop> loop_; variable
|
/system/core/libappfuse/tests/ |
D | FuseAppLoopTest.cc | 90 std::unique_ptr<FuseAppLoop> loop_; member in android::fuse::__anon239256b20111::FuseAppLoopTest 95 loop_.reset(new FuseAppLoop(std::move(sockets_[1]))); in SetUp() 96 callback_.loop = loop_.get(); in SetUp() 97 thread_ = std::thread([this] { loop_->Start(&callback_); }); in SetUp() 292 loop_->Break(); in TEST_F()
|