Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java84 private PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in OsuServerConnection
104 mOsuServerCallbacks = callbacks; in setEventCallback()
300 if (mOsuServerCallbacks != null) { in performTlsConnection()
301 mOsuServerCallbacks.onServerConnectionStatus( in performTlsConnection()
302 mOsuServerCallbacks.getSessionId(), in performTlsConnection()
312 if (mOsuServerCallbacks != null) { in performTlsConnection()
313 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in performTlsConnection()
326 if (mOsuServerCallbacks != null) { in performTlsConnection()
327 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in performTlsConnection()
333 if (mOsuServerCallbacks != null) { in performTlsConnection()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java155 private PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in PasspointProvisionerTest
313 mOsuServerCallbacks = mOsuServerCallbacksCaptor.getAllValues().get(0); in initAndStartProvisioning()
333 mOsuServerCallbacks.onServerValidationStatus(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
341 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
351 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
378 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
389 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep()
404 mOsuServerCallbacks.onReceivedTrustRootCertificates( in stopAfterStep()
405 mOsuServerCallbacks.getSessionId(), trustRootCertificates); in stopAfterStep()
670 mOsuServerCallbacks.onServerValidationStatus(mOsuServerCallbacks.getSessionId(), false); in verifyServerValidationFailure()
[all …]
DOsuServerConnectionTest.java103 @Mock PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in OsuServerConnectionTest
123 when(mOsuServerCallbacks.getSessionId()).thenReturn(TEST_SESSION_ID); in setUp()
153 verify(mOsuServerCallbacks).onServerValidationStatus(anyInt(), eq(true)); in verifyInitAndConnect()
244 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInvalidTlsContext()
257 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyTlsContextInitFailure()
270 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInitAndNetworkOpenURLConnectionFailed()
277 verify(mOsuServerCallbacks).onServerConnectionStatus(anyInt(), eq(false)); in verifyInitAndNetworkOpenURLConnectionFailed()
288 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInitAndServerConnectFailure()
295 verify(mOsuServerCallbacks).onServerConnectionStatus(anyInt(), eq(false)); in verifyInitAndServerConnectFailure()
314 verify(mOsuServerCallbacks).onServerValidationStatus(anyInt(), eq(false)); in verifyInitAndConnectCertValidationFailure()
[all …]