/system/update_engine/ |
D | libcurl_http_fetcher_unittest.cc | 40 loop_.SetAsCurrent(); in SetUp() 45 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::LibcurlHttpFetcherTest 89 while (loop_.PendingTasks()) { in TEST_F() 90 loop_.RunOnce(true); in TEST_F() 106 while (loop_.PendingTasks() && in TEST_F() 108 loop_.RunOnce(true); in TEST_F() 114 while (loop_.PendingTasks()) { in TEST_F() 115 loop_.RunOnce(true); in TEST_F() 143 while (loop_.PendingTasks() && in TEST_F() 145 loop_.RunOnce(true); in TEST_F() [all …]
|
/system/bt/test/headless/ |
D | headless.h | 70 unsigned long loop_{0}; 82 for (loop_ = 0; loop_ < options_.loop_; loop_++) { in RunOnHeadlessStack() 92 LOG(ERROR) << "FAIL:" << rc << " loop/loops:" << loop_ << "/" in RunOnHeadlessStack() 93 << options_.loop_; in RunOnHeadlessStack() 95 LOG(INFO) << "PASS:" << rc << " loop/loops:" << loop_ << "/" in RunOnHeadlessStack() 96 << options_.loop_; in RunOnHeadlessStack()
|
D | get_options.h | 48 unsigned long loop_{1};
|
/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() 206 loop_.RunOnce(false); in TEST_F() 240 loop_.RunOnce(false); in TEST_F() [all …]
|
D | real_shill_provider_unittest.cc | 67 loop_.SetAsCurrent(); in SetUp() 81 EXPECT_FALSE(loop_.PendingTasks()); in TearDown() 121 EXPECT_TRUE(loop_.RunOnce(false)); in InitWithDefaultService() 205 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmRealShillProviderTest 298 EXPECT_TRUE(loop_.RunOnce(false)); in TEST_F() 490 EXPECT_TRUE(loop_.RunOnce(false)); in TEST_F() 502 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 | 37 loop_.SetAsCurrent(); in SetUp() 46 EXPECT_FALSE(loop_.PendingTasks()); in TearDown()
|
D | update_manager_unittest.cc | 83 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
|
/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 | 73 loop_.SetAsCurrent(); in SetUp() 80 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::SubprocessTest 83 brillo::BaseMessageLoop loop_{base_loop_.task_runner()}; member in chromeos_update_engine::SubprocessTest 149 loop_.Run(); in TEST_F() 156 loop_.Run(); in TEST_F() 165 loop_.Run(); in TEST_F() 179 loop_.Run(); in TEST_F() 196 loop_.Run(); in TEST_F() 202 loop_.Run(); in TEST_F() 292 &loop_, TimeDelta::FromSeconds(20), base::Bind([] { in TEST_F()
|
D | http_fetcher_unittest.cc | 413 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::HttpFetcherTest 416 brillo::BaseMessageLoop loop_{base_loop_.task_runner()}; 422 HttpFetcherTest() { loop_.SetAsCurrent(); } in HttpFetcherTest() 425 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown() 500 this->loop_.PostTask(FROM_HERE, in TYPED_TEST() 504 this->loop_.Run(); in TYPED_TEST() 516 this->loop_.PostTask( in TYPED_TEST() 520 this->loop_.Run(); in TYPED_TEST() 540 this->loop_.PostTask(FROM_HERE, in TYPED_TEST() 544 this->loop_.Run(); in TYPED_TEST() [all …]
|
/system/update_engine/aosp/ |
D | cleanup_previous_update_action_unittest.cc | 65 loop_.SetAsCurrent(); in SetUp() 77 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::CleanupPreviousUpdateActionTest 122 while (loop_.PendingTasks()) { in TEST_F() 123 ASSERT_TRUE(loop_.RunOnce(true)); in TEST_F() 167 while (loop_.PendingTasks()) { in TEST_F() 168 ASSERT_TRUE(loop_.RunOnce(true)); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action_unittest.cc | 93 loop_.SetAsCurrent(); in SetUp() 126 loop_.PostDelayedTask( in SuspendRunningAction() 134 loop_.PostDelayedTask( in SuspendRunningAction() 145 loop_.PostDelayedTask( in CancelWhenStarted() 154 loop_.PostDelayedTask( in CancelWhenStarted() 166 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::PostinstallRunnerActionTest 169 brillo::BaseMessageLoop loop_{base_loop_.task_runner()}; 232 loop_.PostTask( in RunPostinstallActionWithInstallPlan() 237 loop_.Run(); in RunPostinstallActionWithInstallPlan() 430 loop_.PostTask(FROM_HERE, in TEST_F()
|
D | filesystem_verifier_action_unittest.cc | 98 loop_.SetAsCurrent(); in SetUp() 102 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown() 193 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::FilesystemVerifierActionTest 306 loop_.PostTask(base::Bind(&ActionProcessor::StartProcessing, in DoTest() 309 loop_.PostTask(base::Bind(&ActionProcessor::StopProcessing, in DoTest() 312 loop_.Run(); in DoTest() 436 while (loop_.RunOnce(false)) { in TEST_F() 489 loop_.PostTask( in TEST_F() 494 loop_.Run(); in TEST_F() 535 loop_.PostTask( in TEST_F() [all …]
|
/system/update_engine/cros/ |
D | update_attempter_unittest.cc | 230 loop_.SetAsCurrent(); in SetUp() 314 brillo::BaseMessageLoop loop_{base_loop_.task_runner()}; member in chromeos_update_engine::UpdateAttempterTest 396 loop_.PostTask( in ScheduleQuitMainLoop() 399 base::Unretained(&loop_))); in ScheduleQuitMainLoop() 411 loop_.PostTask(FROM_HERE, in TEST_F() 414 loop_.Run(); in TEST_F() 439 loop_.PostTask( in TEST_F() 443 loop_.Run(); in TEST_F() 464 loop_.PostTask( in TEST_F() 468 loop_.Run(); in TEST_F() [all …]
|
D | p2p_manager_unittest.cc | 80 loop_.SetAsCurrent(); in SetUp() 102 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::P2PManagerTest 105 brillo::BaseMessageLoop loop_{base_loop_.task_runner()}; member in chromeos_update_engine::P2PManagerTest 489 loop_.Run(); in TEST_F() 495 loop_.Run(); in TEST_F() 501 loop_.Run(); in TEST_F() 507 loop_.Run(); in TEST_F() 513 loop_.Run(); in TEST_F() 533 loop_.Run(); in TEST_F()
|
D | connection_manager_unittest.cc | 54 loop_.SetAsCurrent(); in SetUp() 59 void TearDown() override { EXPECT_FALSE(loop_.PendingTasks()); } in TearDown() 84 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::ConnectionManagerTest
|
/system/bt/test/headless/nop/ |
D | nop.cc | 31 fprintf(stdout, "Nop loop:%lu\n", loop_); in Run()
|
/system/bt/test/headless/dumpsys/ |
D | dumpsys.cc | 35 fprintf(stdout, "Dumpsys loop:%lu \n", loop_); in Run()
|
/system/bt/test/headless/sdp/ |
D | sdp.cc | 128 if (options_.loop_ < 1) { in Run() 145 return sdp_query_uuid(options_.loop_, options_.device_.front(), in Run()
|
/system/bt/test/headless/pairing/ |
D | pairing.cc | 30 if (options_.loop_ < 1) { in Run()
|
/system/core/libappfuse/tests/ |
D | FuseAppLoopTest.cc | 90 std::unique_ptr<FuseAppLoop> loop_; member in android::fuse::__anon17af2c900111::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()
|
/system/bt/test/headless/read/ |
D | name.cc | 37 if (options_.loop_ < 1) { in Run()
|
/system/extras/simpleperf/ |
D | event_selection_set.h | 156 IOEventLoop* GetIOEventLoop() { return loop_.get(); } in GetIOEventLoop() 209 std::unique_ptr<IOEventLoop> loop_; variable
|