Home
last modified time | relevance | path

Searched refs:ClientStream (Results 1 – 25 of 38) sorted by relevance

12

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DRetriableStreamTest.java160 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 …]
DForwardingClientStreamTest.java42 private ClientStream mock = mock(ClientStream.class);
45 protected ClientStream delegate() {
53 ClientStream.class, in allMethodsForwarded()
DDelayedClientTransportTest.java74 @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 …]
DFailingClientStreamTest.java42 ClientStream stream = new FailingClientStream(status); in processedRpcProgressPopulatedToListener()
52 ClientStream stream = new FailingClientStream(status, RpcProgress.DROPPED); in droppedRpcProgressPopulatedToListener()
DGrpcUtilTest.java246 ClientStream stream = transport in getTransportFromPickResult_errorPickResult_failFast()
262 ClientStream stream = transport in getTransportFromPickResult_dropPickResult_waitForReady()
278 ClientStream stream = transport in getTransportFromPickResult_dropPickResult_failFast()
DManagedChannelImplTest.java430 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 …]
DFailingClientTransportTest.java44 ClientStream stream = transport in newStreamStart()
DCallCredentials2ApplyingTest.java67 private ClientStream mockStream;
211 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in applyMetadata_inline()
284 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in noCreds()
DCallCredentialsApplyingTest.java66 private ClientStream mockStream;
211 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in applyMetadata_inline()
285 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in noCreds()
DTestUtils.java81 .thenReturn(mock(ClientStream.class)); in captureTransports()
/external/flatbuffers/tests/MyGame/Example/
DMonsterStorage_grpc.go47 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/
Dgrpc.pb.go226 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/
DMetadataApplierImpl.java45 private ClientStream returnedStream;
67 ClientStream realStream; in apply()
84 private void finalizeWith(ClientStream stream) { in finalizeWith()
104 ClientStream returnStream() { in returnStream()
DDelayedStream.java42 class DelayedStream implements ClientStream {
51 private ClientStream realStream;
103 final void setStream(ClientStream stream) { in setStream()
362 ClientStream getRealStream() { in getRealStream()
DForwardingClientStream.java27 abstract class ForwardingClientStream implements ClientStream {
28 protected abstract ClientStream delegate(); in delegate()
DClientStream.java30 public interface ClientStream extends Stream { interface
DClientTransport.java52 ClientStream newStream(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions); in newStream()
DNoopClientStream.java30 public class NoopClientStream implements ClientStream {
DForwardingConnectionClientTransport.java47 public ClientStream newStream( in newStream()
DFailingClientTransport.java47 public ClientStream newStream( in newStream()
DDelayedClientTransport.java131 public final ClientStream newStream( in newStream()
355 ClientStream realStream; in createRealStream()
DCallCredentialsApplyingTransportFactory.java76 public ClientStream newStream( in newStream()
/external/grpc-grpc/test/cpp/util/
Dproto_reflection_descriptor_database.h83 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/
DAbstractTransportTest.java57 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/
DInProcessTransport.java40 import io.grpc.internal.ClientStream;
145 public synchronized ClientStream newStream(
499 private class InProcessClientStream implements ClientStream {

12