Home
last modified time | relevance | path

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

12

/system/update_engine/
Domaha_response_handler_action_unittest.cc192 InstallPlan install_plan; in TEST_F() local
193 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F()
194 EXPECT_EQ(in.packages[0].payload_urls[0], install_plan.download_url); in TEST_F()
195 EXPECT_EQ(expected_hash_, install_plan.payloads[0].hash); in TEST_F()
196 EXPECT_EQ(1U, install_plan.target_slot); in TEST_F()
205 EXPECT_EQ(in.version, install_plan.version); in TEST_F()
217 InstallPlan install_plan; in TEST_F() local
220 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F()
221 EXPECT_EQ(in.packages[0].payload_urls[0], install_plan.download_url); in TEST_F()
222 EXPECT_EQ(expected_hash_, install_plan.payloads[0].hash); in TEST_F()
[all …]
Domaha_response_handler_action.h57 const InstallPlan& install_plan() const { return install_plan_; } in install_plan() function
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc51 void BuildActions(const InstallPlan& install_plan);
122 InstallPlan install_plan; in DoTest() local
123 install_plan.source_slot = 0; in DoTest()
124 install_plan.target_slot = 1; in DoTest()
139 install_plan.partitions = {part}; in DoTest()
141 BuildActions(install_plan); in DoTest()
184 bool is_install_plan_eq = (*delegate.install_plan_ == install_plan); in DoTest()
191 const InstallPlan& install_plan) { in BuildActions() argument
198 feeder_action->set_obj(install_plan); in BuildActions()
243 InstallPlan install_plan; in TEST_F() local
[all …]
Dpostinstall_runner_action_unittest.cc106 void RunPostinstallActionWithInstallPlan(const InstallPlan& install_plan);
190 InstallPlan install_plan; in RunPostinstallAction() local
191 install_plan.partitions = {part}; in RunPostinstallAction()
192 install_plan.download_url = "http://127.0.0.1:8080/update"; in RunPostinstallAction()
193 install_plan.powerwash_required = powerwash_required; in RunPostinstallAction()
194 install_plan.is_rollback = is_rollback; in RunPostinstallAction()
195 install_plan.rollback_data_save_requested = save_rollback_data; in RunPostinstallAction()
196 RunPostinstallActionWithInstallPlan(install_plan); in RunPostinstallAction()
200 const chromeos_update_engine::InstallPlan& install_plan) { in RunPostinstallActionWithInstallPlan() argument
204 feeder_action->set_obj(install_plan); in RunPostinstallActionWithInstallPlan()
[all …]
Ddownload_action_unittest.cc144 InstallPlan install_plan; in TestWithData() local
145 install_plan.payloads.push_back( in TestWithData()
149 &data[1], data.size() - 1, &install_plan.payloads[0].hash)); in TestWithData()
150 install_plan.source_slot = 0; in TestWithData()
151 install_plan.target_slot = 1; in TestWithData()
155 install_plan.source_slot, true); in TestWithData()
157 install_plan.target_slot, true); in TestWithData()
159 feeder_action->set_obj(install_plan); in TestWithData()
200 install_plan.source_slot)); in TestWithData()
202 install_plan.target_slot)); in TestWithData()
[all …]
Dinstall_plan.h184 explicit InstallPlanAction(const InstallPlan& install_plan) in InstallPlanAction() argument
185 : install_plan_(install_plan) {} in InstallPlanAction()
194 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.cc97 InstallPlan install_plan; member
757 InstallPlan* install_plan = &state->install_plan; in ApplyDeltaFile() local
758 install_plan->hash_checks_mandatory = hash_checks_mandatory; in ApplyDeltaFile()
759 install_plan->payloads = {{.size = state->delta.size(), in ApplyDeltaFile()
764 install_plan->source_slot = 0; in ApplyDeltaFile()
765 install_plan->target_slot = 1; in ApplyDeltaFile()
781 &install_plan->payloads[0].metadata_signature)); in ApplyDeltaFile()
782 EXPECT_FALSE(install_plan->payloads[0].metadata_signature.empty()); in ApplyDeltaFile()
788 install_plan, in ApplyDeltaFile()
789 &install_plan->payloads[0], in ApplyDeltaFile()
[all …]
Ddelta_performer.h72 InstallPlan* install_plan, in DeltaPerformer() argument
79 install_plan_(install_plan), in DeltaPerformer()
/system/update_engine/update_manager/
Dupdate_time_restrictions_policy_impl_unittest.cc69 InstallPlan install_plan; in TestPolicy() local
71 expected_value, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
Dandroid_things_policy.cc116 chromeos_update_engine::InstallPlan* install_plan) const { in UpdateCanBeApplied()
136 install_plan); in UpdateCanBeApplied()
Dapi_restricted_downloads_policy_impl.h38 chromeos_update_engine::InstallPlan* install_plan) const override;
Dupdate_time_restrictions_policy_impl.h48 chromeos_update_engine::InstallPlan* install_plan) const override;
Dapi_restricted_downloads_policy_impl.cc31 chromeos_update_engine::InstallPlan* install_plan) const { in UpdateCanBeApplied()
Dinteractive_update_policy_impl.h45 chromeos_update_engine::InstallPlan* install_plan) const override;
Dinteractive_update_policy_impl.cc47 InstallPlan* install_plan) const { in UpdateCanBeApplied()
Dupdate_time_restrictions_policy_impl.cc39 InstallPlan* install_plan) const { in UpdateCanBeApplied()
Dandroid_things_policy.h47 chromeos_update_engine::InstallPlan* install_plan) const override;
Ddefault_policy.h78 chromeos_update_engine::InstallPlan* install_plan) const override;
Ddefault_policy.cc66 InstallPlan* install_plan) const { in UpdateCanBeApplied()
Dpolicy_utils.h84 chromeos_update_engine::InstallPlan* install_plan) const override { in UpdateCanBeApplied() argument
Dchromeos_policy.h67 chromeos_update_engine::InstallPlan* install_plan) const override;
Dpolicy.h261 chromeos_update_engine::InstallPlan* install_plan) const = 0;
Dchromeos_policy.cc277 InstallPlan* install_plan) const { in UpdateCanBeApplied()
296 install_plan); in UpdateCanBeApplied()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc209 InstallPlan install_plan; in ApplyPayload() local
211 install_plan.source_slot = in ApplyPayload()
213 install_plan.target_slot = 1; in ApplyPayload()
220 install_plan.payloads = {payload}; in ApplyPayload()
221 install_plan.download_url = in ApplyPayload()
229 part_name, install_plan.target_slot, target_path); in ApplyPayload()
237 part_name, install_plan.source_slot, source_path); in ApplyPayload()
247 auto install_plan_action = std::make_unique<InstallPlanAction>(install_plan); in ApplyPayload()

12