Home
last modified time | relevance | path

Searched refs:download_action (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/
Ddownload_action_android_unittest.cc87 auto download_action = std::make_unique<DownloadAction>( in TEST_F() local
89 download_action->set_in_pipe(action_pipe); in TEST_F()
91 download_action->SetProcessor(&mock_processor); in TEST_F()
92 download_action->PerformAction(); in TEST_F()
93 ASSERT_EQ(download_action->http_fetcher()->GetBytesDownloaded(), data.size()); in TEST_F()
160 auto download_action = std::make_unique<DownloadAction>( in TEST_F() local
171 download_action->SetTestFileWriter(std::move(delta_performer)); in TEST_F()
172 download_action->set_in_pipe(action_pipe); in TEST_F()
174 download_action->SetProcessor(&mock_processor); in TEST_F()
175 download_action->PerformAction(); in TEST_F()
[all …]
DAndroid.bp385 "download_action.cc",
442 "download_action.cc",
596 "download_action.cc",
DBUILD.gn333 "download_action.cc",
/system/update_engine/cros/
Ddownload_action_chromeos_unittest.cc163 auto download_action = std::make_unique<DownloadActionChromeos>( in TestWithData() local
169 download_action->SetTestFileWriter(&writer); in TestWithData()
170 BondActions(feeder_action.get(), download_action.get()); in TestWithData()
174 download_action->set_delegate(&download_delegate); in TestWithData()
190 processor.EnqueueAction(std::move(download_action)); in TestWithData()
277 auto download_action = std::make_unique<DownloadActionChromeos>( in TEST() local
283 download_action->SetTestFileWriter(&mock_file_writer); in TEST()
284 BondActions(feeder_action.get(), download_action.get()); in TEST()
288 download_action->set_delegate(&download_delegate); in TEST()
321 processor.EnqueueAction(std::move(download_action)); in TEST()
[all …]
Dupdate_attempter.cc769 auto download_action = std::make_unique<DownloadActionChromeos>( in BuildUpdateActions() local
775 download_action->set_delegate(this); in BuildUpdateActions()
799 BondActions(response_handler_action.get(), download_action.get()); in BuildUpdateActions()
800 BondActions(download_action.get(), filesystem_verifier_action.get()); in BuildUpdateActions()
808 processor_->EnqueueAction(std::move(download_action)); in BuildUpdateActions()
1254 DownloadActionChromeos* download_action = in ActionCompleted() local
1256 http_response_code_ = download_action->GetHTTPResponseCode(); in ActionCompleted()
/system/update_engine/aosp/
Dupdate_attempter_android.cc619 auto download_action = static_cast<DownloadAction*>(action); in ActionCompleted() local
620 install_plan_ = *download_action->install_plan(); in ActionCompleted()
756 auto download_action = in BuildUpdateActions() local
762 download_action->set_delegate(this); in BuildUpdateActions()
763 download_action->set_base_offset(base_offset_); in BuildUpdateActions()
773 BondActions(install_plan_action.get(), download_action.get()); in BuildUpdateActions()
774 BondActions(download_action.get(), filesystem_verifier_action.get()); in BuildUpdateActions()
781 processor_->EnqueueAction(std::move(download_action)); in BuildUpdateActions()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc223 auto download_action = in ApplyPayload() local
232 BondActions(install_plan_action.get(), download_action.get()); in ApplyPayload()
233 BondActions(download_action.get(), filesystem_verifier_action.get()); in ApplyPayload()
238 processor.EnqueueAction(std::move(download_action)); in ApplyPayload()