Home
last modified time | relevance | path

Searched refs:loop_ (Results 1 – 25 of 28) 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()
107 while (loop_.PendingTasks() && in TEST_F()
109 loop_.RunOnce(true); in TEST_F()
113 loop_.RunOnce(true); in TEST_F()
118 while (loop_.PendingTasks()) { in TEST_F()
119 loop_.RunOnce(true); in TEST_F()
148 while (loop_.PendingTasks() && in TEST_F()
[all …]
Dupdate_attempter_unittest.cc249 loop_.SetAsCurrent(); in UpdateAttempterTest()
336 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::UpdateAttempterTest
419 loop_.PostTask( in ScheduleQuitMainLoop()
422 base::Unretained(&loop_))); in ScheduleQuitMainLoop()
434 loop_.PostTask(FROM_HERE, in TEST_F()
437 loop_.Run(); in TEST_F()
462 loop_.PostTask( in TEST_F()
466 loop_.Run(); in TEST_F()
487 loop_.PostTask( in TEST_F()
491 loop_.Run(); in TEST_F()
[all …]
Dp2p_manager_unittest.cc75 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()
Dconnection_manager_unittest.cc54 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/bt/test/headless/
Dheadless.h56 unsigned long loop_{0};
67 for (loop_ = 0; loop_ < options_.loop_; loop_++) { in RunOnHeadlessStack()
77 LOG(ERROR) << "FAIL:" << rc << " loop/loops:" << loop_ << "/" in RunOnHeadlessStack()
78 << options_.loop_; in RunOnHeadlessStack()
80 LOG(INFO) << "PASS:" << rc << " loop/loops:" << loop_ << "/" in RunOnHeadlessStack()
81 << options_.loop_; in RunOnHeadlessStack()
Dget_options.h44 unsigned long loop_{1};
/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.cc68 loop_.SetAsCurrent(); in SetUp()
74 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::SubprocessTest
140 loop_.Run(); in TEST_F()
147 loop_.Run(); in TEST_F()
156 loop_.Run(); in TEST_F()
170 loop_.Run(); in TEST_F()
187 loop_.Run(); in TEST_F()
193 loop_.Run(); in TEST_F()
283 &loop_, TimeDelta::FromSeconds(20), base::Bind([] { in TEST_F()
Dhttp_fetcher_unittest.cc403 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::HttpFetcherTest
408 HttpFetcherTest() { loop_.SetAsCurrent(); } in HttpFetcherTest()
411 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown()
486 this->loop_.PostTask(FROM_HERE, in TYPED_TEST()
490 this->loop_.Run(); in TYPED_TEST()
502 this->loop_.PostTask( in TYPED_TEST()
506 this->loop_.Run(); in TYPED_TEST()
526 this->loop_.PostTask(FROM_HERE, in TYPED_TEST()
530 this->loop_.Run(); in TYPED_TEST()
564 this->loop_.PostTask( in TYPED_TEST()
[all …]
/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()
202 loop_.RunOnce(false); in TEST_F()
236 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()
204 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.cc35 loop_.SetAsCurrent(); in SetUp()
43 EXPECT_FALSE(loop_.PendingTasks()); in TearDown()
Dupdate_manager_unittest.cc82 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
Dpolicy_test_utils.h93 brillo::FakeMessageLoop loop_{nullptr};
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc42 void SetUp() override { loop_.SetAsCurrent(); } in SetUp()
45 EXPECT_EQ(0, brillo::MessageLoopRunMaxIterations(&loop_, 1)); in TearDown()
53 brillo::FakeMessageLoop loop_{nullptr}; member in chromeos_update_engine::FilesystemVerifierActionTest
146 loop_.PostTask(FROM_HERE, in DoTest()
156 loop_.Run(); in DoTest()
275 while (loop_.RunOnce(false)) { in TEST_F()
329 loop_.PostTask( in TEST_F()
334 loop_.Run(); in TEST_F()
376 loop_.PostTask( in TEST_F()
381 loop_.Run(); in TEST_F()
Dpostinstall_runner_action_unittest.cc88 loop_.SetAsCurrent(); in SetUp()
121 loop_.PostDelayedTask( in SuspendRunningAction()
129 loop_.PostDelayedTask( in SuspendRunningAction()
140 loop_.PostDelayedTask( in CancelWhenStarted()
149 loop_.PostDelayedTask( in CancelWhenStarted()
160 brillo::BaseMessageLoop loop_{&base_loop_}; member in chromeos_update_engine::PostinstallRunnerActionTest
218 loop_.PostTask( in RunPostinstallActionWithInstallPlan()
223 loop_.Run(); in RunPostinstallActionWithInstallPlan()
406 loop_.PostTask(FROM_HERE, in TEST_F()
/system/bt/test/headless/nop/
Dnop.cc31 fprintf(stdout, "Nop loop:%lu\n", loop_); in Run()
/system/bt/test/headless/sdp/
Dsdp.cc127 if (options_.loop_ < 1) { in Run()
144 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::__anon7435ee890111::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.h157 return loop_.get(); in GetIOEventLoop()
212 std::unique_ptr<IOEventLoop> loop_; variable
Devent_selection_set.cpp156 : for_stat_cmd_(for_stat_cmd), loop_(new IOEventLoop) {} in EventSelectionSet()
741 if (!record_read_thread_->RegisterDataCallback(*loop_, in PrepareToReadMmapEventData()
791 return loop_->AddPeriodicEvent(SecondToTimeval(check_interval_in_sec), in StopWhenNoMoreTargets()
797 return loop_->ExitLoop(); in CheckMonitoredTargets()
809 return loop_->ExitLoop(); in CheckMonitoredTargets()

12