Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1101 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals() local
1114 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1117 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, PrivateKey expectedKey, in assertPrivateKeyEntryEquals() argument
1122 if (expectedKey instanceof ECKey) { in assertPrivateKeyEntryEquals()
1126 ((ECKey) expectedKey).getParams().getCurve(), in assertPrivateKeyEntryEquals()
1128 } else if (expectedKey instanceof RSAKey) { in assertPrivateKeyEntryEquals()
1132 ((RSAKey) expectedKey).getModulus(), in assertPrivateKeyEntryEquals()
1185 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local
1188 ((RSAKey) expectedKey).getModulus(), actualKey.getModulus()); in testKeyStore_GetKey_NoPassword_Unencrypted_Success()
1315 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java423 private void assertCallExtras(final Call call, final String expectedKey) { in assertCallExtras() argument
428 return expectedKey; in assertCallExtras()
433 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtras()
438 "Call should have extras key " + expectedKey in assertCallExtras()