Home
last modified time | relevance | path

Searched refs:target_files_zip (Results 1 – 5 of 5) sorted by relevance

/build/make/tools/releasetools/
Dtest_sign_target_files_apks.py469 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
470 target_files_zip.writestr('META/apexkeys.txt', self.APEX_KEYS_TXT)
472 with zipfile.ZipFile(target_files, allowZip64=True) as target_files_zip:
473 keys_info = ReadApexKeysInfo(target_files_zip)
494 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
495 target_files_zip.writestr('META/apexkeys.txt', apex_keys)
497 with zipfile.ZipFile(target_files, allowZip64=True) as target_files_zip:
498 self.assertRaises(ValueError, ReadApexKeysInfo, target_files_zip)
508 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
509 target_files_zip.writestr('META/apexkeys.txt', apex_keys)
[all …]
Dtest_common.py881 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
882 target_files_zip.writestr('META/apkcerts.txt', apkcerts_txt)
884 target_files_zip.writestr(entry, '')
1020 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1021 target_files_zip.write(
1027 target_files_zip.writestr('IMAGES/system.map', '')
1028 target_files_zip.writestr('SYSTEM/file1', os.urandom(4096 * 8))
1029 target_files_zip.writestr('SYSTEM/file2', os.urandom(4096 * 3))
1102 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1103 target_files_zip.write(
[all …]
Dcheck_target_files_vintf.py259 def HasPartition(target_files_zip, partition): argument
261 target_files_zip.getinfo(partition.upper() + "/")
Dtest_ota_from_target_files.py43 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
45 target_files_zip.writestr(
50 target_files_zip.writestr(
67 target_files_zip.writestr(
73 target_files_zip.writestr(
79 target_files_zip.writestr('IMAGES/system_other.img',
85 target_files_zip.write(apex_file, 'SYSTEM/apex/' + apex_file_name)
Dnon_ab_ota.py672 def HasRecoveryPatch(target_files_zip, info_dict): argument
683 namelist = target_files_zip.namelist()