Searched refs:mOsuServerCallbacks (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuServerConnection.java | 83 private PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in OsuServerConnection 103 mOsuServerCallbacks = callbacks; in setEventCallback() 283 if (mOsuServerCallbacks != null) { in performTlsConnection() 284 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in performTlsConnection() 290 if (mOsuServerCallbacks != null) { in performTlsConnection() 291 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), true); in performTlsConnection() 303 if (mOsuServerCallbacks != null) { in performSoapMessageExchange() 304 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), null); in performSoapMessageExchange() 316 if (mOsuServerCallbacks != null) { in performSoapMessageExchange() 317 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in performSoapMessageExchange() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisionerTest.java | 157 private PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in PasspointProvisionerTest 317 mOsuServerCallbacks = mOsuServerCallbacksCaptor.getAllValues().get(0); in initAndStartProvisioning() 337 mOsuServerCallbacks.onServerValidationStatus(mOsuServerCallbacks.getSessionId(), in stopAfterStep() 345 mOsuServerCallbacks.onServerConnectionStatus(mOsuServerCallbacks.getSessionId(), in stopAfterStep() 355 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep() 382 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep() 393 mOsuServerCallbacks.onReceivedSoapMessage(mOsuServerCallbacks.getSessionId(), in stopAfterStep() 408 mOsuServerCallbacks.onReceivedTrustRootCertificates( in stopAfterStep() 409 mOsuServerCallbacks.getSessionId(), trustRootCertificates); in stopAfterStep() 674 mOsuServerCallbacks.onServerValidationStatus(mOsuServerCallbacks.getSessionId(), false); in verifyServerValidationFailure() [all …]
|
D | OsuServerConnectionTest.java | 100 @Mock PasspointProvisioner.OsuServerCallbacks mOsuServerCallbacks; field in OsuServerConnectionTest 119 when(mOsuServerCallbacks.getSessionId()).thenReturn(TEST_SESSION_ID); in setUp() 146 verify(mOsuServerCallbacks).onServerValidationStatus(anyInt(), eq(true)); in verifyInitAndConnect() 159 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInvalidTlsContext() 172 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyTlsContextInitFailure() 185 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInitAndNetworkOpenURLConnectionFailed() 192 verify(mOsuServerCallbacks).onServerConnectionStatus(anyInt(), eq(false)); in verifyInitAndNetworkOpenURLConnectionFailed() 203 mOsuServerConnection.setEventCallback(mOsuServerCallbacks); in verifyInitAndServerConnectFailure() 210 verify(mOsuServerCallbacks).onServerConnectionStatus(anyInt(), eq(false)); in verifyInitAndServerConnectFailure() 227 verify(mOsuServerCallbacks).onServerValidationStatus(anyInt(), eq(false)); in verifyInitAndConnectCertValidationFailure() [all …]
|