Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLEngineResult.java157 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/
DTestSSLEnginePair.java192 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted()
211 wrapResult.bytesProduced()); in handshakeCompleted()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultTest.java85 assertEquals(2, res.bytesProduced()); in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
130 res.bytesProduced()); in test_bytesProduced()
DSSLEngineTest.java452 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/
DSSLEngineTest.java306 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java4732 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()