Home
last modified time | relevance | path

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

/external/autotest/client/tools/
Dcd_hash.py41 logging.info("md5 (1m): %s", utils.hash_file(filename, 1024*1024,
43 logging.info("sha1 (1m): %s", utils.hash_file(filename, 1024*1024,
45 logging.info("md5 (full): %s", utils.hash_file(filename, method="md5"))
46 logging.info("sha1 (full): %s", utils.hash_file(filename,
/external/autotest/client/cros/
Dverity_utils.py105 if self.hash_file is not None:
106 os.remove(self.hash_file)
107 self.hash_file = None
114 self.hash_file = None
147 self.hash_file))
155 f.write(utils.read_file(self.hash_file))
191 self.hash_file = os.tempnam(tmpdir, '%s.hash.' % self.target_name)
/external/autotest/client/tests/kvm/tests/
Dvmstop.py68 md5_save1 = utils.hash_file(save1)
69 md5_save2 = utils.hash_file(save2)
Dmigration_with_file_transfer.py72 orig_hash = client_utils.hash_file(host_path)
73 returned_hash = client_utils.hash_file(host_path_returned)
/external/autotest/client/virt/tests/
Dfile_transfer.py70 if (utils.hash_file(host_path, method="md5") !=
71 utils.hash_file(host_path2, method="md5")):
Dethtool.py80 host_result = utils.hash_file(name, method="md5")
/external/autotest/client/site_tests/platform_DMVerityCorruption/
Dplatform_DMVerityCorruption.py39 hash_blocks = (os.path.getsize(self.verity.hash_file) /
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/
Dplatform_DMVerityBitCorruption.py59 hash_blocks = (os.path.getsize(self.verity.hash_file) /
/external/autotest/client/virt/
Dvirt_test_utils.py250 md5_save1 = utils.hash_file(save1)
251 md5_save2 = utils.hash_file(save2)
458 local_hash = utils.hash_file(local_path)
Dkvm_vm.py646 actual_hash = utils.hash_file(iso, 1048576, method="md5")
652 actual_hash = utils.hash_file(iso, method="md5")
658 actual_hash = utils.hash_file(iso, method="sha1")
1263 md5_save1 = utils.hash_file(save1)
1264 md5_save2 = utils.hash_file(save2)
Dvirt_env_process.py447 hash = utils.hash_file(temp_filename)
Dvirt_utils.py1195 hash_file = open(hash_path, 'r')
1196 for line in hash_file.readlines():
/external/autotest/client/bin/
Dbase_utils.py101 def hash_file(filename, size=None, method="md5"): function
167 file_hash = hash_file(file_local_path, method)