/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ForwardingClientStreamListenerTest.java | 26 import io.grpc.internal.StreamListener.MessageProducer; 70 MessageProducer producer = mock(MessageProducer.class); in messagesAvailableTest()
|
D | ApplicationThreadDeframerTest.java | 31 import io.grpc.internal.StreamListener.MessageProducer; 136 private MessageProducer storedProducer; 153 public void messagesAvailable(MessageProducer producer) { in messagesAvailable() 186 private static class MultiMessageProducer implements StreamListener.MessageProducer {
|
D | NoopClientStreamListener.java | 27 public void messagesAvailable(MessageProducer producer) {} in messagesAvailable()
|
D | MessageDeframerTest.java | 99 private ArgumentCaptor<StreamListener.MessageProducer> producer = 100 ArgumentCaptor.forClass(StreamListener.MessageProducer.class); 139 List<StreamListener.MessageProducer> streams = producer.getAllValues(); in smallCombinedPayloads() 310 .messagesAvailable(Matchers.<StreamListener.MessageProducer>any());
|
D | Http2ClientStreamTransportStateTest.java | 65 StreamListener.MessageProducer producer = in setUp() 66 (StreamListener.MessageProducer) invocation.getArguments()[0]; in setUp() 70 }).when(mockListener).messagesAvailable(Matchers.<StreamListener.MessageProducer>any()); in setUp()
|
D | AbstractServerStreamTest.java | 89 public void messagesAvailable(MessageProducer producer) { in frameShouldBeIgnoredAfterDeframerClosed() 335 public void messagesAvailable(MessageProducer producer) { in messagesAvailable()
|
D | AbstractClientStreamTest.java | 84 StreamListener.MessageProducer producer = in setUp() 85 (StreamListener.MessageProducer) invocation.getArguments()[0]; in setUp() 89 }).when(mockListener).messagesAvailable(Matchers.<StreamListener.MessageProducer>any()); in setUp()
|
D | ServerImplTest.java | 1111 .messagesAvailable(any(StreamListener.MessageProducer.class)); in messageRead_errorCancelsCall() 1113 listener.messagesAvailable(mock(StreamListener.MessageProducer.class)); in messageRead_errorCancelsCall() 1136 .messagesAvailable(any(StreamListener.MessageProducer.class)); in messageRead_runtimeExceptionCancelsCall() 1138 listener.messagesAvailable(mock(StreamListener.MessageProducer.class)); in messageRead_runtimeExceptionCancelsCall()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | StreamListener.java | 38 void messagesAvailable(MessageProducer producer); in messagesAvailable() 51 interface MessageProducer { interface
|
D | ApplicationThreadDeframer.java | 145 public void messagesAvailable(StreamListener.MessageProducer producer) { in messagesAvailable() 174 private class InitializingMessageProducer implements StreamListener.MessageProducer {
|
D | ForwardingClientStreamListener.java | 43 public void messagesAvailable(MessageProducer producer) { in messagesAvailable()
|
D | MessageDeframer.java | 67 void messagesAvailable(StreamListener.MessageProducer producer); in messagesAvailable() 522 private static class SingleMessageProducer implements StreamListener.MessageProducer {
|
D | AbstractStream.java | 164 public void messagesAvailable(StreamListener.MessageProducer producer) { in messagesAvailable()
|
D | GrpcUtil.java | 43 import io.grpc.internal.StreamListener.MessageProducer; 714 static void closeQuietly(MessageProducer producer) {
|
D | DelayedStream.java | 387 public void messagesAvailable(final MessageProducer producer) { in messagesAvailable()
|
D | ServerCallImpl.java | 253 public void messagesAvailable(final MessageProducer producer) { in messagesAvailable()
|
D | ServerImpl.java | 598 public void messagesAvailable(MessageProducer producer) { in messagesAvailable() 675 public void messagesAvailable(final MessageProducer producer) { in messagesAvailable()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/ |
D | InProcessTransport.java | 307 private ArrayDeque<StreamListener.MessageProducer> clientReceiveQueue = 308 new ArrayDeque<StreamListener.MessageProducer>(); 388 StreamListener.MessageProducer producer = new SingleMessageProducer(message); 457 StreamListener.MessageProducer producer; 506 private ArrayDeque<StreamListener.MessageProducer> serverReceiveQueue = 507 new ArrayDeque<StreamListener.MessageProducer>(); 574 StreamListener.MessageProducer producer = new SingleMessageProducer(message); 612 StreamListener.MessageProducer producer; 707 private static class SingleMessageProducer implements StreamListener.MessageProducer {
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | SingleMessageProducer.java | 23 public class SingleMessageProducer implements StreamListener.MessageProducer {
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyServerStreamTest.java | 87 StreamListener.MessageProducer producer = in setUp() 88 (StreamListener.MessageProducer) invocation.getArguments()[0]; in setUp() 97 .messagesAvailable(Matchers.<StreamListener.MessageProducer>any()); in setUp()
|
D | NettyServerHandlerTest.java | 171 StreamListener.MessageProducer producer = in setUp() 172 (StreamListener.MessageProducer) invocation.getArguments()[0]; in setUp() 181 .messagesAvailable(any(StreamListener.MessageProducer.class)); in setUp() 261 .messagesAvailable(any(StreamListener.MessageProducer.class)); in inboundDataShouldForwardToStreamListener() 283 .messagesAvailable(any(StreamListener.MessageProducer.class)); in clientHalfCloseShouldForwardToStreamListener() 316 doThrow(e).when(streamListener).messagesAvailable(any(StreamListener.MessageProducer.class)); in streamErrorShouldNotCloseChannel()
|
D | NettyClientStreamTest.java | 115 StreamListener.MessageProducer producer = in setUp() 116 (StreamListener.MessageProducer) invocation.getArguments()[0]; in setUp() 125 .messagesAvailable(Matchers.<StreamListener.MessageProducer>any()); in setUp()
|
D | NettyClientHandlerTest.java | 149 StreamListener.MessageProducer producer = in setUp() 150 (StreamListener.MessageProducer) invocation.getArguments()[0]; in setUp() 159 .messagesAvailable(Matchers.<StreamListener.MessageProducer>any()); in setUp()
|
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/ |
D | CronetClientStreamTest.java | 41 import io.grpc.internal.StreamListener.MessageProducer; 260 verify(clientListener, times(0)).messagesAvailable(isA(MessageProducer.class)); in read() 264 verify(clientListener, times(1)).messagesAvailable(isA(MessageProducer.class)); in read() 270 verify(clientListener, times(1)).messagesAvailable(isA(MessageProducer.class)); in read() 310 verify(clientListener, times(1)).messagesAvailable(isA(MessageProducer.class)); in streamSucceeded()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpClientStreamTest.java | 222 public void messagesAvailable(MessageProducer producer) { in messagesAvailable()
|