Home
last modified time | relevance | path

Searched refs:serverProtector (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DTsiTest.java164 TsiFrameProtector serverProtector = handshakers.getServer().createFrameProtector(alloc); in pingPongTest() local
166 sendMessage(clientProtector, serverProtector, -1, EXAMPLE_MESSAGE1, ref); in pingPongTest()
167 sendMessage(serverProtector, clientProtector, -1, EXAMPLE_MESSAGE2, ref); in pingPongTest()
170 serverProtector.destroy(); in pingPongTest()
185 TsiFrameProtector serverProtector = in pingPongExactFrameSizeTest() local
188 sendMessage(clientProtector, serverProtector, -1, EXAMPLE_MESSAGE1, ref); in pingPongExactFrameSizeTest()
189 sendMessage(serverProtector, clientProtector, -1, EXAMPLE_MESSAGE1, ref); in pingPongExactFrameSizeTest()
192 serverProtector.destroy(); in pingPongExactFrameSizeTest()
201 TsiFrameProtector serverProtector = handshakers.getServer().createFrameProtector(alloc); in pingPongSmallBufferTest() local
203 sendMessage(clientProtector, serverProtector, 1, EXAMPLE_MESSAGE1, ref); in pingPongSmallBufferTest()
[all …]
DAltsProtocolNegotiatorTest.java208 TsiFrameProtector serverProtector = serverHandshaker.createFrameProtector(channel.alloc()); in protectShouldRoundtrip() local
210 serverProtector.unprotect(protectedData, (List<Object>) (List<?>) unprotected, channel.alloc()); in protectShouldRoundtrip()
223 serverProtector.protectFlush( in protectShouldRoundtrip()
254 TsiFrameProtector serverProtector = in unprotectLargeIncomingFrame() local
256 serverProtector.protectFlush( in unprotectLargeIncomingFrame()