Home
last modified time | relevance | path

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

/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java145 when(mDummyChecker.shouldPresentCertificate(Mockito.anyString())).thenReturn(true); in setUp()
234 when(checker.shouldPresentCertificate("a")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
236 when(checker.shouldPresentCertificate("b")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
238 when(checker.shouldPresentCertificate("c")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
240 when(checker.shouldPresentCertificate("d")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
271 Assert.assertFalse(ec_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByKey()
272 Assert.assertTrue(ec_checker.shouldPresentCertificate("ec1")); in testCertificateParametersFilter_filtersByKey()
277 Assert.assertTrue(rsa_and_ec_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByKey()
278 Assert.assertTrue(rsa_and_ec_checker.shouldPresentCertificate("ec1")); in testCertificateParametersFilter_filtersByKey()
288 Assert.assertTrue(issuer_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByIssuer()
[all …]
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java148 .shouldPresentCertificate("client")).isTrue(); in testCertificateParametersFilter_filtersByIntermediateIssuer()
151 .shouldPresentCertificate("client")).isTrue(); in testCertificateParametersFilter_filtersByIntermediateIssuer()
154 .shouldPresentCertificate("client")).isFalse(); in testCertificateParametersFilter_filtersByIntermediateIssuer()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java241 public boolean shouldPresentCertificate(String alias) { in shouldPresentCertificate() method in KeyChainActivity.CertificateParametersFilter
316 .filter(mCertificateFilter::shouldPresentCertificate) in doInBackground()