Searched refs:mOsuServerConnection (Results 1 – 4 of 4) sorted by relevance
93 private OsuServerConnection mOsuServerConnection; field in OsuServerConnectionTest118 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 …]
176 @Mock OsuServerConnection mOsuServerConnection; field in PasspointProvisionerTest212 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 …]
213 @Mock OsuServerConnection mOsuServerConnection; field in PasspointManagerTest260 .thenReturn(mOsuServerConnection); in setUp()
86 private final OsuServerConnection mOsuServerConnection; field in PasspointProvisioner106 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 …]