Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyPackageTaskTest.java141 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_success()
155 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_failure()
182 when(mUtils.computeHashOfByteArray(any(byte[].class))).thenReturn(null); in testSignatureHash_digestFailure()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DVerifyPackageTask.java142 byte[] hash = mUtils.computeHashOfByteArray(signature.toByteArray()); in computeHashesOfAllSignatures()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java352 assertTrue(Arrays.equals(sha256, mUtils.computeHashOfByteArray(bytes))); in testComputeHashOfByteArray()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java731 public byte[] computeHashOfByteArray(byte[] bytes) { in computeHashOfByteArray() method