Lines Matching refs:format

65           'executable -- build and run `{}` directly.'.format(
311 "Failed to run command '{}' (exit code {}):\n{}".format(
413 "3.2.2. Build Parameters.".format(fingerprint))
477 prop_file = '{}.build.prop'.format(
493 prop = prop.replace("ro.product", "ro.product.{}".format(prop_partition))
495 prop = prop.replace("ro.", "ro.{}.".format(prop_partition))
534 "Invalid ro.product.property_source_order '{}'".format(source_order))
538 "ro.product", "ro.product.{}".format(source_partition), 1)
543 raise ExternalError("couldn't resolve {}".format(prop))
625 return "{}/{}/{}:{}/{}/{}:{}/{}".format(
641 return "{}/{}/{}:{}/{}/{}:{}/{}".format(
830 partition_prop = "{}.build.prop".format(partition)
842 d["avb_{}_salt".format(partition)] = sha256(
906 self.props_allow_override = [props.format(name) for props in [
960 for prop_file in ['{}/etc/build.prop'.format(name.upper()),
961 '{}/build.prop'.format(name.upper())]:
987 raise ValueError('prop {} is overridden multiple times'.format(
995 'statement'.format(name))
1003 raise ValueError('Unrecognized import statement {}'.format(line))
1010 if not re.match(r'^/{}/.*\.prop$'.format(self.partition), import_path):
1011 raise ValueError('Unrecognized import path {}'.format(line))
1019 prop_place_holder = '${{{}}}'.format(prop)
1026 import_path = import_path.replace('/{}'.format(self.partition),
1380 return "{}:{}:{}".format(partition, rollback_index_location, pubkey_path)
1441 'gki_signing_key_path: "{}" not found'.format(key_path))
1485 'Unknown partition: {}'.format(partition)
1487 'Failed to find {} for {}'.format(path, partition)
1490 args = OPTIONS.info_dict.get("avb_{}_args".format(name))
1511 assert found, 'Failed to find {}'.format(chained_image)
2115 "Failed to find the ZIP entry for {}".format(entry)
2202 "Failed to obtain minSdkVersion: aapt2 return code {}:\n{}\n{}".format(
2236 "Unknown minSdkVersion: '{}'. Known codenames: {}".format(
2294 "Failed to run signapk.jar: return code {}:\n{}".format(
2420 "Multiple compressed extensions: {} vs {}".format(
3209 'endif;').format(device=self.device, ranges=ranges_str,
3271 '{}.transfer.list'.format(self.path),
3272 '{}.transfer.list'.format(self.partition))
3284 '--output={}.new.dat.br'.format(self.path),
3285 '{}.new.dat'.format(self.path)]
3286 print("Compressing {}.new.dat with brotli".format(self.partition))
3289 new_data_name = '{}.new.dat.br'.format(self.partition)
3291 '{}.new.dat.br'.format(self.path),
3295 new_data_name = '{}.new.dat'.format(self.partition)
3296 ZipWrite(output_zip, '{}.new.dat'.format(self.path), new_data_name)
3299 '{}.patch.dat'.format(self.path),
3300 '{}.patch.dat'.format(self.partition),
3311 ' abort("E{code}: Failed to update {partition} image.");'.format(
3625 "Duplicated BlockDifference object for {}".format(
3650 "object is provided.".format(p, g)
3658 "object is provided.".format(p, g)
3666 "Target Dynamic partitions: {}, BlockDifference with target: {}".format(
3674 "Source Dynamic partitions: {}, BlockDifference with source: {}".format(
3707 f.write('{}\n'.format(line))
3902 assert image_blocks > 0, "blocks for {} must be positive".format(which)
3909 rangelib.RangeSet("0-{}".format(image_blocks)))
3914 care_map_ranges = rangelib.RangeSet("0-{}".format(image_blocks))
3937 verity_block_device = "{}_verity_block_device".format(partition)
3938 avb_hashtree_enable = "avb_{}_hashtree_enable".format(partition)
3947 raise ExternalError('Expected image at path {}'.format(image_path))
3957 prop_name_list = ["ro.{}.build.fingerprint".format(partition),
3958 "ro.{}.build.thumbprint".format(partition)]