/system/update_engine/ |
D | proxy_resolver_unittest.cc | 37 void SetUp() override { loop_.SetAsCurrent(); } in SetUp() 39 void TearDown() override { EXPECT_FALSE(loop_.PendingTasks()); } in TearDown() 41 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::ProxyResolverTest 62 loop_.Run(); in TEST_F() 76 loop_.Run(); in TEST_F() 88 loop_.Run(); in TEST_F()
|
D | update_attempter_unittest.cc | 124 loop_.SetAsCurrent(); in UpdateAttempterTest() 187 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::UpdateAttempterTest 209 loop_.PostTask( in ScheduleQuitMainLoop() 212 base::Unretained(&loop_))); in ScheduleQuitMainLoop() 405 loop_.PostTask(FROM_HERE, in UpdateTestStart() 425 loop_.BreakLoop(); in UpdateTestVerify() 475 loop_.PostTask(FROM_HERE, in RollbackTestStart() 480 loop_.BreakLoop(); in RollbackTestStart() 500 loop_.BreakLoop(); in RollbackTestVerify() 505 loop_.Run(); in TEST_F() [all …]
|
D | p2p_manager_unittest.cc | 74 loop_.SetAsCurrent(); in SetUp() 92 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::P2PManagerTest 480 loop_.Run(); in TEST_F() 486 loop_.Run(); in TEST_F() 492 loop_.Run(); in TEST_F() 499 loop_.Run(); in TEST_F() 505 loop_.Run(); in TEST_F() 523 loop_.Run(); in TEST_F()
|
D | connection_manager_unittest.cc | 53 loop_.SetAsCurrent(); in SetUp() 57 void TearDown() override { EXPECT_FALSE(loop_.PendingTasks()); } in TearDown() 81 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::ConnectionManagerTest
|
/system/update_engine/update_manager/ |
D | real_device_policy_provider_unittest.cc | 61 loop_.SetAsCurrent(); in SetUp() 87 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() 195 loop_.RunOnce(false); in TEST_F() 232 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() 512 EXPECT_TRUE(loop_.RunOnce(false)); in TEST_F() 524 EXPECT_TRUE(loop_.RunOnce(false)); in TEST_F()
|
D | generic_variables_unittest.cc | 152 loop_.SetAsCurrent(); in SetUp() 157 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 161 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmAsyncCopyVariableTest
|
D | update_manager_unittest.cc | 80 loop_.SetAsCurrent(); in SetUp() 87 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 91 brillo::FakeMessageLoop loop_{&test_clock_}; member in chromeos_update_manager::UmUpdateManagerTest
|
D | variable_unittest.cc | 57 loop_.SetAsCurrent(); in SetUp() 60 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmBaseVariableTest
|
D | evaluation_context_unittest.cc | 89 loop_.SetAsCurrent(); in SetUp() 119 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 124 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmEvaluationContextTest
|
D | chromeos_policy_unittest.cc | 49 loop_.SetAsCurrent(); in SetUp() 57 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 200 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmChromeOSPolicyTest
|
/system/update_engine/common/ |
D | subprocess_unittest.cc | 68 loop_.SetAsCurrent(); in SetUp() 74 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::SubprocessTest 136 loop_.Run(); in TEST_F() 143 loop_.Run(); in TEST_F() 152 loop_.Run(); in TEST_F() 166 loop_.Run(); in TEST_F() 183 loop_.Run(); in TEST_F() 189 loop_.Run(); in TEST_F() 259 loop_.WatchFileDescriptor(FROM_HERE, in TEST_F() 274 &loop_, in TEST_F()
|
D | http_fetcher_unittest.cc | 380 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::HttpFetcherTest 386 loop_.SetAsCurrent(); in HttpFetcherTest() 390 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown() 465 this->loop_.PostTask(FROM_HERE, base::Bind( in TYPED_TEST() 469 this->loop_.Run(); in TYPED_TEST() 481 this->loop_.PostTask(FROM_HERE, base::Bind( in TYPED_TEST() 485 this->loop_.Run(); in TYPED_TEST() 505 this->loop_.PostTask(FROM_HERE, base::Bind( in TYPED_TEST() 509 this->loop_.Run(); in TYPED_TEST() 543 this->loop_.PostTask( in TYPED_TEST() [all …]
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action_unittest.cc | 88 loop_.SetAsCurrent(); in SetUp() 117 loop_.PostDelayedTask( in SuspendRunningAction() 125 loop_.PostDelayedTask( in SuspendRunningAction() 136 loop_.PostDelayedTask( in CancelWhenStarted() 149 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::PostinstallRunnerActionTest 196 loop_.PostTask( in RunPosinstallAction() 201 loop_.Run(); in RunPosinstallAction() 320 loop_.PostTask(FROM_HERE, in TEST_F()
|
D | filesystem_verifier_action_unittest.cc | 50 loop_.SetAsCurrent(); in SetUp() 54 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown() 60 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::FilesystemVerifierActionTest 185 loop_.PostTask(FROM_HERE, base::Bind(&StartProcessorInRunLoop, in DoTest() 189 loop_.Run(); in DoTest() 299 while (loop_.RunOnce(false)) {} in TEST_F()
|
D | download_action_unittest.cc | 422 loop_.SetAsCurrent(); in SetUp() 427 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 485 loop_.PostTask(FROM_HERE, base::Bind( in StartDownload() 488 loop_.Run(); in StartDownload() 492 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::P2PDownloadActionTest
|
/system/extras/simpleperf/ |
D | event_selection_set.cpp | 533 if (!event_fd->StartPolling(*loop_, [this]() { in PrepareToReadMmapEventData() 541 if (!sampler->StartPolling(*loop_, callback, in PrepareToReadMmapEventData() 641 loop_.reset(new IOEventLoop); in FinishReadMmapEventData() 645 return loop_->ExitLoop(); in FinishReadMmapEventData() 653 if (!sampler->StopProfiling(*loop_, close_callback)) { in FinishReadMmapEventData() 669 if (!loop_->AddPeriodicEvent(tv, [&]() { return loop_->ExitLoop(); })) { in FinishReadMmapEventData() 672 return loop_->RunLoop(); in FinishReadMmapEventData() 679 if (!loop_->AddPeriodicEvent(SecondToTimeval(check_interval_in_sec), in HandleCpuHotplugEvents() 822 !fd_with_buffer->StartPolling(*loop_, [this]() { in CreateMappedBufferForCpu() 831 return loop_->AddPeriodicEvent(SecondToTimeval(check_interval_in_sec), in StopWhenNoMoreTargets() [all …]
|
D | event_selection_set.h | 70 : for_stat_cmd_(for_stat_cmd), mmap_pages_(0), loop_(new IOEventLoop) {} in EventSelectionSet() 109 return loop_.get(); in GetIOEventLoop() 164 std::unique_ptr<IOEventLoop> loop_; variable
|
D | inplace_sampler_lib.cpp | 93 IOEventLoop loop_; member in __anon4713fb340111::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()
|
/system/core/libappfuse/tests/ |
D | FuseAppLoopTest.cc | 90 std::unique_ptr<FuseAppLoop> loop_; member in android::fuse::__anon70b134a80111::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()
|