Home
last modified time | relevance | path

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

/build/make/tools/releasetools/
Dverity_utils.py39 BLOCK_SIZE = common.BLOCK_SIZE variable
179 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - BLOCK_SIZE
182 delta = BLOCK_SIZE
186 lo = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE - delta
190 hi = lo + BLOCK_SIZE
193 delta = BLOCK_SIZE
197 hi = int(image_size / image_ratio) // BLOCK_SIZE * BLOCK_SIZE + delta
205 mid = ((lo + hi) // (2 * BLOCK_SIZE)) * BLOCK_SIZE
212 lo = mid + BLOCK_SIZE
Dtest_verity_utils.py32 BLOCK_SIZE = common.BLOCK_SIZE variable
87 image_sizes = [BLOCK_SIZE * random.randint(51200, 524288) + offset
88 for offset in range(BLOCK_SIZE)]
130 _SizeCalculator(min_partition_size - BLOCK_SIZE),
152 _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.py46 BLOCK_SIZE = common.BLOCK_SIZE variable
236 headroom_blocks = int(prop_dict['partition_headroom']) // BLOCK_SIZE
Dcommon.py108 BLOCK_SIZE = 4096 variable