Searched refs:computeHashOfFile (Results 1 – 4 of 4) sorted by relevance
392 Arrays.equals(sha256, mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE))); in testComputeHashOfFile()401 assertNull(mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE)); in testComputeHashOfFile_NotPresent()
184 packageSha256Hash = mUtils.computeHashOfFile(downloadLocation, Utils.SHA256_TYPE); in doesPackageHashMatch()
130 when(mUtils.computeHashOfFile(TEST_LOCAL_FILENAME, Utils.SHA256_TYPE)) in testPackageChecksumSha256_success()
634 public byte[] computeHashOfFile(String fileLocation, String hashType) { in computeHashOfFile() method