Home
last modified time | relevance | path

Searched refs:arcname (Results 1 – 10 of 10) sorted by relevance

/build/make/tools/releasetools/
Dtest_common.py355 def _verify(self, zip_file, zip_file_name, arcname, expected_hash, argument
368 info = zip_file.getinfo(arcname)
379 entry = zip_file.open(arcname)
396 arcname = extra_zipwrite_args.get("arcname", test_file_name)
397 if arcname[0] == "/":
398 arcname = arcname[1:]
419 self._verify(zip_file, zip_file_name, arcname, sha1_hash.hexdigest(),
441 arcname = zinfo_or_arcname
444 arcname = zinfo_or_arcname.filename
454 self._verify(zip_file, zip_file_name, arcname, sha1(contents).hexdigest(),
[all …]
Dapex_utils.py340 common.ZipWrite(apex_zip, payload_file, arcname=APEX_PAYLOAD_IMAGE)
341 common.ZipWrite(apex_zip, payload_public_key, arcname=APEX_PUBKEY)
Dota_from_target_files.py481 common.ZipWrite(output_zip, self.payload_file, arcname=payload_arcname,
484 arcname=payload_properties_arcname,
529 arcname=recovery_two_step_img_name)
1689 common.ZipWrite(target_zip, unzipped_file, arcname='IMAGES/system.img')
1701 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1722 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1828 common.ZipWrite(target_zip, unzipped_file, arcname=dst)
1831 common.ZipWrite(target_zip, new_ab_partitions, arcname=AB_PARTITIONS)
Dota_from_target_files481 common.ZipWrite(output_zip, self.payload_file, arcname=payload_arcname,
484 arcname=payload_properties_arcname,
529 arcname=recovery_two_step_img_name)
1689 common.ZipWrite(target_zip, unzipped_file, arcname='IMAGES/system.img')
1701 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1722 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1828 common.ZipWrite(target_zip, unzipped_file, arcname=dst)
1831 common.ZipWrite(target_zip, new_ab_partitions, arcname=AB_PARTITIONS)
Dtest_validate_target_files.py278 input_zip.write(os.path.join(input_tmp, name), arcname=name)
327 input_zip.write(os.path.join(input_tmp, name), arcname=name)
Dcommon.py1658 arcname = entry.replace(which, which.upper(), 1).lstrip('/')
1662 if which == 'system' and not arcname.startswith('SYSTEM'):
1663 arcname = 'ROOT/' + arcname
1665 assert arcname in input_zip.namelist(), \
1668 info = input_zip.getinfo(arcname)
2225 def ZipWrite(zip_file, filename, arcname=None, perms=0o644, argument
2243 if arcname is None:
2244 arcname = filename
2262 zip_file.write(filename, arcname=arcname, compress_type=compress_type)
Dadd_img_to_target_files634 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path)
707 common.ZipWrite(output_zip, file_path, arcname=item)
Dadd_img_to_target_files.py634 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path)
707 common.ZipWrite(output_zip, file_path, arcname=item)
Dsign_target_files_apks886 common.ZipWrite(output_zip, key_path, arcname=filename)
Dsign_target_files_apks.py886 common.ZipWrite(output_zip, key_path, arcname=filename)