Home
last modified time | relevance | path

Searched refs:install_plan (Results 1 – 21 of 21) sorted by relevance

/system/update_engine/payload_consumer/
Dinstall_plan_unittest.cc24 InstallPlan install_plan; in TEST() local
25 install_plan.download_url = "foo-download-url"; in TEST()
26 install_plan.version = "foo-version"; in TEST()
27 install_plan.payloads = {{ in TEST()
34 install_plan.source_slot = BootControlInterface::kInvalidSlot; in TEST()
35 install_plan.target_slot = BootControlInterface::kInvalidSlot; in TEST()
36 install_plan.partitions = {{ in TEST()
47 EXPECT_EQ(install_plan.ToString(), in TEST()
Dpostinstall_runner_action_unittest.cc110 void RunPostinstallActionWithInstallPlan(const InstallPlan& install_plan);
200 InstallPlan install_plan; in RunPostinstallAction() local
201 install_plan.partitions = {part}; in RunPostinstallAction()
202 install_plan.download_url = "http://127.0.0.1:8080/update"; in RunPostinstallAction()
203 install_plan.powerwash_required = powerwash_required; in RunPostinstallAction()
204 install_plan.is_rollback = is_rollback; in RunPostinstallAction()
205 install_plan.rollback_data_save_requested = save_rollback_data; in RunPostinstallAction()
206 RunPostinstallActionWithInstallPlan(install_plan); in RunPostinstallAction()
210 const chromeos_update_engine::InstallPlan& install_plan) { in RunPostinstallActionWithInstallPlan() argument
214 feeder_action->set_obj(install_plan); in RunPostinstallActionWithInstallPlan()
[all …]
Dinstall_plan.h59 InstallPlan* install_plan,
227 explicit InstallPlanAction(const InstallPlan& install_plan) in InstallPlanAction() argument
228 : install_plan_(install_plan) {} in InstallPlanAction()
237 InstallPlan* install_plan() { return &install_plan_; } in install_plan() function
Ddelta_performer_fuzzer.cc55 InstallPlan install_plan{ in FuzzDeltaPerformer() local
79 &install_plan, in FuzzDeltaPerformer()
Ddelta_performer_integration_test.cc100 InstallPlan install_plan; member
135 InstallPlan install_plan; in RunManifestValidation() local
140 &install_plan, in RunManifestValidation()
769 InstallPlan* install_plan = &state->install_plan; in ApplyDeltaFile() local
770 install_plan->hash_checks_mandatory = hash_checks_mandatory; in ApplyDeltaFile()
771 install_plan->payloads = {{.size = state->delta.size(), in ApplyDeltaFile()
776 install_plan->source_slot = 0; in ApplyDeltaFile()
777 install_plan->target_slot = 1; in ApplyDeltaFile()
793 &install_plan->payloads[0].metadata_signature)); in ApplyDeltaFile()
794 ASSERT_FALSE(install_plan->payloads[0].metadata_signature.empty()); in ApplyDeltaFile()
[all …]
Dfilesystem_verifier_action_unittest.cc109 void BuildActions(const InstallPlan& install_plan);
110 void BuildActions(const InstallPlan& install_plan,
113 InstallPlan::Partition* AddFakePartition(InstallPlan* install_plan, in AddFakePartition() argument
115 InstallPlan::Partition& part = install_plan->partitions.emplace_back(); in AddFakePartition()
346 const InstallPlan& install_plan, in BuildActions() argument
354 feeder_action->set_obj(install_plan); in BuildActions()
365 const InstallPlan& install_plan) { in BuildActions() argument
366 BuildActions(install_plan, &dynamic_control_stub_); in BuildActions()
Dpartition_writer_interface.h36 [[nodiscard]] virtual bool Init(const InstallPlan* install_plan,
Dpartition_writer.cc146 bool PartitionWriter::Init(const InstallPlan* install_plan, in Init() argument
150 uint32_t source_slot = install_plan->source_slot; in Init()
151 uint32_t target_slot = install_plan->target_slot; in Init()
Dinstall_plan.cc232 InstallPlan* install_plan, in ParseManifestToInstallPlan() argument
273 install_plan->partitions.push_back(install_part); in ParseManifestToInstallPlan()
279 if (!install_plan->LoadPartitionsFromSlots(boot_control)) { in ParseManifestToInstallPlan()
Dvabc_partition_writer.cc206 bool VABCPartitionWriter::Init(const InstallPlan* install_plan, in Init() argument
220 TEST_AND_RETURN_FALSE(install_plan != nullptr); in Init()
236 if (install_plan->is_resume && next_op_index > 0) { in Init()
Ddelta_performer.h72 InstallPlan* install_plan,
80 install_plan_(install_plan), in prefs_()
Dvabc_partition_writer.h49 [[nodiscard]] bool Init(const InstallPlan* install_plan,
Dpartition_writer.h56 [[nodiscard]] bool Init(const InstallPlan* install_plan,
/system/update_engine/
Ddownload_action_android_unittest.cc74 InstallPlan install_plan; in TEST_F() local
75 auto& payload = install_plan.payloads.emplace_back(); in TEST_F()
76 install_plan.download_url = "http://fake_url.invalid"; in TEST_F()
79 install_plan.is_resume = true; in TEST_F()
80 action_pipe->set_contents(install_plan); in TEST_F()
142 InstallPlan install_plan; in TEST_F() local
143 auto& payload = install_plan.payloads.emplace_back(); in TEST_F()
144 install_plan.download_url = "http://fake_url.invalid"; in TEST_F()
147 install_plan.is_resume = true; in TEST_F()
148 auto& install_part = install_plan.partitions.emplace_back(); in TEST_F()
[all …]
DAndroid.bp266 "payload_consumer/install_plan.cc",
/system/update_engine/aosp/
Dmetrics_reporter_android.cc56 const chromeos_update_engine::InstallPlan* install_plan) { in IsHashTreeEnabled() argument
58 install_plan->partitions.begin(), in IsHashTreeEnabled()
59 install_plan->partitions.end(), in IsHashTreeEnabled()
63 bool IsFECEnabled(const chromeos_update_engine::InstallPlan* install_plan) { in IsFECEnabled() argument
65 install_plan->partitions.begin(), in IsFECEnabled()
66 install_plan->partitions.end(), in IsFECEnabled()
78 const InstallPlan* install_plan) { in CreateMetricsReporter() argument
80 install_plan); in CreateMetricsReporter()
Dmetrics_reporter_android.h33 const InstallPlan* install_plan) in MetricsReporterAndroid() argument
35 install_plan_(install_plan) {} in MetricsReporterAndroid()
Dupdate_attempter_android.cc772 install_plan_ = *download_action->install_plan(); in ActionCompleted()
/system/update_engine/common/
Dmetrics_reporter_stub.cc27 const InstallPlan* install_plan) { in CreateMetricsReporter() argument
Dmetrics_reporter_interface.h242 const InstallPlan* install_plan);
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc184 InstallPlan install_plan; in ApplyPayload() local
186 install_plan.source_slot = in ApplyPayload()
188 install_plan.target_slot = 1; in ApplyPayload()
198 install_plan.payloads = {payload}; in ApplyPayload()
199 install_plan.download_url = in ApplyPayload()
207 part_name, install_plan.target_slot, target_path); in ApplyPayload()
215 part_name, install_plan.source_slot, source_path); in ApplyPayload()
225 auto install_plan_action = std::make_unique<InstallPlanAction>(install_plan); in ApplyPayload()