Searched refs:expectedKey (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1115 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals() local 1128 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals() 1131 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, PrivateKey expectedKey, in assertPrivateKeyEntryEquals() argument 1136 if (expectedKey instanceof ECKey) { in assertPrivateKeyEntryEquals() 1140 ((ECKey) expectedKey).getParams().getCurve(), in assertPrivateKeyEntryEquals() 1142 } else if (expectedKey instanceof RSAKey) { in assertPrivateKeyEntryEquals() 1146 ((RSAKey) expectedKey).getModulus(), in assertPrivateKeyEntryEquals() 1199 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local 1202 ((RSAKey) expectedKey).getModulus(), actualKey.getModulus()); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() 1329 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local [all …]
|
D | KeyStoreTest.java | 1685 Key expectedKey = expected.getKey(alias, PASSWORD_KEY); in assertEqualsKeyStores() local 1687 expectedKey instanceof RSAPrivateKey) { in assertEqualsKeyStores() 1689 ((RSAPrivateKey)expectedKey).getModulus()); in assertEqualsKeyStores() 1691 assertEquals(actualKey, expectedKey); in assertEqualsKeyStores()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallDetailsTest.java | 900 private void assertCallExtras(final Call call, final String expectedKey) { in assertCallExtras() argument 905 return expectedKey; in assertCallExtras() 910 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtras() 915 "Call should have extras key " + expectedKey in assertCallExtras()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 1368 String expectedKey, String expectedValue) { in assertAuthenticationClientState() argument 1370 final String extraValue = data.getString(expectedKey); in assertAuthenticationClientState() 1371 assertWithMessage("invalid value for %s on %s", expectedKey, where) in assertAuthenticationClientState()
|