Home
last modified time | relevance | path

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

/build/make/tools/releasetools/
Dtest_common.py400 def _verify(self, zip_file, zip_file_name, arcname, expected_hash, argument
410 zip_file = zipfile.ZipFile(zip_file_name, "r", allowZip64=True)
438 zip_file_name = zip_file.name
446 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
464 self._verify(zip_file, zip_file_name, arcname, sha1_hash.hexdigest(),
469 os.remove(zip_file_name)
475 zip_file_name = zip_file.name
478 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
499 self._verify(zip_file, zip_file_name, arcname, sha1(contents).hexdigest(),
503 os.remove(zip_file_name)
[all …]