Home
last modified time | relevance | path

Searched refs:computeHashOfFile (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java393 Arrays.equals(sha256, mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE))); in testComputeHashOfFile()
402 assertNull(mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE)); in testComputeHashOfFile_NotPresent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DVerifyPackageTask.java185 packageSha256Hash = mUtils.computeHashOfFile(downloadLocation, Utils.SHA256_TYPE); in doesPackageHashMatch()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyPackageTaskTest.java127 when(mUtils.computeHashOfFile(TEST_LOCAL_FILENAME, Utils.SHA256_TYPE)) in testPackageChecksumSha256_success()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java765 public byte[] computeHashOfFile(String fileLocation, String hashType) { in computeHashOfFile() method