/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | RetriableStreamTest.java | 160 ClientStream newSubstream(ClientStreamTracer.Factory tracerFactory, Metadata metadata) { in newSubstream() 193 ClientStream mockStream1 = mock(ClientStream.class); in retry_everythingDrained() 194 ClientStream mockStream2 = mock(ClientStream.class); in retry_everythingDrained() 195 ClientStream mockStream3 = mock(ClientStream.class); in retry_everythingDrained() 343 ClientStream mockStream1 = mock(ClientStream.class); in headersRead_cancel() 364 ClientStream mockStream1 = mock(ClientStream.class); in retry_headersRead_cancel() 375 ClientStream mockStream2 = mock(ClientStream.class); in retry_headersRead_cancel() 399 ClientStream mockStream1 = mock(ClientStream.class); in headersRead_closed() 423 ClientStream mockStream1 = mock(ClientStream.class); in retry_headersRead_closed() 434 ClientStream mockStream2 = mock(ClientStream.class); in retry_headersRead_closed() [all …]
|
D | ForwardingClientStreamTest.java | 42 private ClientStream mock = mock(ClientStream.class); 45 protected ClientStream delegate() { 53 ClientStream.class, in allMethodsForwarded()
|
D | DelayedClientTransportTest.java | 74 @Mock private ClientStream mockRealStream; 75 @Mock private ClientStream mockRealStream2; 124 ClientStream stream = delayedTransport.newStream(method, headers, callOptions); in streamStartThenAssignTransport() 143 ClientStream stream = delayedTransport.newStream(method, headers, callOptions); in newStreamThenAssignTransportThenShutdown() 170 ClientStream stream = delayedTransport.newStream(method, headers, callOptions); in assignTransportThenShutdownThenNewStream() 182 ClientStream stream = delayedTransport.newStream(method, headers, callOptions); in assignTransportThenShutdownNowThenNewStream() 190 ClientStream stream = delayedTransport.newStream(method, new Metadata(), CallOptions.DEFAULT); in cancelStreamWithoutSetTransport() 199 ClientStream stream = delayedTransport.newStream(method, new Metadata(), CallOptions.DEFAULT); in startThenCancelStreamWithoutSetTransport() 210 ClientStream stream = delayedTransport.newStream(method, headers, callOptions); in newStreamThenShutdownTransportThenAssignTransport() 243 ClientStream stream = delayedTransport.newStream(method, new Metadata(), CallOptions.DEFAULT); in newStreamThenShutdownTransportThenCancelStream() [all …]
|
D | FailingClientStreamTest.java | 42 ClientStream stream = new FailingClientStream(status); in processedRpcProgressPopulatedToListener() 52 ClientStream stream = new FailingClientStream(status, RpcProgress.DROPPED); in droppedRpcProgressPopulatedToListener()
|
D | GrpcUtilTest.java | 246 ClientStream stream = transport in getTransportFromPickResult_errorPickResult_failFast() 262 ClientStream stream = transport in getTransportFromPickResult_dropPickResult_waitForReady() 278 ClientStream stream = transport in getTransportFromPickResult_dropPickResult_failFast()
|
D | ManagedChannelImplTest.java | 430 ClientStream mockStream = mock(ClientStream.class); in subtestCallsAndShutdown() 431 ClientStream mockStream2 = mock(ClientStream.class); in subtestCallsAndShutdown() 625 ClientStream mockStream = mock(ClientStream.class); in callOptionsExecutor() 877 .thenReturn(mock(ClientStream.class)); in firstResolvedServerFailedToConnect() 1427 doAnswer(new Answer<ClientStream>() { in informationPropagatedToNewStreamAndCallCredentials() 1429 public ClientStream answer(InvocationOnMock in) throws Throwable { in informationPropagatedToNewStreamAndCallCredentials() 1431 return mock(ClientStream.class); in informationPropagatedToNewStreamAndCallCredentials() 1492 ClientStream mockStream = mock(ClientStream.class); in pickerReturnsStreamTracer_noDelay() 1525 ClientStream mockStream = mock(ClientStream.class); in pickerReturnsStreamTracer_delayed() 1858 ClientStream mockStream = mock(ClientStream.class); in idleMode_resetsDelayedTransportPicker() [all …]
|
D | FailingClientTransportTest.java | 44 ClientStream stream = transport in newStreamStart()
|
D | CallCredentials2ApplyingTest.java | 67 private ClientStream mockStream; 211 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in applyMetadata_inline() 284 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in noCreds()
|
D | CallCredentialsApplyingTest.java | 66 private ClientStream mockStream; 211 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in applyMetadata_inline() 285 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in noCreds()
|
D | TestUtils.java | 81 .thenReturn(mock(ClientStream.class)); in captureTransports()
|
/external/flatbuffers/tests/MyGame/Example/ |
D | MonsterStorage_grpc.go | 47 if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } 48 if err := x.ClientStream.CloseSend(); err != nil { return nil, err } 54 grpc.ClientStream 58 grpc.ClientStream anonMember 63 if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } 78 grpc.ClientStream 82 grpc.ClientStream anonMember 86 return x.ClientStream.SendMsg(m) 90 if err := x.ClientStream.CloseSend(); err != nil { return nil, err } 92 if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } [all …]
|
/external/golang-protobuf/protoc-gen-go/testdata/grpc/ |
D | grpc.pb.go | 226 if err := x.ClientStream.SendMsg(in); err != nil { 229 if err := x.ClientStream.CloseSend(); err != nil { 237 grpc.ClientStream 241 grpc.ClientStream anonMember 246 if err := x.ClientStream.RecvMsg(m); err != nil { 264 grpc.ClientStream 268 grpc.ClientStream anonMember 272 return x.ClientStream.SendMsg(m) 276 if err := x.ClientStream.CloseSend(); err != nil { 280 if err := x.ClientStream.RecvMsg(m); err != nil { [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | MetadataApplierImpl.java | 45 private ClientStream returnedStream; 67 ClientStream realStream; in apply() 84 private void finalizeWith(ClientStream stream) { in finalizeWith() 104 ClientStream returnStream() { in returnStream()
|
D | DelayedStream.java | 42 class DelayedStream implements ClientStream { 51 private ClientStream realStream; 103 final void setStream(ClientStream stream) { in setStream() 362 ClientStream getRealStream() { in getRealStream()
|
D | ForwardingClientStream.java | 27 abstract class ForwardingClientStream implements ClientStream { 28 protected abstract ClientStream delegate(); in delegate()
|
D | ClientStream.java | 30 public interface ClientStream extends Stream { interface
|
D | ClientTransport.java | 52 ClientStream newStream(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions); in newStream()
|
D | NoopClientStream.java | 30 public class NoopClientStream implements ClientStream {
|
D | ForwardingConnectionClientTransport.java | 47 public ClientStream newStream( in newStream()
|
D | FailingClientTransport.java | 47 public ClientStream newStream( in newStream()
|
D | DelayedClientTransport.java | 131 public final ClientStream newStream( in newStream() 355 ClientStream realStream; in createRealStream()
|
D | CallCredentialsApplyingTransportFactory.java | 76 public ClientStream newStream( in newStream()
|
/external/grpc-grpc/test/cpp/util/ |
D | proto_reflection_descriptor_database.h | 83 ClientStream; typedef 91 const std::shared_ptr<ClientStream> GetStream(); 97 std::shared_ptr<ClientStream> stream_;
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | AbstractTransportTest.java | 57 import io.grpc.internal.ClientStream; 252 ClientStream stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in frameAfterRstStreamShouldNotBreakClientChannel() 370 ClientStream clientStream = client.newStream(methodDescriptor, new Metadata(), callOptions); in openStreamPreventsTermination() 422 ClientStream clientStream = client.newStream(methodDescriptor, new Metadata(), callOptions); in shutdownNowKillsClientStream() 459 ClientStream clientStream = client.newStream(methodDescriptor, new Metadata(), callOptions); in shutdownNowKillsServerStream() 513 ClientStream stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in ping_duringShutdown() 557 ClientStream stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in newStream_duringShutdown() 565 ClientStream stream2 = client.newStream(methodDescriptor, new Metadata(), callOptions); in newStream_duringShutdown() 601 ClientStream stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in newStream_afterTermination() 620 ClientStream stream1 = client.newStream(methodDescriptor, new Metadata(), callOptions); in transportInUse_normalClose() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/ |
D | InProcessTransport.java | 40 import io.grpc.internal.ClientStream; 145 public synchronized ClientStream newStream( 499 private class InProcessClientStream implements ClientStream {
|