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.java170 when(mDummyChecker.shouldPresentCertificate(Mockito.anyString())).thenReturn(true); in setUp()
255 when(checker.shouldPresentCertificate("a")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
257 when(checker.shouldPresentCertificate("b")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
259 when(checker.shouldPresentCertificate("c")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
261 when(checker.shouldPresentCertificate("d")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
306 Assert.assertFalse(ec_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByKey()
307 Assert.assertTrue(ec_checker.shouldPresentCertificate("ec1")); in testCertificateParametersFilter_filtersByKey()
312 Assert.assertTrue(rsa_and_ec_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByKey()
313 Assert.assertTrue(rsa_and_ec_checker.shouldPresentCertificate("ec1")); in testCertificateParametersFilter_filtersByKey()
324 Assert.assertTrue(issuer_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByIssuer()
[all …]
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java199 .shouldPresentCertificate("testCertificateParametersFilter_client")).isTrue(); in testCertificateParametersFilter_filtersByIntermediateIssuer()
202 .shouldPresentCertificate("testCertificateParametersFilter_client")).isTrue(); in testCertificateParametersFilter_filtersByIntermediateIssuer()
205 .shouldPresentCertificate("testCertificateParametersFilter_client")).isFalse(); in testCertificateParametersFilter_filtersByIntermediateIssuer()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java368 public boolean shouldPresentCertificate(String alias) { in shouldPresentCertificate() method in KeyChainActivity.CertificateParametersFilter
452 .filter(mCertificateFilter::shouldPresentCertificate) in doInBackground()