/system/update_engine/ |
D | omaha_response_handler_action.cc | 71 install_plan_.download_url = current_url; in PerformAction() 72 install_plan_.version = response.version; in PerformAction() 73 install_plan_.system_version = response.system_version; in PerformAction() 81 LOG(INFO) << "Replacing URL " << install_plan_.download_url in PerformAction() 84 install_plan_.download_url = payload_state->GetP2PUrl(); in PerformAction() 98 install_plan_.payloads.push_back( in PerformAction() 107 install_plan_.public_key_rsa = response.public_key_rsa; in PerformAction() 108 install_plan_.hash_checks_mandatory = AreHashChecksMandatory(response); in PerformAction() 109 install_plan_.is_resume = DeltaPerformer::CanResumeUpdate( in PerformAction() 111 if (install_plan_.is_resume) { in PerformAction() [all …]
|
D | update_attempter_android.cc | 194 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 …]
|
D | update_attempter_unittest.cc | 581 EXPECT_EQ(0U, attempter_.install_plan_->partitions.size()); in RollbackTestVerify() 582 EXPECT_EQ(attempter_.install_plan_->powerwash_required, true); in RollbackTestVerify() 655 attempter_.install_plan_.reset(new InstallPlan); in TEST_F() 656 attempter_.install_plan_->is_resume = true; in TEST_F() 1274 response_action.install_plan_.version = "a.b.c.d"; in TEST_F() 1275 response_action.install_plan_.system_version = "b.c.d.e"; in TEST_F() 1276 response_action.install_plan_.payloads.push_back( in TEST_F() 1286 EXPECT_TRUE(attempter_.install_plan_); in TEST_F() 1287 EXPECT_EQ(attempter_.install_plan_->version, status.new_version); in TEST_F() 1288 EXPECT_EQ(attempter_.install_plan_->system_version, in TEST_F() [all …]
|
D | omaha_response_handler_action.h | 57 const InstallPlan& install_plan() const { return install_plan_; } in install_plan() 72 InstallPlan install_plan_; variable
|
D | update_attempter.cc | 726 install_plan_.reset(new InstallPlan()); in Rollback() 727 install_plan_->target_slot = GetRollbackSlot(); in Rollback() 728 install_plan_->source_slot = system_state_->boot_control()->GetCurrentSlot(); in Rollback() 731 install_plan_->LoadPartitionsFromSlots(system_state_->boot_control())); in Rollback() 732 install_plan_->powerwash_required = powerwash; in Rollback() 735 install_plan_->Dump(); in Rollback() 738 std::make_unique<InstallPlanAction>(*install_plan_); in Rollback() 1058 if (install_plan_) { in ProcessingDone() 1061 for (const auto& payload : install_plan_->payloads) { in ProcessingDone() 1069 if (install_plan_->is_rollback) { in ProcessingDone() [all …]
|
D | update_attempter_android.h | 215 InstallPlan install_plan_; variable
|
D | update_attempter_android_unittest.cc | 62 update_attempter_android_.install_plan_.payloads.push_back( in AddPayload()
|
D | update_attempter.h | 435 std::unique_ptr<InstallPlan> install_plan_; variable
|
D | omaha_response_handler_action_unittest.cc | 64 new InstallPlan(response_handler_action->install_plan_)); in ActionCompleted()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 58 install_plan_ = GetInputObject(); in PerformAction() 61 if (install_plan_.powerwash_required || install_plan_.is_rollback) { in PerformAction() 62 if (hardware_->SchedulePowerwash(install_plan_.is_rollback)) { in PerformAction() 70 partition_weight_.resize(install_plan_.partitions.size()); in PerformAction() 72 for (size_t i = 0; i < install_plan_.partitions.size(); ++i) { in PerformAction() 73 auto& partition = install_plan_.partitions[i]; in PerformAction() 74 if (!install_plan_.run_post_install && partition.postinstall_optional) { in PerformAction() 93 if (install_plan_.download_url.empty()) { in PerformPartitionPostinstall() 99 while (current_partition_ < install_plan_.partitions.size() && in PerformPartitionPostinstall() 100 !install_plan_.partitions[current_partition_].run_postinstall) { in PerformPartitionPostinstall() [all …]
|
D | download_action.cc | 175 install_plan_ = GetInputObject(); in PerformAction() 176 install_plan_.Dump(); in PerformAction() 181 for (const auto& payload : install_plan_.payloads) in PerformAction() 184 if (install_plan_.is_resume) { in PerformAction() 187 static_cast<size_t>(payload_index) < install_plan_.payloads.size()) { in PerformAction() 192 install_plan_.payloads[i].already_applied = true; in PerformAction() 197 payload_ = &install_plan_.payloads[0]; in PerformAction() 200 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction() 202 << BootControlInterface::SlotName(install_plan_.target_slot) in PerformAction() 212 if (install_plan_.is_resume && in StartDownloading() [all …]
|
D | filesystem_verifier_action.cc | 51 install_plan_ = GetInputObject(); in PerformAction() 53 if (install_plan_.partitions.empty()) { in PerformAction() 56 SetOutputObject(install_plan_); in PerformAction() 78 SetOutputObject(install_plan_); in Cleanup() 83 if (partition_index_ == install_plan_.partitions.size()) { in StartPartitionHashing() 88 install_plan_.partitions[partition_index_]; in StartPartitionHashing() 138 install_plan_.write_verity) { in StartPartitionHashing() 151 install_plan_.partitions[partition_index_]; in ScheduleRead() 194 << install_plan_.partitions[partition_index_].name; in OnReadDoneCallback() 206 install_plan_.write_verity) { in OnReadDoneCallback() [all …]
|
D | install_plan.h | 176 : install_plan_(install_plan) {} in InstallPlanAction() 180 SetOutputObject(install_plan_); in PerformAction() 185 InstallPlan* install_plan() { return &install_plan_; } in install_plan() 194 InstallPlan install_plan_;
|
D | delta_performer_unittest.cc | 158 install_plan_.source_slot = 0; in SetUp() 159 install_plan_.target_slot = 1; in SetUp() 292 kPartitionNameRoot, install_plan_.target_slot, new_part.path()); in ApplyPayloadToData() 294 kPartitionNameRoot, install_plan_.source_slot, source_path); in ApplyPayloadToData() 296 kPartitionNameKernel, install_plan_.target_slot, "/dev/null"); in ApplyPayloadToData() 298 kPartitionNameKernel, install_plan_.source_slot, "/dev/null"); in ApplyPayloadToData() 317 install_plan_.hash_checks_mandatory = hash_checks_mandatory; in DoMetadataSizeTest() 355 install_plan_.hash_checks_mandatory = hash_checks_mandatory; in DoMetadataSignatureTest() 427 InstallPlan install_plan_; member in chromeos_update_engine::DeltaPerformerTest 437 &install_plan_, [all …]
|
D | delta_performer.cc | 357 install_plan_->partitions.size() - partitions_.size(); in OpenCurrentPartition() 359 install_plan_->partitions[num_previous_partitions + current_partition_]; in OpenCurrentPartition() 372 << BootControlInterface::SlotName(install_plan_->source_slot) in OpenCurrentPartition() 392 << BootControlInterface::SlotName(install_plan_->target_slot) in OpenCurrentPartition() 425 install_plan_->partitions.size() - partitions_.size(); in OpenCurrentECCPartition() 427 install_plan_->partitions[num_previous_partitions + current_partition_]; in OpenCurrentECCPartition() 433 << BootControlInterface::SlotName(install_plan_->source_slot) in OpenCurrentECCPartition() 499 if (install_plan_->hash_checks_mandatory) { in ParsePayloadMetadata() 544 if (install_plan_->hash_checks_mandatory) { in ParsePayloadMetadata() 703 if (install_plan_->hash_checks_mandatory) { in Write() [all …]
|
D | filesystem_verifier_action.h | 104 InstallPlan install_plan_; variable
|
D | postinstall_runner_action.h | 98 InstallPlan install_plan_; variable
|
D | filesystem_verifier_action_unittest.cc | 78 install_plan_.reset(new InstallPlan(collector_action->object())); in ActionCompleted() 84 std::unique_ptr<InstallPlan> install_plan_; member in chromeos_update_engine::FilesystemVerifierActionTestDelegate 182 bool is_install_plan_eq = (*delegate.install_plan_ == install_plan); in DoTest()
|
D | delta_performer.h | 79 install_plan_(install_plan), in DeltaPerformer() 330 InstallPlan* install_plan_; variable
|
D | download_action.h | 138 InstallPlan install_plan_; variable
|