Searched refs:arcname (Results 1 – 10 of 10) sorted by relevance
/build/make/tools/releasetools/ |
D | test_common.py | 355 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 …]
|
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.py | 481 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)
|
D | ota_from_target_files | 481 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)
|
D | test_validate_target_files.py | 278 input_zip.write(os.path.join(input_tmp, name), arcname=name) 327 input_zip.write(os.path.join(input_tmp, name), arcname=name)
|
D | common.py | 1658 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)
|
D | add_img_to_target_files | 634 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path) 707 common.ZipWrite(output_zip, file_path, arcname=item)
|
D | add_img_to_target_files.py | 634 common.ZipWrite(output_zip, temp_care_map, arcname=care_map_path) 707 common.ZipWrite(output_zip, file_path, arcname=item)
|
D | sign_target_files_apks | 886 common.ZipWrite(output_zip, key_path, arcname=filename)
|
D | sign_target_files_apks.py | 886 common.ZipWrite(output_zip, key_path, arcname=filename)
|