Searched refs:ServiceProviderVerifier (Results 1 – 4 of 4) sorted by relevance
19 import static com.android.server.wifi.hotspot2.ServiceProviderVerifier85 assertTrue(ServiceProviderVerifier.getProviderNames(null).isEmpty()); in testNullForProviderCertShouldReturnEmptyList()95 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testNullFromgetSubjectAlternativeNamesShouldReturnEmptyList()106 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testEmptyListFromGetSubjectAlternativeNamesShouldReturnEmptyList()119 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testExceptionFromGetSubjectAlternativeNamesShouldReturnEmptyList()136 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testNonOtherNameFromGetSubjectAlternativeNamesShouldReturnEmptyList()154 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testInvalidFormatFromGetSubjectAlternativeNamesShouldReturnEmptyList()174 List<Pair<Locale, String>> result = ServiceProviderVerifier.getProviderNames( in testValidEntryFromGetSubjectAlternativeNamesShouldReturnList()192 assertTrue(ServiceProviderVerifier.verifyCertFingerprint(mX509Certificate, in testVerifyFingerPrintOfCertificateWithSameFingerPrintValueReturnTrue()207 assertFalse(ServiceProviderVerifier.verifyCertFingerprint(mX509Certificate, in testVerifyFingerPrintOfCertificateWithDifferentFingerPrintValueReturnFalse()
135 ServiceProviderVerifier.class).startMocking(); in verifyInitAndConnect()137 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyInitAndConnect()163 ServiceProviderVerifier.class).startMocking(); in verifyValidateProviderWithMultipleProviderLangs()165 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyValidateProviderWithMultipleProviderLangs()189 ServiceProviderVerifier.class).startMocking(); in verifyValidateProviderWithMismatchedProviderLang()191 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyValidateProviderWithMismatchedProviderLang()214 ServiceProviderVerifier.class).startMocking(); in verifyValidateProviderWithSameLangButDifferentRegion()216 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyValidateProviderWithSameLangButDifferentRegion()319 ServiceProviderVerifier.class).startMocking(); in verifyInitAndConnectInvalidProviderIdentity()321 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyInitAndConnectInvalidProviderIdentity()[all …]
44 public class ServiceProviderVerifier { class
203 for (Pair<Locale, String> identity : ServiceProviderVerifier.getProviderNames( in validateProvider()414 if (certificate == null || !ServiceProviderVerifier.verifyCertFingerprint( in performRetrievingTrustRootCerts()