/system/update_engine/cros/ |
D | omaha_response_handler_action_unittest.cc | 200 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 …]
|
D | download_action_chromeos_unittest.cc | 143 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/ |
D | download_action_android_unittest.cc | 78 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/ |
D | enterprise_rollback_policy_impl_unittest.cc | 37 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()
|
D | enterprise_rollback_policy_impl.cc | 30 InstallPlan* install_plan) const { in UpdateCanBeApplied() 31 if (install_plan && install_plan->is_rollback) { in UpdateCanBeApplied()
|
D | minimum_version_policy_impl_unittest.cc | 52 InstallPlan install_plan; in TestPolicy() local 55 expected_status, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
|
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 | update_time_restrictions_policy_impl.h | 48 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | api_restricted_downloads_policy_impl.h | 38 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | enterprise_rollback_policy_impl.h | 41 chromeos_update_engine::InstallPlan* install_plan) const override;
|
D | minimum_version_policy_impl.h | 42 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 | minimum_version_policy_impl.cc | 31 InstallPlan* install_plan) const { in UpdateCanBeApplied()
|
/system/update_engine/aosp/ |
D | metrics_reporter_android.cc | 56 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()
|
D | metrics_reporter_android.h | 33 const InstallPlan* install_plan) in MetricsReporterAndroid() argument 35 install_plan_(install_plan) {} in MetricsReporterAndroid()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action_unittest.cc | 111 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 …]
|
D | vabc_partition_writer.cc | 58 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()
|
D | install_plan_unittest.cc | 24 InstallPlan install_plan{ in TEST() local 48 EXPECT_EQ(install_plan.ToString(), in TEST()
|
D | delta_performer_fuzzer.cc | 55 InstallPlan install_plan{ in FuzzDeltaPerformer() local 79 &install_plan, in FuzzDeltaPerformer()
|
D | install_plan.h | 194 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
|
D | delta_performer_integration_test.cc | 107 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 …]
|
D | filesystem_verifier_action_unittest.cc | 110 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/ |
D | metrics_reporter_stub.cc | 27 const InstallPlan* install_plan) { in CreateMetricsReporter() argument
|
/system/update_engine/payload_generator/ |
D | generate_delta_main.cc | 181 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()
|