Home
last modified time | relevance | path

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

/build/make/tools/releasetools/
Dtest_common.py356 def _verify(self, zip_file, zip_file_name, arcname, expected_hash, argument
369 info = zip_file.getinfo(arcname)
380 entry = zip_file.open(arcname)
397 arcname = extra_zipwrite_args.get("arcname", test_file_name)
398 if arcname[0] == "/":
399 arcname = arcname[1:]
420 self._verify(zip_file, zip_file_name, arcname, sha1_hash.hexdigest(),
442 arcname = zinfo_or_arcname
445 arcname = zinfo_or_arcname.filename
455 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_files484 common.ZipWrite(output_zip, self.payload_file, arcname=payload_arcname,
487 arcname=payload_properties_arcname,
532 arcname=recovery_two_step_img_name)
1693 common.ZipWrite(target_zip, unzipped_file, arcname='IMAGES/system.img')
1705 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1727 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1834 common.ZipWrite(target_zip, unzipped_file, arcname=dst)
1837 common.ZipWrite(target_zip, new_ab_partitions, arcname=AB_PARTITIONS)
Dota_from_target_files.py484 common.ZipWrite(output_zip, self.payload_file, arcname=payload_arcname,
487 arcname=payload_properties_arcname,
532 arcname=recovery_two_step_img_name)
1693 common.ZipWrite(target_zip, unzipped_file, arcname='IMAGES/system.img')
1705 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1727 common.ZipWrite(target_zip, unzipped_file, arcname=info.filename)
1834 common.ZipWrite(target_zip, unzipped_file, arcname=dst)
1837 common.ZipWrite(target_zip, new_ab_partitions, arcname=AB_PARTITIONS)
Dtest_validate_target_files.py277 input_zip.write(os.path.join(input_tmp, name), arcname=name)
326 input_zip.write(os.path.join(input_tmp, name), arcname=name)
Dcommon.py1723 arcname = entry.replace(which, which.upper(), 1).lstrip('/')
1727 if which == 'system' and not arcname.startswith('SYSTEM'):
1728 arcname = 'ROOT/' + arcname
1730 assert arcname in input_zip.namelist(), \
1733 info = input_zip.getinfo(arcname)
2293 def ZipWrite(zip_file, filename, arcname=None, perms=0o644, argument
2310 if arcname is None:
2311 arcname = filename
2329 zip_file.write(filename, arcname=arcname, compress_type=compress_type)
Dadd_img_to_target_files.py665 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path)
738 common.ZipWrite(output_zip, file_path, arcname=item)
Dadd_img_to_target_files665 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path)
738 common.ZipWrite(output_zip, file_path, arcname=item)
Dsign_target_files_apks.py886 common.ZipWrite(output_zip, key_path, arcname=filename)
Dsign_target_files_apks886 common.ZipWrite(output_zip, key_path, arcname=filename)