Home
last modified time | relevance | path

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

12

/system/update_engine/cros/
Domaha_response_handler_action_unittest.cc200 InstallPlan install_plan; in TEST_F() local
201 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F()
202 EXPECT_EQ(in.packages[0].payload_urls[0], install_plan.download_url); in TEST_F()
203 EXPECT_EQ(expected_hash_, install_plan.payloads[0].hash); in TEST_F()
204 EXPECT_EQ(in.packages[0].app_id, install_plan.payloads[0].app_id); in TEST_F()
205 EXPECT_EQ(in.packages[0].fp, install_plan.payloads[0].fp); in TEST_F()
206 EXPECT_EQ(1U, install_plan.target_slot); in TEST_F()
215 EXPECT_EQ(in.version, install_plan.version); in TEST_F()
229 InstallPlan install_plan; in TEST_F() local
232 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F()
[all …]
Ddownload_action_chromeos_unittest.cc143 InstallPlan install_plan; in TestWithData() local
144 install_plan.payloads.push_back( in TestWithData()
148 &data[1], data.size() - 1, &install_plan.payloads[0].hash)); in TestWithData()
149 install_plan.source_slot = 0; in TestWithData()
150 install_plan.target_slot = 1; in TestWithData()
154 install_plan.source_slot, true); in TestWithData()
156 install_plan.target_slot, true); in TestWithData()
158 feeder_action->set_obj(install_plan); in TestWithData()
198 install_plan.source_slot)); in TestWithData()
200 install_plan.target_slot)); in TestWithData()
[all …]
/system/update_engine/
Ddownload_action_android_unittest.cc78 InstallPlan install_plan; in TEST_F() local
79 auto& payload = install_plan.payloads.emplace_back(); in TEST_F()
80 install_plan.download_url = "http://fake_url.invalid"; in TEST_F()
83 install_plan.is_resume = true; in TEST_F()
84 action_pipe->set_contents(install_plan); in TEST_F()
147 InstallPlan install_plan; in TEST_F() local
148 auto& payload = install_plan.payloads.emplace_back(); in TEST_F()
149 install_plan.download_url = "http://fake_url.invalid"; in TEST_F()
152 install_plan.is_resume = true; in TEST_F()
153 auto& install_part = install_plan.partitions.emplace_back(); in TEST_F()
[all …]
/system/update_engine/update_manager/
Denterprise_rollback_policy_impl_unittest.cc37 InstallPlan install_plan{.is_rollback = false}; in TEST_F() local
42 &install_plan); in TEST_F()
47 InstallPlan install_plan{.is_rollback = true}; in TEST_F() local
52 &install_plan); in TEST_F()
Denterprise_rollback_policy_impl.cc30 InstallPlan* install_plan) const { in UpdateCanBeApplied()
31 if (install_plan && install_plan->is_rollback) { in UpdateCanBeApplied()
Dminimum_version_policy_impl_unittest.cc52 InstallPlan install_plan; in TestPolicy() local
55 expected_status, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
Dupdate_time_restrictions_policy_impl_unittest.cc69 InstallPlan install_plan; in TestPolicy() local
71 expected_value, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
Dupdate_time_restrictions_policy_impl.h48 chromeos_update_engine::InstallPlan* install_plan) const override;
Dapi_restricted_downloads_policy_impl.h38 chromeos_update_engine::InstallPlan* install_plan) const override;
Denterprise_rollback_policy_impl.h41 chromeos_update_engine::InstallPlan* install_plan) const override;
Dminimum_version_policy_impl.h42 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;
Dminimum_version_policy_impl.cc31 InstallPlan* install_plan) const { in UpdateCanBeApplied()
/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()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc111 void RunPostinstallActionWithInstallPlan(const InstallPlan& install_plan);
201 InstallPlan install_plan; in RunPostinstallAction() local
202 install_plan.partitions = {part}; in RunPostinstallAction()
203 install_plan.download_url = "http://127.0.0.1:8080/update"; in RunPostinstallAction()
204 install_plan.powerwash_required = powerwash_required; in RunPostinstallAction()
205 install_plan.is_rollback = is_rollback; in RunPostinstallAction()
206 install_plan.rollback_data_save_requested = save_rollback_data; in RunPostinstallAction()
207 RunPostinstallActionWithInstallPlan(install_plan); in RunPostinstallAction()
211 const chromeos_update_engine::InstallPlan& install_plan) { in RunPostinstallActionWithInstallPlan() argument
215 feeder_action->set_obj(install_plan); in RunPostinstallActionWithInstallPlan()
[all …]
Dvabc_partition_writer.cc58 bool VABCPartitionWriter::Init(const InstallPlan* install_plan, in Init() argument
61 TEST_AND_RETURN_FALSE(install_plan != nullptr); in Init()
63 OpenSourcePartition(install_plan->source_slot, source_may_exist)); in Init()
70 install_part_.name, source_path, install_plan->is_resume); in Init()
77 if (install_plan->is_resume && next_op_index > 0) { in Init()
Dinstall_plan_unittest.cc24 InstallPlan install_plan{ in TEST() local
48 EXPECT_EQ(install_plan.ToString(), in TEST()
Ddelta_performer_fuzzer.cc55 InstallPlan install_plan{ in FuzzDeltaPerformer() local
79 &install_plan, in FuzzDeltaPerformer()
Dinstall_plan.h194 explicit InstallPlanAction(const InstallPlan& install_plan) in InstallPlanAction() argument
195 : install_plan_(install_plan) {} in InstallPlanAction()
204 InstallPlan* install_plan() { return &install_plan_; } in install_plan() function
Ddelta_performer_integration_test.cc107 InstallPlan install_plan; member
142 InstallPlan install_plan; in RunManifestValidation() local
147 &install_plan, in RunManifestValidation()
776 InstallPlan* install_plan = &state->install_plan; in ApplyDeltaFile() local
777 install_plan->hash_checks_mandatory = hash_checks_mandatory; in ApplyDeltaFile()
778 install_plan->payloads = {{.size = state->delta.size(), in ApplyDeltaFile()
783 install_plan->source_slot = 0; in ApplyDeltaFile()
784 install_plan->target_slot = 1; in ApplyDeltaFile()
800 &install_plan->payloads[0].metadata_signature)); in ApplyDeltaFile()
801 EXPECT_FALSE(install_plan->payloads[0].metadata_signature.empty()); in ApplyDeltaFile()
[all …]
Dfilesystem_verifier_action_unittest.cc110 void BuildActions(const InstallPlan& install_plan);
111 void BuildActions(const InstallPlan& install_plan,
114 InstallPlan::Partition* AddFakePartition(InstallPlan* install_plan, in AddFakePartition() argument
116 InstallPlan::Partition& part = install_plan->partitions.emplace_back(); in AddFakePartition()
347 const InstallPlan& install_plan, in BuildActions() argument
355 feeder_action->set_obj(install_plan); in BuildActions()
366 const InstallPlan& install_plan) { in BuildActions() argument
367 BuildActions(install_plan, &dynamic_control_stub_); in BuildActions()
/system/update_engine/common/
Dmetrics_reporter_stub.cc27 const InstallPlan* install_plan) { in CreateMetricsReporter() argument
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc181 InstallPlan install_plan; in ApplyPayload() local
183 install_plan.source_slot = in ApplyPayload()
185 install_plan.target_slot = 1; in ApplyPayload()
195 install_plan.payloads = {payload}; in ApplyPayload()
196 install_plan.download_url = in ApplyPayload()
204 part_name, install_plan.target_slot, target_path); in ApplyPayload()
212 part_name, install_plan.source_slot, source_path); in ApplyPayload()
222 auto install_plan_action = std::make_unique<InstallPlanAction>(install_plan); in ApplyPayload()

12