OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:clientPacketBuffer
(Results
1 - 8
of
8
) sorted by null
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
EngineWrapBenchmark.java
66
private final ByteBuffer
clientPacketBuffer
;
82
clientPacketBuffer
= bufferType.newPacketBuffer(clientEngine);
92
doEngineHandshake(clientEngine, serverEngine, clientApplicationBuffer,
clientPacketBuffer
,
109
clientPacketBuffer
.clear();
112
doWrap(messageBuffer,
clientPacketBuffer
);
115
assertEquals(preEncryptedBuffer.limit(),
clientPacketBuffer
.limit());
124
clientPacketBuffer
.clear();
128
doWrap(messageBuffer,
clientPacketBuffer
);
131
doUnwrap(
clientPacketBuffer
, serverApplicationBuffer);
EngineHandshakeBenchmark.java
66
private final ByteBuffer
clientPacketBuffer
;
84
clientPacketBuffer
= bufferType.newPacketBuffer(clientEngine);
95
clientPacketBuffer
.clear();
114
doHalfHandshake(client, server,
clientPacketBuffer
, serverApplicationBuffer);
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
EngineWrapBenchmark.java
68
private final ByteBuffer
clientPacketBuffer
;
84
clientPacketBuffer
= bufferType.newPacketBuffer(clientEngine);
94
doEngineHandshake(clientEngine, serverEngine, clientApplicationBuffer,
clientPacketBuffer
,
111
clientPacketBuffer
.clear();
114
doWrap(messageBuffer,
clientPacketBuffer
);
117
assertEquals(preEncryptedBuffer.limit(),
clientPacketBuffer
.limit());
126
clientPacketBuffer
.clear();
130
doWrap(messageBuffer,
clientPacketBuffer
);
133
doUnwrap(
clientPacketBuffer
, serverApplicationBuffer);
EngineHandshakeBenchmark.java
68
private final ByteBuffer
clientPacketBuffer
;
86
clientPacketBuffer
= bufferType.newPacketBuffer(clientEngine);
97
clientPacketBuffer
.clear();
116
doHalfHandshake(client, server,
clientPacketBuffer
, serverApplicationBuffer);
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
TestUtils.java
449
ByteBuffer clientAppBuffer, ByteBuffer
clientPacketBuffer
, ByteBuffer serverAppBuffer,
463
int cTOsPos =
clientPacketBuffer
.position();
466
clientResult = clientEngine.wrap(EMPTY_BUFFER,
clientPacketBuffer
);
474
assertEquals(
clientPacketBuffer
.position() - cTOsPos, clientResult.bytesProduced());
477
clientPacketBuffer
.flip();
490
cTOsPos =
clientPacketBuffer
.position();
498
serverResult = serverEngine.unwrap(
clientPacketBuffer
, serverAppBuffer);
503
assertEquals(
clientPacketBuffer
.position() - cTOsPos, serverResult.bytesConsumed());
509
clientPacketBuffer
.compact();
/external/conscrypt/testing/src/main/java/org/conscrypt/
TestUtils.java
447
ByteBuffer clientAppBuffer, ByteBuffer
clientPacketBuffer
, ByteBuffer serverAppBuffer,
461
int cTOsPos =
clientPacketBuffer
.position();
464
clientResult = clientEngine.wrap(EMPTY_BUFFER,
clientPacketBuffer
);
472
assertEquals(
clientPacketBuffer
.position() - cTOsPos, clientResult.bytesProduced());
475
clientPacketBuffer
.flip();
488
cTOsPos =
clientPacketBuffer
.position();
496
serverResult = serverEngine.unwrap(
clientPacketBuffer
, serverAppBuffer);
501
assertEquals(
clientPacketBuffer
.position() - cTOsPos, serverResult.bytesConsumed());
507
clientPacketBuffer
.compact();
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
ConscryptEngineTest.java
390
ByteBuffer
clientPacketBuffer
=
397
clientPacketBuffer
, serverApplicationBuffer, serverPacketBuffer, beginHandshake);
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
ConscryptEngineTest.java
397
ByteBuffer
clientPacketBuffer
=
404
clientPacketBuffer
, serverApplicationBuffer, serverPacketBuffer, beginHandshake);
Completed in 2693 milliseconds