/external/autotest/client/tools/ |
cd_hash.py | 41 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/ |
verity_utils.py | 83 for attr in ['mountpoint', 'device', 'loop', 'file', 'hash_file']: 105 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/site_tests/platform_DMVerityCorruption/ |
platform_DMVerityCorruption.py | 39 hash_blocks = (os.path.getsize(self.verity.hash_file) /
|
/external/autotest/client/tests/kvm/tests/ |
migration_with_file_transfer.py | 72 orig_hash = client_utils.hash_file(host_path) 73 returned_hash = client_utils.hash_file(host_path_returned)
|
vmstop.py | 68 md5_save1 = utils.hash_file(save1) 69 md5_save2 = utils.hash_file(save2)
|
/external/autotest/client/virt/tests/ |
file_transfer.py | 70 if (utils.hash_file(host_path, method="md5") != 71 utils.hash_file(host_path2, method="md5")):
|
ethtool.py | 80 host_result = utils.hash_file(name, method="md5")
|
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/ |
platform_DMVerityBitCorruption.py | 59 hash_blocks = (os.path.getsize(self.verity.hash_file) /
|
/system/update_engine/payload_consumer/ |
delta_performer_integration_test.cc | 230 string hash_file; local 231 ASSERT_TRUE(utils::MakeTempFile("hash.XXXXXX", &hash_file, nullptr)); 232 ScopedPathUnlinker hash_unlinker(hash_file); 246 hash_file.c_str()))); 250 ASSERT_TRUE(utils::ReadFile(hash_file, &hash)); 252 ASSERT_TRUE(test_utils::WriteFileVector(hash_file, hash)); 261 hash_file.c_str(), 272 hash_file.c_str(), [all...] |
/external/autotest/client/virt/ |
virt_test_utils.py | 250 md5_save1 = utils.hash_file(save1) 251 md5_save2 = utils.hash_file(save2) 458 local_hash = utils.hash_file(local_path)
|
kvm_vm.py | 646 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") [all...] |
virt_env_process.py | 447 hash = utils.hash_file(temp_filename)
|
virt_utils.py | [all...] |
/external/autotest/client/bin/ |
base_utils.py | 101 def hash_file(filename, size=None, method="md5"): function 167 file_hash = hash_file(file_local_path, method)
|