Home
last modified time | relevance | path

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

/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java140 private KeyStoreSpi mKeyStoreSpi; field in AliasLoaderTest
172 mKeyStoreSpi = mock(KeyStoreSpi.class); in setUp()
173 mKeyStore = new KeyStore(mKeyStoreSpi, null, "test") {}; in setUp()
205 when(mKeyStoreSpi.engineAliases()).thenReturn(Collections.enumeration(ImmutableList.of())); in testAliasLoader_copesWithNoAliases()
276 when(mKeyStoreSpi.engineAliases()).thenReturn(Collections.enumeration(aliases)); in prepareKeyStoreWithAliases()
278 when(mKeyStoreSpi.engineIsKeyEntry(aliases.get(i))).thenReturn(true); in prepareKeyStoreWithAliases()
283 when(mKeyStoreSpi.engineGetCertificate("rsa1")).thenReturn(toCertificate(mRSACertOne)); in prepareKeyStoreWithCertificates()
284 when(mKeyStoreSpi.engineGetCertificate("ec1")).thenReturn(toCertificate(mECCertOne)); in prepareKeyStoreWithCertificates()
285 when(mKeyStoreSpi.engineGetCertificate("rsa2")).thenReturn(toCertificate(mRSACertTwo)); in prepareKeyStoreWithCertificates()
286 when(mKeyStoreSpi.engineGetCertificate("ec2")).thenReturn(toCertificate(mECCertTwo)); in prepareKeyStoreWithCertificates()
[all …]