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.py356 def _verify(self, zip_file, zip_file_name, arcname, expected_hash, argument
366 zip_file = zipfile.ZipFile(zip_file_name, "r")
394 zip_file_name = zip_file.name
402 zip_file = zipfile.ZipFile(zip_file_name, "w")
420 self._verify(zip_file, zip_file_name, arcname, sha1_hash.hexdigest(),
425 os.remove(zip_file_name)
431 zip_file_name = zip_file.name
434 zip_file = zipfile.ZipFile(zip_file_name, "w")
455 self._verify(zip_file, zip_file_name, arcname, sha1(contents).hexdigest(),
459 os.remove(zip_file_name)
[all …]