Searched refs:arcname (Results 1 – 10 of 10) sorted by relevance
/build/make/tools/releasetools/ |
D | test_common.py | 356 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 …]
|
D | apex_utils.py | 340 common.ZipWrite(apex_zip, payload_file, arcname=APEX_PAYLOAD_IMAGE) 341 common.ZipWrite(apex_zip, payload_public_key, arcname=APEX_PUBKEY)
|
D | ota_from_target_files | 484 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)
|
D | ota_from_target_files.py | 484 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)
|
D | test_validate_target_files.py | 277 input_zip.write(os.path.join(input_tmp, name), arcname=name) 326 input_zip.write(os.path.join(input_tmp, name), arcname=name)
|
D | common.py | 1723 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)
|
D | add_img_to_target_files.py | 665 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path) 738 common.ZipWrite(output_zip, file_path, arcname=item)
|
D | add_img_to_target_files | 665 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path) 738 common.ZipWrite(output_zip, file_path, arcname=item)
|
D | sign_target_files_apks.py | 886 common.ZipWrite(output_zip, key_path, arcname=filename)
|
D | sign_target_files_apks | 886 common.ZipWrite(output_zip, key_path, arcname=filename)
|