/system/update_engine/ |
D | omaha_response_handler_action_unittest.cc | 192 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 …]
|
D | omaha_response_handler_action.h | 57 const InstallPlan& install_plan() const { return install_plan_; } in install_plan() function
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 51 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 …]
|
D | postinstall_runner_action_unittest.cc | 106 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 …]
|
D | download_action_unittest.cc | 144 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 …]
|
D | install_plan.h | 184 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
|
D | delta_performer_fuzzer.cc | 55 InstallPlan install_plan{ in FuzzDeltaPerformer() local 79 &install_plan, in FuzzDeltaPerformer()
|
D | delta_performer_integration_test.cc | 97 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 …]
|
D | delta_performer.h | 72 InstallPlan* install_plan, in DeltaPerformer() argument 79 install_plan_(install_plan), in DeltaPerformer()
|
/system/update_engine/update_manager/ |
D | update_time_restrictions_policy_impl_unittest.cc | 69 InstallPlan install_plan; in TestPolicy() local 71 expected_value, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
|
D | android_things_policy.cc | 116 chromeos_update_engine::InstallPlan* install_plan) const { in UpdateCanBeApplied() 136 install_plan); in UpdateCanBeApplied()
|
D | api_restricted_downloads_policy_impl.h | 38 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | update_time_restrictions_policy_impl.h | 48 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | api_restricted_downloads_policy_impl.cc | 31 chromeos_update_engine::InstallPlan* install_plan) const { in UpdateCanBeApplied()
|
D | interactive_update_policy_impl.h | 45 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | interactive_update_policy_impl.cc | 47 InstallPlan* install_plan) const { in UpdateCanBeApplied()
|
D | update_time_restrictions_policy_impl.cc | 39 InstallPlan* install_plan) const { in UpdateCanBeApplied()
|
D | android_things_policy.h | 47 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | default_policy.h | 78 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | default_policy.cc | 66 InstallPlan* install_plan) const { in UpdateCanBeApplied()
|
D | policy_utils.h | 84 chromeos_update_engine::InstallPlan* install_plan) const override { in UpdateCanBeApplied() argument
|
D | chromeos_policy.h | 67 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | policy.h | 261 chromeos_update_engine::InstallPlan* install_plan) const = 0;
|
D | chromeos_policy.cc | 277 InstallPlan* install_plan) const { in UpdateCanBeApplied() 296 install_plan); in UpdateCanBeApplied()
|
/system/update_engine/payload_generator/ |
D | generate_delta_main.cc | 209 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()
|