Home
last modified time | relevance | path

Searched refs:image_size (Results 1 – 8 of 8) sorted by relevance

/build/make/tools/releasetools/
Dverity_utils.py52 def GetVerityFECSize(image_size): argument
53 cmd = ["fec", "-s", str(image_size)]
58 def GetVerityTreeSize(image_size): argument
59 cmd = ["build_verity_tree", "-s", str(image_size)]
64 def GetVerityMetadataSize(image_size): argument
65 cmd = ["build_verity_metadata", "size", str(image_size)]
70 def GetVeritySize(image_size, fec_supported): argument
71 verity_tree_size = GetVerityTreeSize(image_size)
72 verity_metadata_size = GetVerityMetadataSize(image_size)
75 fec_size = GetVerityFECSize(image_size + verity_size)
[all …]
Dtest_verity_utils.py216 image_size = verity_image_builder.CalculateMaxImageSize()
222 str(image_size), '-j', '0', '-s']
342 for image_size in image_sizes:
344 expected_size = common.RoundUpTo4K(int(math.ceil(image_size / ratio)))
348 image_size, lambda x, ratio=ratio: int(x * ratio)))
359 for image_size in image_sizes:
361 image_size, _SizeCalculator)
365 image_size)
369 image_size)
381 for image_size in image_sizes:
[all …]
Dbuild_super_image.py62 image_size = sparse_img.GetImagePartitionSize(image) if image else 0
65 "{}:readonly:{}:{}".format(partition, image_size, group)]
Dtest_validate_target_files.py125 image_size = verity_image_builder.CalculateMaxImageSize()
131 '/system', str(image_size), '-j', '0']
Dadd_img_to_target_files.py444 image_size = image_props.get("image_size")
445 if image_size:
447 info_dict[image_size_key] = int(image_size)
Dadd_img_to_target_files444 image_size = image_props.get("image_size")
445 if image_size:
447 info_dict[image_size_key] = int(image_size)
Dmerge_target_files.py800 image_size = verity_image_builder.CalculateMaxImageSize(partition_size)
801 OPTIONS.info_dict[image_size_prop] = image_size
Dcommon.py3897 image_size = OPTIONS.info_dict.get(which + "_image_size")
3898 if not image_size:
3901 image_blocks = int(image_size) // 4096 - 1