Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java94 private OsuServerConnection mOsuServerConnection; field in OsuServerConnectionTest
115 mOsuServerConnection = new OsuServerConnection(mLooper.getLooper()); in setUp()
116 mOsuServerConnection.enableVerboseLogging(ENABLE_VERBOSE_LOGGING); in setUp()
150 assertTrue(mOsuServerConnection.validateProvider(providerNames)); in verifyInitAndConnect()
176 assertTrue(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithMultipleProviderLangs()
201 assertFalse(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithMismatchedProviderLang()
226 assertTrue(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithSameLangButDifferentRegion()
237 mOsuServerConnection.init(null, mDelegate); in verifyInvalidTlsContext()
238 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInvalidTlsContext()
240 assertFalse(mOsuServerConnection.canValidateServer()); in verifyInvalidTlsContext()
[all …]
DPasspointProvisionerTest.java177 @Mock OsuServerConnection mOsuServerConnection; field in PasspointProvisionerTest
213 when(mObjectFactory.makeOsuServerConnection()).thenReturn(mOsuServerConnection); in setUp()
225 when(mOsuServerConnection.connect(any(URL.class), any(Network.class))).thenReturn(true); in setUp()
226 when(mOsuServerConnection.validateProvider( in setUp()
228 when(mOsuServerConnection.canValidateServer()).thenReturn(true); in setUp()
259 when(mOsuServerConnection.exchangeSoapMessage( in setUp()
282 when(mOsuServerConnection.retrieveTrustRootCerts(anyMap())).thenReturn(true); in setUp()
314 verify(mOsuServerConnection, atLeastOnce()) in initAndStartProvisioning()
442 when(mOsuServerConnection.canValidateServer()).thenReturn(false); in verifyProvisioningUnavailable()
655 when(mOsuServerConnection.connect(any(URL.class), any(Network.class))).thenReturn(false); in verifyServerConnectionFailure()
[all …]
DPasspointManagerTest.java180 @Mock OsuServerConnection mOsuServerConnection; field in PasspointManagerTest
209 .thenReturn(mOsuServerConnection); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java83 private final OsuServerConnection mOsuServerConnection; field in PasspointProvisioner
103 mOsuServerConnection = objectFactory.makeOsuServerConnection(); in PasspointProvisioner()
124 mOsuServerConnection.init(mObjectFactory.getSSLContext(TLS_VERSION), in init()
137 mOsuServerConnection.enableVerboseLogging(level); in enableVerboseLogging()
239 if (!mOsuServerConnection.canValidateServer()) { in startProvisioning()
270 mOsuServerConnection.setEventCallback(new OsuServerCallbacks(++mCurrentSessionId)); in startProvisioning()
368 if (!mOsuServerConnection.validateProvider( in handleServerValidationSuccess()
667 if (!mOsuServerConnection.connect(mServerUrl, network)) { in initiateServerConnection()
726 if (mOsuServerConnection.exchangeSoapMessage( in initSoapExchange()
818 if (mOsuServerConnection.exchangeSoapMessage( in secondSoapExchange()
[all …]