Home
last modified time | relevance | path

Searched refs:payload_file (Results 1 – 6 of 6) sorted by relevance

/build/make/tools/releasetools/
Dtest_apex_utils.py43 payload_file = common.MakeTempFile(prefix='apex-', suffix='.img')
44 with open(payload_file, 'wb') as payload_fp:
46 return payload_file
50 payload_file = self._GetTestPayload()
52 'avbtool', payload_file, self.payload_key, 'testkey', 'SHA256_RSA2048',
54 payload_info = apex_utils.ParseApexPayloadInfo('avbtool', payload_file)
63 payload_file = self._GetTestPayload()
65 'avbtool', payload_file, self.payload_key, 'testkey', 'SHA256_RSA2048',
68 'avbtool', payload_file, self.payload_key, True)
72 payload_file = self._GetTestPayload()
[all …]
Dapex_utils.py171 def SignApexPayload(avbtool, payload_file, payload_key_path, payload_key_name, argument
180 '--image', payload_file,
193 payload_file, payload_key_path, e))
196 logger.info('Verifying %s', payload_file)
197 VerifyApexPayload(avbtool, payload_file, payload_key_path, no_hashtree)
200 def VerifyApexPayload(avbtool, payload_file, payload_key, no_hashtree=False): argument
202 cmd = [avbtool, 'verify_image', '--image', payload_file,
211 payload_file, payload_key, e))
319 payload_file = apex_fd.extract(APEX_PAYLOAD_IMAGE, payload_dir)
322 payload_info = ParseApexPayloadInfo(avbtool, payload_file)
[all …]
Dcheck_ota_package_signature.py158 payload_file = package_zip.extract('payload.bin', package_dir)
160 '--in_file=' + payload_file,
Dota_from_target_files370 self.payload_file = None
396 payload_file = common.MakeTempFile(prefix="payload-", suffix=".bin")
398 "--payload", payload_file,
407 self.payload_file = payload_file
425 "--unsigned_payload", self.payload_file,
439 "--unsigned_payload", self.payload_file,
462 self.payload_file = signed_payload_file
471 assert self.payload_file is not None
484 common.ZipWrite(output_zip, self.payload_file, arcname=payload_arcname,
Dota_from_target_files.py370 self.payload_file = None
396 payload_file = common.MakeTempFile(prefix="payload-", suffix=".bin")
398 "--payload", payload_file,
407 self.payload_file = payload_file
425 "--unsigned_payload", self.payload_file,
439 "--unsigned_payload", self.payload_file,
462 self.payload_file = signed_payload_file
471 assert self.payload_file is not None
484 common.ZipWrite(output_zip, self.payload_file, arcname=payload_arcname,
Dtest_ota_from_target_files.py920 '--unsigned_payload', payload.payload_file,
1184 self.assertTrue(os.path.exists(payload.payload_file))
1189 self.assertTrue(os.path.exists(payload.payload_file))
1200 self.assertTrue(os.path.exists(payload.payload_file))