Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyPackageTaskTest.java136 when(mUtils.computeHashOfFile(TEST_LOCAL_FILENAME, Utils.SHA1_TYPE)) in testPackageChecksumSha1_success()
150 when(mUtils.computeHashOfFile(TEST_LOCAL_FILENAME, Utils.SHA1_TYPE)) in testPackageChecksumSha1_failure()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java359 assertTrue(Arrays.equals(sha1, mUtils.computeHashOfFile(fileLocation, Utils.SHA1_TYPE))); in testComputeHashOfFile()
369 assertNull(mUtils.computeHashOfFile(fileLocation, Utils.SHA1_TYPE)); in testComputeHashOfFile_NotPresent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DVerifyPackageTask.java188 packageSha1Hash = mUtils.computeHashOfFile(downloadLocation, Utils.SHA1_TYPE); in doesPackageHashMatch()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java78 public static final String SHA1_TYPE = "SHA-1"; field in Utils