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') as target_files_zip:
470 target_files_zip.writestr('META/apexkeys.txt', self.APEX_KEYS_TXT)
472 with zipfile.ZipFile(target_files) as target_files_zip:
473 keys_info = ReadApexKeysInfo(target_files_zip)
494 with zipfile.ZipFile(target_files, 'w') as target_files_zip:
495 target_files_zip.writestr('META/apexkeys.txt', apex_keys)
497 with zipfile.ZipFile(target_files) as target_files_zip:
498 self.assertRaises(ValueError, ReadApexKeysInfo, target_files_zip)
508 with zipfile.ZipFile(target_files, 'w') as target_files_zip:
509 target_files_zip.writestr('META/apexkeys.txt', apex_keys)
[all …]
Dtest_common.py837 with zipfile.ZipFile(target_files, 'w') as target_files_zip:
838 target_files_zip.writestr('META/apkcerts.txt', apkcerts_txt)
840 target_files_zip.writestr(entry, '')
976 with zipfile.ZipFile(target_files, 'w') as target_files_zip:
977 target_files_zip.write(
983 target_files_zip.writestr('IMAGES/system.map', '')
984 target_files_zip.writestr('SYSTEM/file1', os.urandom(4096 * 8))
985 target_files_zip.writestr('SYSTEM/file2', os.urandom(4096 * 3))
1009 with zipfile.ZipFile(target_files, 'w') as target_files_zip:
1010 target_files_zip.write(
[all …]
Dtest_ota_from_target_files.py36 with zipfile.ZipFile(target_files, 'w') as target_files_zip:
38 target_files_zip.writestr(
43 target_files_zip.writestr(
60 target_files_zip.writestr(
66 target_files_zip.writestr(
72 target_files_zip.writestr('IMAGES/system_other.img',
Dota_from_target_files542 def HasRecoveryPatch(target_files_zip, info_dict): argument
553 namelist = target_files_zip.namelist()
557 def HasPartition(target_files_zip, partition): argument
559 target_files_zip.getinfo(partition.upper() + "/")
Dota_from_target_files.py542 def HasRecoveryPatch(target_files_zip, info_dict): argument
553 namelist = target_files_zip.namelist()
557 def HasPartition(target_files_zip, partition): argument
559 target_files_zip.getinfo(partition.upper() + "/")