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.java134 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java44 public class ServiceProviderVerifier { class
DOsuServerConnection.java196 for (Pair<Locale, String> identity : ServiceProviderVerifier.getProviderNames( in validateProvider()
383 if (certificate == null || !ServiceProviderVerifier.verifyCertFingerprint( in performRetrievingTrustRootCerts()