Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java93 private OsuServerConnection mOsuServerConnection; field in OsuServerConnectionTest
118 mOsuServerConnection = new OsuServerConnection(mLooper.getLooper()); in setUp()
119 mOsuServerConnection.enableVerboseLogging(true); in setUp()
156 assertTrue(mOsuServerConnection.validateProvider(providerNames)); in verifyInitAndConnect()
182 assertTrue(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithMultipleProviderLangs()
207 assertFalse(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithMismatchedProviderLang()
232 assertTrue(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithSameLangButDifferentRegion()
243 mOsuServerConnection.init(null, mTrustManagerFactory); in verifyInvalidTlsContext()
244 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInvalidTlsContext()
246 assertFalse(mOsuServerConnection.canValidateServer()); in verifyInvalidTlsContext()
[all …]
DPasspointProvisionerTest.java176 @Mock OsuServerConnection mOsuServerConnection; field in PasspointProvisionerTest
212 when(mObjectFactory.makeOsuServerConnection()).thenReturn(mOsuServerConnection); in setUp()
223 when(mOsuServerConnection.connect(any(URL.class), any(Network.class))).thenReturn(true); in setUp()
224 when(mOsuServerConnection.validateProvider( in setUp()
226 when(mOsuServerConnection.canValidateServer()).thenReturn(true); in setUp()
256 when(mOsuServerConnection.exchangeSoapMessage( in setUp()
279 when(mOsuServerConnection.retrieveTrustRootCerts(anyMap())).thenReturn(true); in setUp()
311 verify(mOsuServerConnection, atLeastOnce()) in initAndStartProvisioning()
439 when(mOsuServerConnection.canValidateServer()).thenReturn(false); in verifyProvisioningUnavailable()
652 when(mOsuServerConnection.connect(any(URL.class), any(Network.class))).thenReturn(false); in verifyServerConnectionFailure()
[all …]
DPasspointManagerTest.java213 @Mock OsuServerConnection mOsuServerConnection; field in PasspointManagerTest
260 .thenReturn(mOsuServerConnection); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java86 private final OsuServerConnection mOsuServerConnection; field in PasspointProvisioner
106 mOsuServerConnection = objectFactory.makeOsuServerConnection(); in PasspointProvisioner()
127 mOsuServerConnection.init(mObjectFactory.getSSLContext(TLS_VERSION), in init()
140 mOsuServerConnection.enableVerboseLogging(verbose); in enableVerboseLogging()
242 if (!mOsuServerConnection.canValidateServer()) { in startProvisioning()
273 mOsuServerConnection.setEventCallback(new OsuServerCallbacks(++mCurrentSessionId)); in startProvisioning()
371 if (!mOsuServerConnection.validateProvider( in handleServerValidationSuccess()
670 if (!mOsuServerConnection.connect(mServerUrl, network)) { in initiateServerConnection()
729 if (mOsuServerConnection.exchangeSoapMessage( in initSoapExchange()
840 if (mOsuServerConnection.exchangeSoapMessage( in secondSoapExchange()
[all …]