Searched refs:image_size (Results 1 – 6 of 6) sorted by relevance
/build/make/tools/releasetools/ |
D | verity_utils.py | 42 def GetVerityFECSize(image_size): argument 43 cmd = ["fec", "-s", str(image_size)] 48 def GetVerityTreeSize(image_size): argument 49 cmd = ["build_verity_tree", "-s", str(image_size)] 54 def GetVerityMetadataSize(image_size): argument 55 cmd = ["build_verity_metadata", "size", str(image_size)] 60 def GetVeritySize(image_size, fec_supported): argument 61 verity_tree_size = GetVerityTreeSize(image_size) 62 verity_metadata_size = GetVerityMetadataSize(image_size) 65 fec_size = GetVerityFECSize(image_size + verity_size) [all …]
|
D | test_verity_utils.py | 215 image_size = verity_image_builder.CalculateMaxImageSize() 221 str(image_size), '-j', '0', '-s'] 341 for image_size in image_sizes: 343 expected_size = common.RoundUpTo4K(int(math.ceil(image_size / ratio))) 347 image_size, lambda x, ratio=ratio: int(x * ratio))) 358 for image_size in image_sizes: 360 image_size, _SizeCalculator) 364 image_size) 368 image_size) 380 for image_size in image_sizes: [all …]
|
D | build_super_image.py | 62 image_size = sparse_img.GetImagePartitionSize(image) if image else 0 65 "{}:readonly:{}:{}".format(partition, image_size, group)]
|
D | add_img_to_target_files.py | 126 image_size = OPTIONS.info_dict.get(which + "_image_size") 127 if not image_size: 130 image_blocks = int(image_size) // 4096 - 1 441 image_size = image_props.get("image_size") 442 if image_size: 444 info_dict[image_size_key] = int(image_size)
|
D | add_img_to_target_files | 126 image_size = OPTIONS.info_dict.get(which + "_image_size") 127 if not image_size: 130 image_blocks = int(image_size) // 4096 - 1 441 image_size = image_props.get("image_size") 442 if image_size: 444 info_dict[image_size_key] = int(image_size)
|
D | test_validate_target_files.py | 125 image_size = verity_image_builder.CalculateMaxImageSize() 131 '/system', str(image_size), '-j', '0']
|