Searched refs:bytesProduced (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLEngineResult.java | 157 private final int bytesProduced; field in SSLEngineResult 180 int bytesConsumed, int bytesProduced) { in SSLEngineResult() argument 183 (bytesConsumed < 0) || (bytesProduced < 0)) { in SSLEngineResult() 190 this.bytesProduced = bytesProduced; in SSLEngineResult() 226 final public int bytesProduced() { in bytesProduced() method in SSLEngineResult 227 return bytesProduced; in bytesProduced() 238 " bytesProduced = " + bytesProduced); in toString()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 192 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted() 211 wrapResult.bytesProduced()); in handshakeCompleted()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineResultTest.java | 85 assertEquals(2, res.bytesProduced()); in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII() 130 res.bytesProduced()); in test_bytesProduced()
|
D | SSLEngineTest.java | 452 assertEquals(0, res.bytesProduced()); in test_unwrap_06() 579 assertTrue(result.bytesProduced() > 0); in test_wrap_06() 710 assertEquals(0, res.bytesProduced()); in test_unwrap_ByteBuffer_ByteBuffer_05() 822 assertEquals(0, res.bytesProduced()); in test_unwrap_ByteBuffer$ByteBuffer_05() 916 assertEquals(0, res.bytesProduced()); in test_wrap_ByteBuffer_ByteBuffer_05() 1016 if (res.bytesProduced() == 0) { in test_wrap_ByteBuffer$ByteBuffer_05() 1134 produced += result.bytesProduced(); in run()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLEngineTest.java | 306 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 4732 int bytesProduced = cipher.doFinal(buffer, 0, buffer.length, buffer); in testDecryptBufferZeroSize_mustDecodeToEmptyString() local 4733 assertEquals("", new String(buffer, 0, bytesProduced, StandardCharsets.US_ASCII)); in testDecryptBufferZeroSize_mustDecodeToEmptyString()
|