Home
last modified time | relevance | path

Searched refs:mOsuServerCallbacks (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java84 private PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in OsuServerConnection
104 mOsuServerCallbacks = callbacks; in setEventCallback()
288 if (mOsuServerCallbacks != null) { in performTlsConnection()
289 mOsuServerCallbacks.onServerConnectionStatus( in performTlsConnection()
290 mOsuServerCallbacks.getSessionId(), in performTlsConnection()
300 if (mOsuServerCallbacks != null) { in performTlsConnection()
301 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in performTlsConnection()
314 if (mOsuServerCallbacks != null) { in performTlsConnection()
315 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in performTlsConnection()
321 if (mOsuServerCallbacks != null) { in performTlsConnection()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java156 private PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in PasspointProvisionerTest
316 mOsuServerCallbacks = mOsuServerCallbacksCaptor.getAllValues().get(0); in initAndStartProvisioning()
336 mOsuServerCallbacks.onServerValidationStatus(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
344 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
354 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
381 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
392 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
407 mOsuServerCallbacks.onReceivedTrustRootCertificates( in stopAfterStep()
408 mOsuServerCallbacks.getSessionId(), trustRootCertificates); in stopAfterStep()
673 mOsuServerCallbacks.onServerValidationStatus(mOsuServerCallbacks.getSessionId(), false); in verifyServerValidationFailure()
[all …]
DOsuServerConnectionTest.java101 @Mock PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in OsuServerConnectionTest
120 when(mOsuServerCallbacks.getSessionId()).thenReturn(TEST_SESSION_ID); in setUp()
147 verify(mOsuServerCallbacks).onServerValidationStatus(anyInt(), eq(true)); in verifyInitAndConnect()
238 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInvalidTlsContext()
251 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyTlsContextInitFailure()
264 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInitAndNetworkOpenURLConnectionFailed()
271 verify(mOsuServerCallbacks).onServerConnectionStatus(anyInt(), eq(false)); in verifyInitAndNetworkOpenURLConnectionFailed()
282 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInitAndServerConnectFailure()
289 verify(mOsuServerCallbacks).onServerConnectionStatus(anyInt(), eq(false)); in verifyInitAndServerConnectFailure()
309 verify(mOsuServerCallbacks).onServerValidationStatus(anyInt(), eq(false)); in verifyInitAndConnectCertValidationFailure()
[all …]