HomeSort by relevance Sort by last modified time
    Searched refs:input_zip (Results 1 - 12 of 12) sorted by null

  /device/google/cuttlefish/shared/
releasetools.py 31 def GetUserImages(input_tmp, input_zip):
32 return {partition: GetUserImage(partition, input_tmp, input_zip)
39 images = GetUserImages(info.input_tmp, info.input_zip)
  /build/make/tools/releasetools/
test_sign_target_files_apks.py 127 with zipfile.ZipFile(input_file, 'w') as input_zip:
128 input_zip.writestr('BOOT/cmdline', BOOT_CMDLINE1)
134 with zipfile.ZipFile(input_file, 'r') as input_zip, \
136 ReplaceVerityKeyId(input_zip, output_zip, cert_file)
144 with zipfile.ZipFile(input_file, 'r') as input_zip, \
146 ReplaceVerityKeyId(input_zip, output_zip, cert_file)
158 with zipfile.ZipFile(input_file, 'w') as input_zip:
159 input_zip.writestr('BOOT/cmdline', BOOT_CMDLINE)
162 with zipfile.ZipFile(input_file, 'r') as input_zip, \
164 ReplaceVerityKeyId(input_zip, output_zip, None
    [all...]
sign_apex.py 79 input_zip = args[0]
81 with open(input_zip) as input_fp:
ota_from_target_files     [all...]
ota_from_target_files.py     [all...]
test_validate_target_files.py 207 with zipfile.ZipFile(input_file, 'w') as input_zip:
209 input_zip.write(os.path.join(input_tmp, name), arcname=name)
211 input_zip = zipfile.ZipFile(input_file, 'r')
216 ValidateFileConsistency(input_zip, input_tmp, info_dict)
test_common.py 508 with zipfile.ZipFile(target_files, 'r') as input_zip:
509 certmap, ext = common.ReadApkCerts(input_zip)
521 with zipfile.ZipFile(target_files, 'r') as input_zip:
522 certmap, ext = common.ReadApkCerts(input_zip)
531 with zipfile.ZipFile(target_files, 'r') as input_zip:
532 certmap, ext = common.ReadApkCerts(input_zip)
542 with zipfile.ZipFile(target_files, 'r') as input_zip:
543 certmap, ext = common.ReadApkCerts(input_zip)
555 with zipfile.ZipFile(target_files, 'r') as input_zip:
556 self.assertRaises(ValueError, common.ReadApkCerts, input_zip)
    [all...]
validate_target_files.py 68 def ValidateFileConsistency(input_zip, input_tmp, info_dict):
76 image = common.GetSparseImage(which, input_tmp, input_zip, True)
127 if 'VENDOR/' in input_zip.namelist():
383 with zipfile.ZipFile(args.target_files, 'r') as input_zip:
384 ValidateFileConsistency(input_zip, input_tmp, info_dict)
sign_target_files_apks 822 def ReplaceVerityKeyId(input_zip, output_zip, key_path):
826 input_zip: The input target_files zip, which should be already open.
831 in_cmdline = input_zip.read("BOOT/cmdline")
857 def ReplaceMiscInfoTxt(input_zip, output_zip, misc_info):
864 input_zip.read('META/misc_info.txt').split('\n'))
    [all...]
sign_target_files_apks.py 822 def ReplaceVerityKeyId(input_zip, output_zip, key_path):
826 input_zip: The input target_files zip, which should be already open.
831 in_cmdline = input_zip.read("BOOT/cmdline")
857 def ReplaceMiscInfoTxt(input_zip, output_zip, misc_info):
864 input_zip.read('META/misc_info.txt').split('\n'))
    [all...]
common.py 794 with zipfile.ZipFile(filename) as input_zip:
795 names = input_zip.namelist()
833 def GetUserImage(which, tmpdir, input_zip,
849 input_zip: The target-files ZIP archive.
862 info_dict = LoadInfoDict(input_zip)
874 img = GetSparseImage(which, tmpdir, input_zip, allow_shared_blocks,
904 def GetSparseImage(which, tmpdir, input_zip, allow_shared_blocks,
916 input_zip: The target-files ZIP archive.
    [all...]
test_ota_from_target_files.py     [all...]

Completed in 334 milliseconds