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
271 if hi % BLOCK_SIZE != 0:
272 hi = (hi // BLOCK_SIZE) * BLOCK_SIZE
282 i = ((lo + hi) // (2 * BLOCK_SIZE)) * BLOCK_SIZE
288 lo = i + BLOCK_SIZE
394 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - BLOCK_SIZE
397 delta = BLOCK_SIZE
401 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - delta
405 hi = lo + BLOCK_SIZE
[all …]
Dtest_verity_utils.py32 BLOCK_SIZE = common.BLOCK_SIZE variable
314 image_sizes = [BLOCK_SIZE * random.randint(51200, 524288) + offset
315 for offset in range(BLOCK_SIZE)]
357 _SizeCalculator(min_partition_size - BLOCK_SIZE),
379 _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.py91 BLOCK_SIZE = 4096 variable