Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1164 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals() local
1177 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1180 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, PrivateKey expectedKey, in assertPrivateKeyEntryEquals() argument
1185 if (expectedKey instanceof ECKey) { in assertPrivateKeyEntryEquals()
1189 ((ECKey) expectedKey).getParams().getCurve(), in assertPrivateKeyEntryEquals()
1191 } else if (expectedKey instanceof RSAKey) { in assertPrivateKeyEntryEquals()
1195 ((RSAKey) expectedKey).getModulus(), in assertPrivateKeyEntryEquals()
1250 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local
1253 ((RSAKey) expectedKey).getModulus(), actualKey.getModulus()); in testKeyStore_GetKey_NoPassword_Unencrypted_Success()
1394 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local
[all …]
DKeyStoreTest.java1738 Key expectedKey = expected.getKey(alias, PASSWORD_KEY); in assertEqualsKeyStores() local
1740 expectedKey instanceof RSAPrivateKey) { in assertEqualsKeyStores()
1742 ((RSAPrivateKey)expectedKey).getModulus()); in assertEqualsKeyStores()
1744 assertEquals(actualKey, expectedKey); in assertEqualsKeyStores()
/cts/tests/tests/telecom/src/android/telecom/cts/
DIncomingCallTest.java532 public void assertCallExtrasKey(final Call call, final String expectedKey) { in assertCallExtrasKey() argument
537 return expectedKey; in assertCallExtrasKey()
542 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtrasKey()
547 "Call should have extras key " + expectedKey in assertCallExtrasKey()
DCallDetailsTest.java1090 private void assertCallExtras(final Call call, final String expectedKey) { in assertCallExtras() argument
1095 return expectedKey; in assertCallExtras()
1100 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtras()
1105 "Call should have extras key " + expectedKey in assertCallExtras()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java1461 String expectedKey, String expectedValue) { in assertAuthenticationClientState() argument
1463 final String extraValue = data.getString(expectedKey); in assertAuthenticationClientState()
1464 assertWithMessage("invalid value for %s on %s", expectedKey, where) in assertAuthenticationClientState()