Home
last modified time | relevance | path

Searched refs:ClientStream (Results 1 – 25 of 39) 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 …]
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 …]
DForwardingClientStreamTest.java42 private ClientStream mock = mock(ClientStream.class);
45 protected ClientStream delegate() {
53 ClientStream.class, in allMethodsForwarded()
DFailingClientStreamTest.java42 ClientStream stream = new FailingClientStream(status); in processedRpcProgressPopulatedToListener()
52 ClientStream stream = new FailingClientStream(status, RpcProgress.DROPPED); in droppedRpcProgressPopulatedToListener()
DManagedChannelImplTest.java431 ClientStream mockStream = mock(ClientStream.class); in subtestCallsAndShutdown()
432 ClientStream mockStream2 = mock(ClientStream.class); in subtestCallsAndShutdown()
626 ClientStream mockStream = mock(ClientStream.class); in callOptionsExecutor()
878 .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()
1491 ClientStream mockStream = mock(ClientStream.class); in pickerReturnsStreamTracer_noDelay()
1524 ClientStream mockStream = mock(ClientStream.class); in pickerReturnsStreamTracer_delayed()
1857 ClientStream mockStream = mock(ClientStream.class); in idleMode_resetsDelayedTransportPicker()
[all …]
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()
DCallCredentialsApplyingTest.java66 private ClientStream mockStream;
209 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in applyMetadata_inline()
282 ClientStream stream = transport.newStream(method, origHeaders, callOptions); in noCreds()
DFailingClientTransportTest.java44 ClientStream stream = transport in newStreamStart()
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.go222 if err := x.ClientStream.SendMsg(in); err != nil {
225 if err := x.ClientStream.CloseSend(); err != nil {
233 grpc.ClientStream
237 grpc.ClientStream anonMember
242 if err := x.ClientStream.RecvMsg(m); err != nil {
260 grpc.ClientStream
264 grpc.ClientStream anonMember
268 return x.ClientStream.SendMsg(m)
272 if err := x.ClientStream.CloseSend(); err != nil {
276 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 {
DDelayedClientTransport.java131 public final ClientStream newStream( in newStream()
355 ClientStream realStream; in createRealStream()
DManagedChannelImpl.java526 ClientStream newSubstream(ClientStreamTracer.Factory tracerFactory, Metadata newHeaders) {
936 Collection<ClientStream> uncommittedRetriableStreams = new HashSet<ClientStream>();
963 Collection<ClientStream> streams; in onShutdownNow()
969 for (ClientStream stream : streams) { in onShutdownNow()
999 uncommittedRetriableStreams = new HashSet<ClientStream>(); in remove()
DFailingClientTransport.java47 public ClientStream newStream( in newStream()
DForwardingConnectionClientTransport.java47 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.java58 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/syzkaller/vendor/google.golang.org/grpc/
Dinterceptor.go34 …Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (ClientStream, error)
39 …amDesc, cc *ClientConn, method string, streamer Streamer, opts ...CallOption) (ClientStream, error)
Dstream.go83 type ClientStream interface { interface
119 …m(ctx context.Context, desc *StreamDesc, method string, opts ...CallOption) (ClientStream, error) {
133 …ntext, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (ClientStream, error) {
137 … desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (_ ClientStream, err error) {

12