Home
last modified time | relevance | path

Searched refs:FAIL_HANDSHAKE (Results 1 – 6 of 6) sorted by relevance

/external/mockwebserver/src/main/java/com/google/mockwebserver/
DSocketPolicy.java62 FAIL_HANDSHAKE, enumConstant
DMockWebServer.java20 import static com.google.mockwebserver.SocketPolicy.FAIL_HANDSHAKE;
308 if (socketPolicy == FAIL_HANDSHAKE) { in serveConnection()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DSocketPolicy.java75 FAIL_HANDSHAKE, enumConstant
DMockWebServer.java87 import static com.squareup.okhttp.mockwebserver.SocketPolicy.FAIL_HANDSHAKE;
442 if (socketPolicy == FAIL_HANDSHAKE) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java928 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in recoverFromTlsHandshakeFailure()
951 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled()
955 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled()
981 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in recoverFromTlsHandshakeFailure_Async()
1001 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in noRecoveryFromTlsHandshakeFailureWhenTlsFallbackIsDisabled()
DURLConnectionTest.java619 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in connectViaHttpsWithSSLFallback()
636 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in connectViaHttpsWithSSLFallbackFailuresRecorded()
637 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in connectViaHttpsWithSSLFallbackFailuresRecorded()