Searched refs:mOsuServerConnection (Results 1 – 4 of 4) sorted by relevance
92 private OsuServerConnection mOsuServerConnection; field in OsuServerConnectionTest114 mOsuServerConnection = new OsuServerConnection(mLooper.getLooper()); in setUp()115 mOsuServerConnection.enableVerboseLogging(ENABLE_VERBOSE_LOGGING); in setUp()147 assertTrue(mOsuServerConnection.validateProvider(Locale.US, PROVIDER_NAME_VALID)); in verifyInitAndConnect()158 mOsuServerConnection.init(null, mDelegate); in verifyInvalidTlsContext()159 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInvalidTlsContext()161 assertFalse(mOsuServerConnection.canValidateServer()); in verifyInvalidTlsContext()171 mOsuServerConnection.init(mTlsContext, mDelegate); in verifyTlsContextInitFailure()172 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyTlsContextInitFailure()174 assertFalse(mOsuServerConnection.canValidateServer()); in verifyTlsContextInitFailure()[all …]
178 @Mock OsuServerConnection mOsuServerConnection; field in PasspointProvisionerTest214 when(mObjectFactory.makeOsuServerConnection()).thenReturn(mOsuServerConnection); in setUp()226 when(mOsuServerConnection.connect(any(URL.class), any(Network.class))).thenReturn(true); in setUp()227 when(mOsuServerConnection.validateProvider(any(Locale.class), in setUp()229 when(mOsuServerConnection.canValidateServer()).thenReturn(true); in setUp()260 when(mOsuServerConnection.exchangeSoapMessage( in setUp()283 when(mOsuServerConnection.retrieveTrustRootCerts(anyMap())).thenReturn(true); in setUp()315 verify(mOsuServerConnection, atLeastOnce()) in initAndStartProvisioning()443 when(mOsuServerConnection.canValidateServer()).thenReturn(false); in verifyProvisioningUnavailable()656 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 …]