Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance

/build/make/tools/releasetools/
Dverity_utils.py38 BLOCK_SIZE = common.BLOCK_SIZE variable
86 blocks = pad_size // BLOCK_SIZE
285 if hi % BLOCK_SIZE != 0:
286 hi = (hi // BLOCK_SIZE) * BLOCK_SIZE
296 i = ((lo + hi) // (2 * BLOCK_SIZE)) * BLOCK_SIZE
302 lo = i + BLOCK_SIZE
408 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - BLOCK_SIZE
411 delta = BLOCK_SIZE
415 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - delta
419 hi = lo + BLOCK_SIZE
[all …]
Dtest_verity_utils.py34 BLOCK_SIZE = common.BLOCK_SIZE variable
325 image_sizes = [BLOCK_SIZE * random.randint(51200, 524288) + offset
326 for offset in range(BLOCK_SIZE)]
368 _SizeCalculator(min_partition_size - BLOCK_SIZE),
390 _SizeCalculator(min_partition_size - BLOCK_SIZE),
Dota_package_parser.py197 BLOCK_SIZE = 4096
204 OtaPackageParser.GetSizeString(self.block_written * BLOCK_SIZE))
206 OtaPackageParser.GetSizeString(self.block_stashed * BLOCK_SIZE))
Dbuild_image.py40 BLOCK_SIZE = common.BLOCK_SIZE variable
224 headroom_blocks = int(prop_dict['partition_headroom']) // BLOCK_SIZE
Dcommon.py106 BLOCK_SIZE = 4096 variable