Home
last modified time | relevance | path

Searched refs:install_plan_ (Results 1 – 17 of 17) sorted by relevance

/system/update_engine/
Domaha_response_handler_action.cc76 install_plan_.download_url = current_url; in PerformAction()
77 install_plan_.version = response.version; in PerformAction()
78 install_plan_.system_version = response.system_version; in PerformAction()
86 LOG(INFO) << "Replacing URL " << install_plan_.download_url in PerformAction()
89 install_plan_.download_url = payload_state->GetP2PUrl(); in PerformAction()
103 install_plan_.payloads.push_back( in PerformAction()
113 install_plan_.public_key_rsa = response.public_key_rsa; in PerformAction()
114 install_plan_.hash_checks_mandatory = AreHashChecksMandatory(response); in PerformAction()
115 install_plan_.is_resume = DeltaPerformer::CanResumeUpdate( in PerformAction()
117 if (install_plan_.is_resume) { in PerformAction()
[all …]
Dupdate_attempter_android.cc194 install_plan_ = InstallPlan(); in ApplyPayload()
196 install_plan_.download_url = payload_url; in ApplyPayload()
197 install_plan_.version = ""; in ApplyPayload()
218 install_plan_.payloads.push_back(payload); in ApplyPayload()
221 install_plan_.public_key_rsa = ""; in ApplyPayload()
223 install_plan_.hash_checks_mandatory = hardware_->IsOfficialBuild(); in ApplyPayload()
224 install_plan_.is_resume = !payload_id.empty() && in ApplyPayload()
226 if (!install_plan_.is_resume) { in ApplyPayload()
241 install_plan_.source_slot = GetCurrentSlot(); in ApplyPayload()
242 install_plan_.target_slot = GetTargetSlot(); in ApplyPayload()
[all …]
Domaha_response_handler_action.h57 const InstallPlan& install_plan() const { return install_plan_; } in install_plan()
72 InstallPlan install_plan_; variable
Dupdate_attempter.cc883 install_plan_.reset(new InstallPlan()); in Rollback()
884 install_plan_->target_slot = GetRollbackSlot(); in Rollback()
885 install_plan_->source_slot = system_state_->boot_control()->GetCurrentSlot(); in Rollback()
888 install_plan_->LoadPartitionsFromSlots(system_state_->boot_control())); in Rollback()
889 install_plan_->powerwash_required = powerwash; in Rollback()
892 install_plan_->Dump(); in Rollback()
895 std::make_unique<InstallPlanAction>(*install_plan_); in Rollback()
1239 if (install_plan_) { in ProcessingDoneUpdate()
1242 for (const auto& payload : install_plan_->payloads) { in ProcessingDoneUpdate()
1249 if (install_plan_->is_rollback) { in ProcessingDoneUpdate()
[all …]
Dupdate_attempter_unittest.cc871 EXPECT_EQ(0U, attempter_.install_plan_->partitions.size()); in RollbackTestVerify()
872 EXPECT_EQ(attempter_.install_plan_->powerwash_required, true); in RollbackTestVerify()
945 attempter_.install_plan_.reset(new InstallPlan); in TEST_F()
946 attempter_.install_plan_->is_resume = true; in TEST_F()
1738 response_action.install_plan_.version = "a.b.c.d"; in TEST_F()
1739 response_action.install_plan_.system_version = "b.c.d.e"; in TEST_F()
1740 response_action.install_plan_.payloads.push_back( in TEST_F()
1750 EXPECT_TRUE(attempter_.install_plan_); in TEST_F()
1751 EXPECT_EQ(attempter_.install_plan_->version, status.new_version); in TEST_F()
1752 EXPECT_EQ(attempter_.install_plan_->payloads[0].size, in TEST_F()
[all …]
Dupdate_attempter_android.h220 InstallPlan install_plan_; variable
Dupdate_attempter_android_unittest.cc62 update_attempter_android_.install_plan_.payloads.push_back( in AddPayload()
Dupdate_attempter.h490 std::unique_ptr<InstallPlan> install_plan_; variable
Domaha_response_handler_action_unittest.cc65 new InstallPlan(response_handler_action->install_plan_)); in ActionCompleted()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc59 install_plan_ = GetInputObject(); in PerformAction()
65 if (install_plan_.powerwash_required || install_plan_.is_rollback) { in PerformAction()
67 install_plan_.is_rollback && install_plan_.rollback_data_save_requested; in PerformAction()
76 partition_weight_.resize(install_plan_.partitions.size()); in PerformAction()
78 for (size_t i = 0; i < install_plan_.partitions.size(); ++i) { in PerformAction()
79 auto& partition = install_plan_.partitions[i]; in PerformAction()
80 if (!install_plan_.run_post_install && partition.postinstall_optional) { in PerformAction()
99 if (install_plan_.download_url.empty()) { in PerformPartitionPostinstall()
105 while (current_partition_ < install_plan_.partitions.size() && in PerformPartitionPostinstall()
106 !install_plan_.partitions[current_partition_].run_postinstall) { in PerformPartitionPostinstall()
[all …]
Dfilesystem_verifier_action.cc52 install_plan_ = GetInputObject(); in PerformAction()
54 if (install_plan_.partitions.empty()) { in PerformAction()
57 SetOutputObject(install_plan_); in PerformAction()
61 install_plan_.Dump(); in PerformAction()
80 SetOutputObject(install_plan_); in Cleanup()
92 if (partition_index_ == install_plan_.partitions.size()) { in StartPartitionHashing()
93 if (!install_plan_.untouched_dynamic_partitions.empty()) { in StartPartitionHashing()
95 << base::JoinString(install_plan_.untouched_dynamic_partitions, in StartPartitionHashing()
99 install_plan_.source_slot, in StartPartitionHashing()
100 install_plan_.target_slot, in StartPartitionHashing()
[all …]
Ddownload_action.cc171 install_plan_ = GetInputObject(); in PerformAction()
172 install_plan_.Dump(); in PerformAction()
177 for (const auto& payload : install_plan_.payloads) in PerformAction()
180 if (install_plan_.is_resume) { in PerformAction()
183 static_cast<size_t>(payload_index) < install_plan_.payloads.size()) { in PerformAction()
188 install_plan_.payloads[i].already_applied = true; in PerformAction()
193 payload_ = &install_plan_.payloads[0]; in PerformAction()
196 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction()
198 << BootControlInterface::SlotName(install_plan_.target_slot) in PerformAction()
244 &install_plan_, in StartDownloading()
[all …]
Dinstall_plan.h185 : install_plan_(install_plan) {} in InstallPlanAction()
189 SetOutputObject(install_plan_); in PerformAction()
194 InstallPlan* install_plan() { return &install_plan_; } in install_plan()
203 InstallPlan install_plan_;
Ddelta_performer.cc318 install_plan_->partitions.size() - partitions_.size(); in OpenCurrentPartition()
320 install_plan_->partitions[num_previous_partitions + current_partition_]; in OpenCurrentPartition()
335 << BootControlInterface::SlotName(install_plan_->source_slot) in OpenCurrentPartition()
355 << BootControlInterface::SlotName(install_plan_->target_slot) in OpenCurrentPartition()
387 install_plan_->partitions.size() - partitions_.size(); in OpenCurrentECCPartition()
389 install_plan_->partitions[num_previous_partitions + current_partition_]; in OpenCurrentECCPartition()
395 << BootControlInterface::SlotName(install_plan_->source_slot) in OpenCurrentECCPartition()
461 if (install_plan_->hash_checks_mandatory) { in ParsePayloadMetadata()
521 if (install_plan_->hash_checks_mandatory) { in ParsePayloadMetadata()
588 if (!install_plan_->is_resume) { in Write()
[all …]
Ddelta_performer_unittest.cc160 install_plan_.source_slot = 0; in SetUp()
161 install_plan_.target_slot = 1; in SetUp()
295 kPartitionNameRoot, install_plan_.target_slot, new_part.path()); in ApplyPayloadToData()
297 kPartitionNameRoot, install_plan_.source_slot, source_path); in ApplyPayloadToData()
299 kPartitionNameKernel, install_plan_.target_slot, "/dev/null"); in ApplyPayloadToData()
301 kPartitionNameKernel, install_plan_.source_slot, "/dev/null"); in ApplyPayloadToData()
320 install_plan_.hash_checks_mandatory = hash_checks_mandatory; in DoMetadataSizeTest()
362 install_plan_.hash_checks_mandatory = hash_checks_mandatory; in DoMetadataSignatureTest()
437 InstallPlan install_plan_; member in chromeos_update_engine::DeltaPerformerTest
447 &install_plan_,
[all …]
Ddelta_performer.h79 install_plan_(install_plan), in DeltaPerformer()
82 CHECK(install_plan_); in DeltaPerformer()
325 InstallPlan* install_plan_; variable
Dfilesystem_verifier_action_unittest.cc80 install_plan_.reset(new InstallPlan(collector_action->object())); in ActionCompleted()
86 std::unique_ptr<InstallPlan> install_plan_; member in chromeos_update_engine::FilesystemVerifierActionTestDelegate
184 bool is_install_plan_eq = (*delegate.install_plan_ == install_plan); in DoTest()