Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultTest.java58 new SSLEngineResult(SSLEngineResult.Status.BUFFER_OVERFLOW, null, in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
65 new SSLEngineResult(SSLEngineResult.Status.BUFFER_OVERFLOW, in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
73 new SSLEngineResult(SSLEngineResult.Status.BUFFER_OVERFLOW, in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
81 SSLEngineResult res = new SSLEngineResult(SSLEngineResult.Status.BUFFER_OVERFLOW, in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
96 SSLEngineResult.Status [] enS = in test_bytesConsumed()
97 SSLEngineResult.Status.values(); in test_bytesConsumed()
119 SSLEngineResult.Status [] enS = in test_bytesProduced()
120 SSLEngineResult.Status.values(); in test_bytesProduced()
142 SSLEngineResult.Status [] enS = in test_getHandshakeStatus()
143 SSLEngineResult.Status.values(); in test_getHandshakeStatus()
[all …]
DSSLEngineResultStatusTest.java35 SSLEngineResult.Status[] enS = SSLEngineResult.Status.values(); in test_SSLEngineResultStatus_values()
59 SSLEngineResult.Status enS; in test_SSLEngineResultStatus_valueOf()
64 enS = SSLEngineResult.Status.valueOf(str[i]); in test_SSLEngineResultStatus_valueOf()
74 enS = SSLEngineResult.Status.valueOf(str_invalid[i]); in test_SSLEngineResultStatus_valueOf()
83 enS = SSLEngineResult.Status.valueOf(null); in test_SSLEngineResultStatus_valueOf()
DSSLEngineTest.java34 import javax.net.ssl.SSLEngineResult.Status;
577 assertEquals(SSLEngineResult.Status.OK, result.getStatus()); in test_wrap_06()
914 assertEquals(Status.BUFFER_OVERFLOW, res.getStatus()); in test_wrap_ByteBuffer_ByteBuffer_05()
/libcore/ojluni/src/main/java/jdk/net/
DSocketFlow.java57 private Status status = Status.NO_STATUS;
68 public enum Status { enum in SocketFlow
162 public Status status() { in status()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLEngineResult.java63 public static enum Status { enum in SSLEngineResult
154 private final Status status;
179 public SSLEngineResult(Status status, HandshakeStatus handshakeStatus, in SSLEngineResult()
198 final public Status getStatus() { in getStatus()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java190 assertEquals(SSLEngineResult.Status.OK, unwrapResult.getStatus()); in handshakeCompleted()
207 assertEquals(SSLEngineResult.Status.OK, wrapResult.getStatus()); in handshakeCompleted()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java107 assertEquals(SSLEngineResult.Status.BUFFER_UNDERFLOW, result.getStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
118 assertEquals(SSLEngineResult.Status.BUFFER_UNDERFLOW, in test_SSLEngine_underflowsOnEmptyBuffersAfterHandshake()