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