Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyRoleHolderPackageTaskTest.java129 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_success()
143 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_failure()
170 when(mUtils.computeHashOfByteArray(any(byte[].class))).thenReturn(null); in testSignatureHash_digestFailure()
DVerifyAdminPackageTaskTest.java149 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_success()
163 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_failure()
190 when(mUtils.computeHashOfByteArray(any(byte[].class))).thenReturn(null); in testSignatureHash_digestFailure()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DChecksumUtils.java105 byte[] hash = mUtils.computeHashOfByteArray(signature.toByteArray()); in computeHashesOfAllSignatures()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java373 assertTrue(Arrays.equals(sha256, mUtils.computeHashOfByteArray(bytes))); in testComputeHashOfByteArray()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java661 public byte[] computeHashOfByteArray(byte[] bytes) { in computeHashOfByteArray() method in Utils