/system/core/fs_mgr/libfs_avb/tests/ |
D | basic_test.cpp | 74 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local 82 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F() 111 const size_t partition_size = 60 * 1024 * 1024; in TEST_F() local 119 AddAvbFooter(system_path, "hashtree", "system", partition_size, "SHA512_RSA8192", 20, in TEST_F()
|
D | fs_avb_util_test.cpp | 106 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local 109 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F()
|
D | avb_util_test.cpp | 189 const size_t partition_size = 15 * 1024 * 1024; in TEST_F() local 199 AddAvbFooter(system_path, "hashtree", "system", partition_size, "SHA512_RSA8192", 20, in TEST_F() 205 EXPECT_EQ(partition_size, file_size); in TEST_F() 336 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local 339 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F() 480 const size_t partition_size = 15 * 1024 * 1024; in TEST_F() local 482 auto vbmeta = GenerateImageAndExtractVBMetaData("system", image_size, partition_size, in TEST_F() 500 const size_t partition_size = 15 * 1024 * 1024; in TEST_F() local 502 auto vbmeta = GenerateImageAndExtractVBMetaData("system", image_size, partition_size, in TEST_F() 541 const size_t partition_size = 15 * 1024 * 1024; in TEST_F() local [all …]
|
D | fs_avb_test_util.cpp | 160 const std::string& partition_name, const uint64_t partition_size, in AddAvbFooter() argument 183 partition_size, rollback_index, salt.c_str(), signing_options.c_str(), in AddAvbFooter() 188 const std::string& partition_name, const size_t image_size, const size_t partition_size, in GenerateImageAndExtractVBMetaData() argument 195 AddAvbFooter(image_path, footer_type, partition_name, partition_size, avb_algorithm, in GenerateImageAndExtractVBMetaData()
|
D | fs_avb_test_util.h | 101 const std::string& partition_name, const uint64_t partition_size, 107 const std::string& partition_name, const size_t image_size, const size_t partition_size,
|
/system/core/fastboot/device/ |
D | commands.cpp | 369 uint64_t partition_size; in CreatePartitionHandler() local 371 if (!android::base::ParseUint(args[2].c_str(), &partition_size)) { in CreatePartitionHandler() 388 if (!builder->ResizePartition(partition, partition_size)) { in CreatePartitionHandler() 429 uint64_t partition_size; in ResizePartitionHandler() local 431 if (!android::base::ParseUint(args[2].c_str(), &partition_size)) { in ResizePartitionHandler() 444 if (!builder->ResizePartition(partition, partition_size)) { in ResizePartitionHandler()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 688 auto partition_size = in fs_mgr_overlayfs_create_scratch() local 690 if ((partition_size > kMinimumSize) || !partition->size()) { in fs_mgr_overlayfs_create_scratch() 704 partition_size = std::max(std::min(kMinimumSize, partition_size - margin_size), in fs_mgr_overlayfs_create_scratch() 705 partition_size / 2); in fs_mgr_overlayfs_create_scratch() 706 if (partition_size > partition->size()) { in fs_mgr_overlayfs_create_scratch() 707 if (!builder->ResizePartition(partition, partition_size)) { in fs_mgr_overlayfs_create_scratch()
|
/system/core/fs_mgr/liblp/ |
D | images.cpp | 302 uint64_t partition_size = ComputePartitionSize(partition); in AddPartitionImage() local 303 if (file_length > partition_size) { in AddPartitionImage() 305 << "' is greater than its size (" << file_length << ", expected " << partition_size in AddPartitionImage()
|
/system/update_engine/payload_generator/ |
D | inplace_generator.cc | 719 uint64_t partition_size, in ResolveReadAfterWriteDependencies() argument 735 if (blocks.size() < (partition_size / block_size)) { in ResolveReadAfterWriteDependencies() 738 size_t scratch_blocks = (partition_size / block_size) - blocks.size(); in ResolveReadAfterWriteDependencies() 778 uint64_t partition_size = new_part.size; in GenerateOperations() local 780 partition_size = config.rootfs_partition_size; in GenerateOperations() 793 old_part, new_part, partition_size, config.block_size, blob_file, aops)); in GenerateOperations()
|
D | inplace_generator.h | 215 uint64_t partition_size,
|
/system/extras/verity/ |
D | build_verity_metadata.py | 112 print get_verity_metadata_size(args.partition_size)
|
/system/core/fastboot/ |
D | fastboot.cpp | 1472 std::string partition_type, partition_size; in fb_perform_format() local 1500 if (fb->GetVar("partition-size:" + partition, &partition_size) != fastboot::SUCCESS) { in fb_perform_format() 1505 if (partition_size != size_override) { in fb_perform_format() 1507 partition.c_str(), partition_size.c_str(), size_override.c_str()); in fb_perform_format() 1509 partition_size = size_override; in fb_perform_format() 1511 partition_size = fb_fix_numeric_var(partition_size); in fb_perform_format() 1525 if (!android::base::ParseInt(partition_size, &size)) { in fb_perform_format() 1526 die("Couldn't parse partition size '%s'.", partition_size.c_str()); in fb_perform_format()
|
/system/apex/apexer/ |
D | apexer.py | 312 partition_size = RoundUp(vbmeta_offset + vbmeta_size, BLOCK_SIZE) + BLOCK_SIZE 319 cmd.extend(['--partition_size', str(partition_size)])
|
/system/update_engine/ |
D | boot_control_android_unittest.cc | 730 uint64_t partition_size) { in SimpleGroup() argument 733 .partitions = {{.name = partition, .size = partition_size}}}; in SimpleGroup()
|