/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() 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 …]
|
D | update_attempter_unittest.cc | 249 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 …]
|
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/bt/test/headless/ |
D | headless.h | 56 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()
|
D | get_options.h | 44 unsigned long loop_{1};
|
/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 | 68 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()
|
D | http_fetcher_unittest.cc | 403 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/ |
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() 236 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() 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()
|
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() 43 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};
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 42 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()
|
D | postinstall_runner_action_unittest.cc | 88 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/ |
D | nop.cc | 31 fprintf(stdout, "Nop loop:%lu\n", loop_); in Run()
|
/system/bt/test/headless/sdp/ |
D | sdp.cc | 127 if (options_.loop_ < 1) { in Run() 144 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::__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/ |
D | name.cc | 37 if (options_.loop_ < 1) { in Run()
|
/system/extras/simpleperf/ |
D | event_selection_set.h | 157 return loop_.get(); in GetIOEventLoop() 212 std::unique_ptr<IOEventLoop> loop_; variable
|
D | event_selection_set.cpp | 156 : 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()
|