Home
last modified time | relevance | path

Searched refs:part_name (Results 1 – 7 of 7) sorted by relevance

/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp1005 for (const auto& part_name : real_parts) { in TEST_P() local
1011 ASSERT_TRUE(PartitionHash(fb.get(), part_name, &hash, &retcode, &err_msg)) in TEST_P()
1015 const std::string cmd = config.checksum + ' ' + part_name; in TEST_P()
1017 << part_name + " is marked as non-hashable, but hashing did not fail"; in TEST_P()
1027 for (const auto& part_name : real_parts) { in TEST_P() local
1029 EXPECT_EQ(fb->FlashPartition(part_name, buf), part_info.parsed ? DEVICE_FAIL : SUCCESS) in TEST_P()
1039 for (const auto& part_name : real_parts) { in TEST_P() local
1040 ASSERT_EQ(fb->Erase(part_name), SUCCESS) << "Erasing " + part_name + " failed"; in TEST_P()
1047 for (const auto& part_name : real_parts) { in TEST_P() local
1055 ASSERT_EQ(fb->FlashPartition(part_name, buf), SUCCESS); in TEST_P()
[all …]
/system/update_engine/scripts/update_payload/
Dtest_utils.py177 def SetPartInfo(self, part_name, is_new, part_size, part_hash): argument
187 if x.partition_name == part_name), None)
190 partition.partition_name = part_name
197 def AddOperation(self, part_name, op_type, data_offset=None, argument
202 if x.partition_name == part_name), None)
205 partition.partition_name = part_name
287 def AddOperationWithData(self, part_name, op_type, src_extents=None, argument
312 self.AddOperation(part_name, op_type, data_offset=data_offset,
Dapplier.py518 def _ApplyToPartition(self, operations, part_name, base_name, argument
540 'old ' + part_name, length=old_part_info.size)
569 'new ' + part_name, length=new_part_info.size)
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc771 for (const auto& part_name : {"kernel", "rootfs"}) { in TEST_F()
773 part->set_partition_name(part_name); in TEST_F()
787 for (const auto& part_name : {"kernel", "rootfs"}) { in TEST_F()
789 part->set_partition_name(part_name); in TEST_F()
804 for (const auto& part_name : {"kernel", "rootfs"}) { in TEST_F()
806 part->set_partition_name(part_name); in TEST_F()
846 for (const auto& part_name : {"kernel", "rootfs"}) { in TEST_F()
848 part->set_partition_name(part_name); in TEST_F()
/system/update_engine/scripts/
Dpaycheck.py278 for part_name, out_dst_part, dst_part in zip(args.part_names,
286 'Resulting %s partition corrupted.' % part_name)
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc226 const string& part_name = config.target.partitions[i].name; in ApplyPayload() local
229 part_name, install_plan.target_slot, target_path); in ApplyPayload()
237 part_name, install_plan.source_slot, source_path); in ApplyPayload()
/system/core/fastboot/
Dfastboot.cpp134 const char* part_name; member
1372 do_for_partitions(image->part_name, slot, resize_partition, false); in Flash()
1448 do_for_partitions(image.part_name, slot, flash, false); in FlashImage()
1478 std::string partition_name = image->part_name + "_"s + slot; in UpdateSuperPartition()