Home
last modified time | relevance | path

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

/build/make/tools/releasetools/
Dverity_utils.py31 BLOCK_SIZE = common.BLOCK_SIZE variable
76 blocks = pad_size // BLOCK_SIZE
275 if hi % BLOCK_SIZE != 0:
276 hi = (hi // BLOCK_SIZE) * BLOCK_SIZE
286 i = ((lo + hi) // (2 * BLOCK_SIZE)) * BLOCK_SIZE
292 lo = i + BLOCK_SIZE
398 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - BLOCK_SIZE
401 delta = BLOCK_SIZE
405 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - delta
409 hi = lo + BLOCK_SIZE
[all …]
Dtest_verity_utils.py33 BLOCK_SIZE = common.BLOCK_SIZE variable
324 image_sizes = [BLOCK_SIZE * random.randint(51200, 524288) + offset
325 for offset in range(BLOCK_SIZE)]
367 _SizeCalculator(min_partition_size - BLOCK_SIZE),
389 _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
220 headroom_blocks = int(prop_dict['partition_headroom']) // BLOCK_SIZE
Dcommon.py105 BLOCK_SIZE = 4096 variable