Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DServiceProviderVerifierTest.java19 import static com.android.server.wifi.hotspot2.ServiceProviderVerifier
85 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()
DOsuServerConnectionTest.java135 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 …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java44 public class ServiceProviderVerifier { class
DOsuServerConnection.java203 for (Pair<Locale, String> identity : ServiceProviderVerifier.getProviderNames( in validateProvider()
414 if (certificate == null || !ServiceProviderVerifier.verifyCertFingerprint( in performRetrievingTrustRootCerts()