Home | History | Annotate | Download | only in releasetools

Lines Matching refs:partition_size

46 def GetVerityTreeSize(partition_size):
48 cmd %= partition_size
55 def GetVerityMetadataSize(partition_size):
57 cmd %= partition_size
64 def AdjustPartitionSizeForVerity(partition_size):
69 partition_size: the size of the partition to be verified.
73 success, verity_tree_size = GetVerityTreeSize(partition_size)
76 success, verity_metadata_size = GetVerityMetadataSize(partition_size)
79 return partition_size - verity_tree_size - verity_metadata_size
161 image_size = prop_dict["partition_size"]
228 partition_size = int(prop_dict.get("partition_size"))
229 adjusted_size = AdjustPartitionSizeForVerity(partition_size)
232 prop_dict["partition_size"] = str(adjusted_size)
233 prop_dict["original_partition_size"] = str(partition_size)
242 build_command.append(prop_dict["partition_size"])
257 build_command.extend([out_file, prop_dict["partition_size"]])
323 copy_prop("system_size", "partition_size")
330 copy_prop("userdata_size", "partition_size")
333 copy_prop("cache_size", "partition_size")
336 copy_prop("vendor_size", "partition_size")
341 copy_prop("oem_size", "partition_size")