/system/update_engine/payload_generator/ |
D | payload_generation_config_unittest.cc | 27 image_config.partitions.emplace_back("root"); in TEST_F() 35 EXPECT_FALSE(image_config.partitions[0].postinstall.IsEmpty()); in TEST_F() 36 EXPECT_EQ(true, image_config.partitions[0].postinstall.run); in TEST_F() 37 EXPECT_EQ("postinstall", image_config.partitions[0].postinstall.path); in TEST_F() 38 EXPECT_EQ("ext4", image_config.partitions[0].postinstall.filesystem_type); in TEST_F() 39 EXPECT_TRUE(image_config.partitions[0].postinstall.optional); in TEST_F() 44 image_config.partitions.emplace_back("system"); in TEST_F() 51 EXPECT_TRUE(image_config.partitions[0].postinstall.IsEmpty()); in TEST_F()
|
D | delta_diff_generator.cc | 81 TEST_AND_RETURN_FALSE(config.source.partitions.size() == in GenerateUpdatePayloadFile() 82 config.target.partitions.size()); in GenerateUpdatePayloadFile() 85 for (size_t i = 0; i < config.target.partitions.size(); i++) { in GenerateUpdatePayloadFile() 87 config.is_delta ? config.source.partitions[i] : empty_part; in GenerateUpdatePayloadFile() 88 const PartitionConfig& new_part = config.target.partitions[i]; in GenerateUpdatePayloadFile()
|
D | generate_delta_main.cc | 199 old_image.partitions.emplace_back(kLegacyPartitionNameRoot); in ApplyDelta() 200 old_image.partitions.back().path = old_rootfs; in ApplyDelta() 201 old_image.partitions.emplace_back(kLegacyPartitionNameKernel); in ApplyDelta() 202 old_image.partitions.back().path = old_kernel; in ApplyDelta() 204 for (const auto& old_part : old_image.partitions) { in ApplyDelta() 214 install_plan.partitions.push_back(part); in ApplyDelta() 449 payload_config.target.partitions.emplace_back(partition_names[i]); in Main() 450 payload_config.target.partitions.back().path = new_partitions[i]; in Main() 465 payload_config.source.partitions.emplace_back(partition_names[i]); in Main() 466 payload_config.source.partitions.back().path = old_partitions[i]; in Main() [all …]
|
D | payload_generation_config.cc | 74 return partitions.empty(); in ValidateIsEmpty() 78 for (PartitionConfig& part : partitions) { in LoadImageSize() 88 for (PartitionConfig& part : partitions) { in LoadPostInstallConfig() 184 for (const PartitionConfig& part : source.partitions) { in Validate() 202 for (const PartitionConfig& part : target.partitions) { in Validate()
|
D | payload_generation_config.h | 110 std::vector<PartitionConfig> partitions; member
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 67 partition_weight_.resize(install_plan_.partitions.size()); in PerformAction() 69 for (size_t i = 0; i < install_plan_.partitions.size(); ++i) { in PerformAction() 73 partition_weight_[i] = install_plan_.partitions[i].run_postinstall; in PerformAction() 89 while (current_partition_ < install_plan_.partitions.size() && in PerformPartitionPostinstall() 90 !install_plan_.partitions[current_partition_].run_postinstall) { in PerformPartitionPostinstall() 92 << install_plan_.partitions[current_partition_].name; in PerformPartitionPostinstall() 95 if (current_partition_ == install_plan_.partitions.size()) in PerformPartitionPostinstall() 99 install_plan_.partitions[current_partition_]; in PerformPartitionPostinstall() 307 if (install_plan_.partitions[current_partition_].postinstall_optional) { in CompletePartitionPostinstall()
|
D | filesystem_verifier_action.cc | 63 install_plan_.partitions.empty() && in PerformAction() 81 install_plan_.partitions.push_back(part); in PerformAction() 93 install_plan_.partitions.push_back(part); in PerformAction() 96 if (install_plan_.partitions.empty()) { in PerformAction() 130 if (partition_index_ == install_plan_.partitions.size()) { in StartPartitionHashing() 141 install_plan_.partitions[partition_index_]; in StartPartitionHashing() 226 << install_plan_.partitions[partition_index_].name; in OnReadDoneCallback() 247 install_plan_.partitions[partition_index_]; in FinishPartitionHashing()
|
D | install_plan.cc | 52 (partitions == that.partitions)); in operator ==() 61 for (const auto& partition : partitions) { in Dump() 89 for (Partition& partition : partitions) { in LoadPartitionsFromSlots()
|
D | delta_performer_integration_test.cc | 512 payload_config.source.partitions.emplace_back(kLegacyPartitionNameRoot); in GenerateDeltaFile() 513 payload_config.source.partitions.emplace_back(kLegacyPartitionNameKernel); in GenerateDeltaFile() 514 payload_config.source.partitions.front().path = state->a_img; in GenerateDeltaFile() 516 payload_config.source.partitions.back().path = state->old_kernel; in GenerateDeltaFile() 519 for (PartitionConfig& part : payload_config.source.partitions) in GenerateDeltaFile() 526 payload_config.target.partitions.emplace_back(kLegacyPartitionNameRoot); in GenerateDeltaFile() 527 payload_config.target.partitions.back().path = state->b_img; in GenerateDeltaFile() 528 payload_config.target.partitions.emplace_back(kLegacyPartitionNameKernel); in GenerateDeltaFile() 529 payload_config.target.partitions.back().path = state->new_kernel; in GenerateDeltaFile() 532 for (PartitionConfig& part : payload_config.target.partitions) in GenerateDeltaFile() [all …]
|
D | filesystem_verifier_action_unittest.cc | 191 install_plan.partitions = {part}; in DoTest() 294 install_plan.partitions = {part}; in TEST_F() 370 ASSERT_EQ(2U, install_plan.partitions.size()); in TEST_F() 374 EXPECT_EQ(10U << 20, install_plan.partitions[0].source_size); in TEST_F() 375 EXPECT_EQ(kLegacyPartitionNameRoot, install_plan.partitions[0].name); in TEST_F() 376 EXPECT_EQ(20U << 20, install_plan.partitions[1].source_size); in TEST_F() 377 EXPECT_EQ(kLegacyPartitionNameKernel, install_plan.partitions[1].name); in TEST_F()
|
D | delta_performer.cc | 336 source_path_ = install_plan_->partitions[current_partition_].source_path; in OpenCurrentPartition() 348 target_path_ = install_plan_->partitions[current_partition_].target_path; in OpenCurrentPartition() 365 target_fd_, install_plan_->partitions[current_partition_].target_size); in OpenCurrentPartition() 378 void LogPartitionInfo(const vector<PartitionUpdate>& partitions) { in LogPartitionInfo() argument 379 for (const PartitionUpdate& partition : partitions) { in LogPartitionInfo() 779 for (const PartitionUpdate& partition : manifest_.partitions()) { in ParseManifestPartitions() 827 if (!install_plan_->partitions.empty()) { in ParseManifestPartitions() 836 install_plan_->partitions.clear(); in ParseManifestPartitions() 866 install_plan_->partitions.push_back(install_part); in ParseManifestPartitions() 1449 for (const PartitionUpdate& partition : manifest_.partitions()) { in ValidateManifest() [all …]
|
D | install_plan.h | 100 std::vector<Partition> partitions; member
|
D | postinstall_runner_action_unittest.cc | 188 install_plan.partitions = {part}; in RunPosinstallAction()
|
/system/update_engine/ |
D | update_metadata.proto | 67 // the extents are in different partitions. 246 // kernel and rootfs partitions. For major version = 2 see the |partitions| 263 // update. For major version = 2 see the |partitions| field. 277 // Only present in major version >= 2. List of partitions that will be 281 // array can have more than two partitions if needed, and they are identified 283 repeated PartitionUpdate partitions = 13; field
|
D | omaha_response_handler_action_unittest.cc | 217 EXPECT_TRUE(install_plan.partitions.empty()); in TEST_F()
|
D | update_attempter_unittest.cc | 511 EXPECT_EQ(0U, install_plan->partitions.size()); in RollbackTestVerify()
|
/system/sepolicy/ |
D | toolbox.te | 17 # Read/write block devices used for swap partitions.
|
D | update_engine_common.te | 7 # Allow read/write on system and boot partitions.
|
D | domain.te | 604 # vendor, and boot partitions.
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 345 die "The list of partitions is empty. Can't generate a payload."
|
/system/core/init/ |
D | readme.txt | 58 partitions should have their service entries placed into a 296 at the specified paths (e.g., on the partitions just mounted). Refer to the
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 143 the bootloader and then upgrading other partitions
|