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()
134 ServiceProviderVerifier.class).startMocking(); in verifyInitAndConnect()136 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyInitAndConnect()237 ServiceProviderVerifier.class).startMocking(); in verifyInitAndConnectInvalidProviderIdentity()239 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyInitAndConnectInvalidProviderIdentity()395 ServiceProviderVerifier.class).startMocking(); in verifyRetrieveTrustRootCertsWithoutError()414 when(ServiceProviderVerifier.verifyCertFingerprint(any(X509Certificate.class), in verifyRetrieveTrustRootCertsWithoutError()
44 public class ServiceProviderVerifier { class
196 for (Pair<Locale, String> identity : ServiceProviderVerifier.getProviderNames( in validateProvider()383 if (certificate == null || !ServiceProviderVerifier.verifyCertFingerprint( in performRetrievingTrustRootCerts()