Searched refs:mOsuServerConnection (Results 1 – 4 of 4) sorted by relevance
94 private OsuServerConnection mOsuServerConnection; field in OsuServerConnectionTest115 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 …]
177 @Mock OsuServerConnection mOsuServerConnection; field in PasspointProvisionerTest213 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 …]
180 @Mock OsuServerConnection mOsuServerConnection; field in PasspointManagerTest209 .thenReturn(mOsuServerConnection); in setUp()
83 private final OsuServerConnection mOsuServerConnection; field in PasspointProvisioner103 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 …]