Home
last modified time | relevance | path

Searched refs:loop_ (Results 1 – 25 of 31) sorted by relevance

12

/system/update_engine/
Dlibcurl_http_fetcher_unittest.cc40 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/
Dheadless.h70 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()
Dget_options.h48 unsigned long loop_{1};
/system/update_engine/update_manager/
Dreal_device_policy_provider_unittest.cc64 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 …]
Dreal_shill_provider_unittest.cc67 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()
Dgeneric_variables_unittest.cc146 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
Dpolicy_test_utils.cc37 loop_.SetAsCurrent(); in SetUp()
46 EXPECT_FALSE(loop_.PendingTasks()); in TearDown()
Dupdate_manager_unittest.cc83 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
Dvariable_unittest.cc55 void SetUp() override { loop_.SetAsCurrent(); } in SetUp()
57 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_manager::UmBaseVariableTest
/system/update_engine/common/
Dproxy_resolver_unittest.cc36 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()
Dsubprocess_unittest.cc73 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()
Dhttp_fetcher_unittest.cc413 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/
Dcleanup_previous_update_action_unittest.cc65 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/
Dpostinstall_runner_action_unittest.cc93 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()
Dfilesystem_verifier_action_unittest.cc98 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/
Dupdate_attempter_unittest.cc230 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 …]
Dp2p_manager_unittest.cc80 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()
Dconnection_manager_unittest.cc54 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/
Dnop.cc31 fprintf(stdout, "Nop loop:%lu\n", loop_); in Run()
/system/bt/test/headless/dumpsys/
Ddumpsys.cc35 fprintf(stdout, "Dumpsys loop:%lu \n", loop_); in Run()
/system/bt/test/headless/sdp/
Dsdp.cc128 if (options_.loop_ < 1) { in Run()
145 return sdp_query_uuid(options_.loop_, options_.device_.front(), in Run()
/system/bt/test/headless/pairing/
Dpairing.cc30 if (options_.loop_ < 1) { in Run()
/system/core/libappfuse/tests/
DFuseAppLoopTest.cc90 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/
Dname.cc37 if (options_.loop_ < 1) { in Run()
/system/extras/simpleperf/
Devent_selection_set.h156 IOEventLoop* GetIOEventLoop() { return loop_.get(); } in GetIOEventLoop()
209 std::unique_ptr<IOEventLoop> loop_; variable

12