/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
D | EngineHandshakeBenchmark.java | 118 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake() 119 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake() 126 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake() 127 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake() 146 } while (senderResult.getHandshakeStatus() == HandshakeStatus.NEED_WRAP); in doHalfHandshake() 158 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks() 170 return result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.FINISHED; in isHandshakeFinished()
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | EngineHandshakeBenchmark.java | 116 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake() 117 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake() 124 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake() 125 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake() 144 } while (senderResult.getHandshakeStatus() == HandshakeStatus.NEED_WRAP); in doHalfHandshake() 156 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks() 168 return result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.FINISHED; in isHandshakeFinished()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 112 boolean clientDone = client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect() 113 boolean serverDone = server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect() 175 HandshakeStatus status = engine.getHandshakeStatus(); in handshakeCompleted() 239 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) { in assertFinishedOnce()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 110 boolean clientDone = client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect() 111 boolean serverDone = server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect() 170 HandshakeStatus status = engine.getHandshakeStatus(); in handshakeCompleted() 234 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) { in assertFinishedOnce()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 108 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectly() 117 destRes.getHandshakeStatus()); in assertSendsCorrectly() 155 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 162 destRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 432 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 441 assertEquals(HandshakeStatus.NEED_WRAP, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 448 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 457 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 663 return (a.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in connected() 664 && b.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in connected()
|
D | SSLEngineTest.java | 96 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, sslEngine.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake() 99 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, result.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake() 312 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectly() 321 destRes.getHandshakeStatus()); in assertSendsCorrectly() 359 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 366 destRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 849 return (a.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING 850 && b.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 106 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectly() 115 destRes.getHandshakeStatus()); in assertSendsCorrectly() 153 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 160 destRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 430 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 439 assertEquals(HandshakeStatus.NEED_WRAP, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 446 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 455 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound() 661 return (a.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in connected() 662 && b.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in connected()
|
D | SSLEngineTest.java | 92 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, sslEngine.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake() 95 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, result.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake() 308 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectly() 317 destRes.getHandshakeStatus()); in assertSendsCorrectly() 355 sourceOutRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 362 destRes.getHandshakeStatus()); in assertSendsCorrectlyWhenSplit() 841 return (a.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING 842 && b.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ConscryptEngineSocket.java | 232 switch (engine.getHandshakeStatus()) { 257 "Unknown handshake status: " + engine.getHandshakeStatus()); 788 boolean engineHandshaking = isHandshaking(engine.getHandshakeStatus()); 811 if (!engineHandshaking && isHandshaking(engineResult.getHandshakeStatus())
|
D | ConscryptEngine.java | 533 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus() method in ConscryptEngine 788 return new SSLEngineResult(BUFFER_UNDERFLOW, getHandshakeStatus(), 0, 0); 799 return new SSLEngineResult(BUFFER_UNDERFLOW, getHandshakeStatus(), 0, 0); 806 return new SSLEngineResult(BUFFER_UNDERFLOW, getHandshakeStatus(), 0, 0); 1253 status == FINISHED ? status : getHandshakeStatus(pendingNet)), 1272 status == FINISHED ? status : getHandshakeStatus(pendingNet)), 1354 private SSLEngineResult.HandshakeStatus getHandshakeStatus(int pending) {
|
D | Java8EngineWrapper.java | 156 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus() method in Java8EngineWrapper 157 return delegate.getHandshakeStatus(); in getHandshakeStatus()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptEngineSocket.java | 224 switch (engine.getHandshakeStatus()) { 249 "Unknown handshake status: " + engine.getHandshakeStatus()); 780 boolean engineHandshaking = isHandshaking(engine.getHandshakeStatus()); 803 if (!engineHandshaking && isHandshaking(engineResult.getHandshakeStatus())
|
D | ConscryptEngine.java | 532 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus() method in ConscryptEngine 787 return new SSLEngineResult(BUFFER_UNDERFLOW, getHandshakeStatus(), 0, 0); 798 return new SSLEngineResult(BUFFER_UNDERFLOW, getHandshakeStatus(), 0, 0); 805 return new SSLEngineResult(BUFFER_UNDERFLOW, getHandshakeStatus(), 0, 0); 1252 status == FINISHED ? status : getHandshakeStatus(pendingNet)), 1271 status == FINISHED ? status : getHandshakeStatus(pendingNet)), 1353 private SSLEngineResult.HandshakeStatus getHandshakeStatus(int pending) {
|
D | Java8EngineWrapper.java | 155 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus() method in Java8EngineWrapper 156 return delegate.getHandshakeStatus(); in getHandshakeStatus()
|
/external/conscrypt/publicapi/src/test/java/android/net/ssl/ |
D | SSLEnginesTest.java | 59 …@Override public SSLEngineResult.HandshakeStatus getHandshakeStatus() { throw new AssertionError()… in getHandshakeStatus() method in SSLEnginesTest.BrokenSSLEngine
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 383 assertEquals(HandshakeStatus.NOT_HANDSHAKING, clientEngine.getHandshakeStatus()); in doMutualAuthHandshake() 384 assertEquals(HandshakeStatus.NOT_HANDSHAKING, serverEngine.getHandshakeStatus()); in doMutualAuthHandshake()
|
D | RenegotiationTest.java | 411 switch (engine.getHandshakeStatus()) {
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
D | TestUtils.java | 525 return result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.FINISHED; in isHandshakeFinished() 529 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 523 return result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.FINISHED; in isHandshakeFinished() 527 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 390 assertEquals(HandshakeStatus.NOT_HANDSHAKING, clientEngine.getHandshakeStatus()); in doMutualAuthHandshake() 391 assertEquals(HandshakeStatus.NOT_HANDSHAKING, serverEngine.getHandshakeStatus()); in doMutualAuthHandshake()
|
D | RenegotiationTest.java | 416 switch (engine.getHandshakeStatus()) {
|