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.java60 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.java914 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in recoverFromTlsHandshakeFailure()
935 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled()
959 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in recoverFromTlsHandshakeFailure_Async()
977 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in noRecoveryFromTlsHandshakeFailureWhenTlsFallbackIsDisabled()
DURLConnectionTest.java599 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in connectViaHttpsWithSSLFallback()
615 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in connectViaHttpsWithSSLFallbackFailuresRecorded()
616 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE)); in connectViaHttpsWithSSLFallbackFailuresRecorded()