Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DServiceProviderVerifierTest.java19 import static com.android.server.wifi.hotspot2.ServiceProviderVerifier
87 assertTrue(ServiceProviderVerifier.getProviderNames(null).isEmpty()); in testNullForProviderCertShouldReturnEmptyList()
97 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testNullFromgetSubjectAlternativeNamesShouldReturnEmptyList()
108 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testEmptyListFromGetSubjectAlternativeNamesShouldReturnEmptyList()
121 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testExceptionFromGetSubjectAlternativeNamesShouldReturnEmptyList()
138 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testNonOtherNameFromGetSubjectAlternativeNamesShouldReturnEmptyList()
156 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testInvalidFormatFromGetSubjectAlternativeNamesShouldReturnEmptyList()
177 List<Pair<Locale, String>> result = ServiceProviderVerifier.getProviderNames( in testValidEntryFromGetSubjectAlternativeNamesShouldReturnList()
195 assertTrue(ServiceProviderVerifier.verifyCertFingerprint(mX509Certificate, in testVerifyFingerPrintOfCertificateWithSameFingerPrintValueReturnTrue()
210 assertFalse(ServiceProviderVerifier.verifyCertFingerprint(mX509Certificate, in testVerifyFingerPrintOfCertificateWithDifferentFingerPrintValueReturnFalse()
DOsuServerConnectionTest.java141 ServiceProviderVerifier.class).startMocking(); in verifyInitAndConnect()
143 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyInitAndConnect()
169 ServiceProviderVerifier.class).startMocking(); in verifyValidateProviderWithMultipleProviderLangs()
171 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyValidateProviderWithMultipleProviderLangs()
195 ServiceProviderVerifier.class).startMocking(); in verifyValidateProviderWithMismatchedProviderLang()
197 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyValidateProviderWithMismatchedProviderLang()
220 ServiceProviderVerifier.class).startMocking(); in verifyValidateProviderWithSameLangButDifferentRegion()
222 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyValidateProviderWithSameLangButDifferentRegion()
324 ServiceProviderVerifier.class).startMocking(); in verifyInitAndConnectInvalidProviderIdentity()
326 when(ServiceProviderVerifier.getProviderNames(any(X509Certificate.class))).thenReturn( in verifyInitAndConnectInvalidProviderIdentity()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java45 public class ServiceProviderVerifier { class
DOsuServerConnection.java215 for (Pair<Locale, String> identity : ServiceProviderVerifier.getProviderNames( in validateProvider()
435 if (!ServiceProviderVerifier.verifyCertFingerprint( in performRetrievingTrustRootCerts()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp929 "com.android.server.wifi.hotspot2.ServiceProviderVerifier",
930 "com.android.server.wifi.hotspot2.ServiceProviderVerifier$*",
931 "com.android.server.wifi.hotspot2.ServiceProviderVerifier.**",