Lines Matching refs:format
64 'executable -- build and run `{}` directly.'.format(
275 "Failed to run command '{}' (exit code {})".format(
305 "Failed to run command '{}' (exit code {}):\n{}".format(
400 "3.2.2. Build Parameters.".format(fingerprint))
450 prop_file = '{}.build.prop'.format(
462 prop = prop.replace("ro.product", "ro.product.{}".format(partition))
464 prop = prop.replace("ro.", "ro.{}.".format(partition))
500 "Invalid ro.product.property_source_order '{}'".format(source_order))
504 "ro.product", "ro.product.{}".format(source_partition), 1)
509 raise ExternalError("couldn't resolve {}".format(prop))
542 return "{}/{}/{}:{}/{}/{}:{}/{}".format(
558 return "{}/{}/{}:{}/{}/{}:{}/{}".format(
719 partition_prop = "{}.build.prop".format(partition)
731 d["avb_{}_salt".format(partition)] = sha256(fingerprint.encode()).hexdigest()
781 self.props_allow_override = [props.format(name) for props in [
801 for prop_file in ['{}/etc/build.prop'.format(name.upper()),
802 '{}/build.prop'.format(name.upper())]:
822 raise ValueError('prop {} is overridden multiple times'.format(
830 'statement'.format(name))
838 raise ValueError('Unrecognized import statement {}'.format(line))
845 if not re.match(r'^/{}/.*\.prop$'.format(self.partition), import_path):
846 raise ValueError('Unrecognized import path {}'.format(line))
854 prop_place_holder = '${{{}}}'.format(prop)
861 import_path = import_path.replace('/{}'.format(self.partition),
1109 return "{}:{}:{}".format(partition, rollback_index_location, pubkey_path)
1184 'Unknown partition: {}'.format(partition)
1186 'Failed to find {} for {}'.format(path, partition)
1189 args = OPTIONS.info_dict.get("avb_{}_args".format(name))
1210 assert found, 'Failed to find {}'.format(chained_image)
1731 "Failed to find the ZIP entry for {}".format(entry)
1818 "Failed to obtain minSdkVersion: aapt2 return code {}:\n{}\n{}".format(
1852 "Unknown minSdkVersion: '{}'. Known codenames: {}".format(
1910 "Failed to run signapk.jar: return code {}:\n{}".format(
2036 "Multiple compressed extensions: {} vs {}".format(
2825 'endif;').format(device=self.device, ranges=ranges_str,
2887 '{}.transfer.list'.format(self.path),
2888 '{}.transfer.list'.format(self.partition))
2900 '--output={}.new.dat.br'.format(self.path),
2901 '{}.new.dat'.format(self.path)]
2902 print("Compressing {}.new.dat with brotli".format(self.partition))
2905 new_data_name = '{}.new.dat.br'.format(self.partition)
2907 '{}.new.dat.br'.format(self.path),
2911 new_data_name = '{}.new.dat'.format(self.partition)
2912 ZipWrite(output_zip, '{}.new.dat'.format(self.path), new_data_name)
2915 '{}.patch.dat'.format(self.path),
2916 '{}.patch.dat'.format(self.partition),
2927 ' abort("E{code}: Failed to update {partition} image.");'.format(
3241 "Duplicated BlockDifference object for {}".format(
3266 "object is provided.".format(p, g)
3274 "object is provided.".format(p, g)
3282 "Target Dynamic partitions: {}, BlockDifference with target: {}".format(
3290 "Source Dynamic partitions: {}, BlockDifference with source: {}".format(
3323 f.write('{}\n'.format(line))