Home
last modified time | relevance | path

Searched refs:RpcProgress (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DFailingClientStream.java23 import io.grpc.internal.ClientStreamListener.RpcProgress;
32 private final RpcProgress rpcProgress;
38 this(error, RpcProgress.PROCESSED); in FailingClientStream()
44 public FailingClientStream(Status error, RpcProgress rpcProgress) { in FailingClientStream()
DFailingClientTransport.java29 import io.grpc.internal.ClientStreamListener.RpcProgress;
38 private final RpcProgress rpcProgress;
40 FailingClientTransport(Status error, RpcProgress rpcProgress) { in FailingClientTransport()
DClientStreamListener.java64 void closed(Status status, RpcProgress rpcProgress, Metadata trailers); in closed()
69 enum RpcProgress { enum
DAbstractClientStream.java35 import io.grpc.internal.ClientStreamListener.RpcProgress;
397 transportReportStatus(status, RpcProgress.PROCESSED, stopDelivery, trailers); in transportReportStatus()
416 final Status status, final RpcProgress rpcProgress, boolean stopDelivery, in transportReportStatus()
448 Status status, RpcProgress rpcProgress, Metadata trailers) { in closeListener()
DForwardingClientStreamListener.java38 public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) { in closed()
DGrpcUtil.java41 import io.grpc.internal.ClientStreamListener.RpcProgress;
704 return new FailingClientTransport(result.getStatus(), RpcProgress.DROPPED); in getTransportFromPickResult()
707 return new FailingClientTransport(result.getStatus(), RpcProgress.PROCESSED); in getTransportFromPickResult()
DRetriableStream.java548 closed(status, RpcProgress.PROCESSED, trailers); in closed()
552 public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) { in closed()
568 if (rpcProgress == RpcProgress.REFUSED && !noMoreTransparentRetry) { in closed()
581 } else if (rpcProgress == RpcProgress.DROPPED) { in closed()
DClientCallImpl.java555 closed(status, RpcProgress.PROCESSED, trailers); in closed()
559 public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) { in closed()
DDelayedStream.java436 final Status status, final RpcProgress rpcProgress, in closed()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DFailingClientStreamTest.java26 import io.grpc.internal.ClientStreamListener.RpcProgress;
44 verify(listener).closed(eq(status), eq(RpcProgress.PROCESSED), any(Metadata.class)); in processedRpcProgressPopulatedToListener()
52 ClientStream stream = new FailingClientStream(status, RpcProgress.DROPPED); in droppedRpcProgressPopulatedToListener()
54 verify(listener).closed(eq(status), eq(RpcProgress.DROPPED), any(Metadata.class)); in droppedRpcProgressPopulatedToListener()
DFailingClientTransportTest.java27 import io.grpc.internal.ClientStreamListener.RpcProgress;
42 RpcProgress rpcProgress = RpcProgress.DROPPED; in newStreamStart()
DGrpcUtilTest.java34 import io.grpc.internal.ClientStreamListener.RpcProgress;
251 verify(listener).closed(eq(status), eq(RpcProgress.PROCESSED), any(Metadata.class)); in getTransportFromPickResult_errorPickResult_failFast()
267 verify(listener).closed(eq(status), eq(RpcProgress.DROPPED), any(Metadata.class)); in getTransportFromPickResult_dropPickResult_waitForReady()
283 verify(listener).closed(eq(status), eq(RpcProgress.DROPPED), any(Metadata.class)); in getTransportFromPickResult_dropPickResult_failFast()
DNoopClientStreamListener.java39 public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) {} in closed()
DAbstractClientStreamTest.java20 import static io.grpc.internal.ClientStreamListener.RpcProgress.PROCESSED;
44 import io.grpc.internal.ClientStreamListener.RpcProgress;
335 .closed(statusCaptor.capture(), any(RpcProgress.class), any(Metadata.class)); in rstStreamClosesStream()
352 .closed(statusCaptor.capture(), any(RpcProgress.class), any(Metadata.class)); in trailerOkWithTruncatedMessage()
370 .closed(statusCaptor.capture(), any(RpcProgress.class), any(Metadata.class)); in trailerNotOkWithTruncatedMessage()
DDelayedClientTransportTest.java46 import io.grpc.internal.ClientStreamListener.RpcProgress;
234 statusCaptor.capture(), any(RpcProgress.class), any(Metadata.class)); in newStreamThenShutdownTransportThenAssignTransport()
262 statusCaptor.capture(), any(RpcProgress.class), any(Metadata.class)); in shutdownThenNewStream()
283 statusCaptor.capture(), any(RpcProgress.class), any(Metadata.class)); in shutdownNowThenNewStream()
DHttp2ClientStreamTransportStateTest.java20 import static io.grpc.internal.ClientStreamListener.RpcProgress.PROCESSED;
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientStreamTest.java38 import io.grpc.internal.ClientStreamListener.RpcProgress;
327 .closed(statusCaptor.capture(), isA(RpcProgress.class), trailerCaptor.capture()); in streamSucceeded()
371 .closed(statusCaptor.capture(), isA(RpcProgress.class), isA(Metadata.class)); in streamSucceededWithGrpcError()
397 .closed(statusCaptor.capture(), isA(RpcProgress.class), isA(Metadata.class)); in streamFailed()
425 .closed(statusCaptor.capture(), isA(RpcProgress.class), isA(Metadata.class)); in streamFailedAfterResponseHeaderReceived()
456 .closed(statusCaptor.capture(), isA(RpcProgress.class), isA(Metadata.class)); in streamFailedAfterTrailerReceived()
489 .closed(statusCaptor.capture(), isA(RpcProgress.class), isA(Metadata.class)); in streamFailedAfterTrailerAndEndOfStreamReceived()
533 .closed(isA(Status.class), isA(RpcProgress.class), isA(Metadata.class)); in reportTrailersWhenTrailersReceivedBeforeReadClosed()
539 .closed(statusCaptor.capture(), isA(RpcProgress.class), isA(Metadata.class)); in reportTrailersWhenTrailersReceivedBeforeReadClosed()
561 .closed(isA(Status.class), isA(RpcProgress.class), isA(Metadata.class)); in reportTrailersWhenTrailersReceivedAfterReadClosed()
[all …]
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java46 import io.grpc.internal.ClientStreamListener.RpcProgress;
357 goAwayStatus, RpcProgress.REFUSED, true, new Metadata()); in streamReadyToStart()
766 status, RpcProgress.REFUSED, false, new Metadata()); in startGoAway()
772 status, RpcProgress.REFUSED, true, new Metadata()); in startGoAway()
799 RpcProgress rpcProgress, in finishStream()
1068 errorCode == ErrorCode.REFUSED_STREAM ? RpcProgress.REFUSED : RpcProgress.PROCESSED, in rstStream()
1171 streamId, Status.INTERNAL.withDescription(errorMsg), RpcProgress.PROCESSED, false, in windowUpdate()
DOkHttpClientStream.java21 import static io.grpc.internal.ClientStreamListener.RpcProgress.PROCESSED;
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyClientHandler.java31 import io.grpc.internal.ClientStreamListener.RpcProgress;
373 ? RpcProgress.REFUSED : RpcProgress.PROCESSED, in onRstStreamRead()
491 lifecycleManager.getShutdownStatus(), RpcProgress.REFUSED, true, new Metadata()); in createStream()
682 goAwayStatus, RpcProgress.REFUSED, false, new Metadata()); in goingAway()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientStreamTest.java20 import static io.grpc.internal.ClientStreamListener.RpcProgress.PROCESSED;
107 Status status, RpcProgress rpcProgress, Metadata trailers) { in cancel_notStarted()
DOkHttpClientTransportTest.java21 import static io.grpc.internal.ClientStreamListener.RpcProgress.PROCESSED;
22 import static io.grpc.internal.ClientStreamListener.RpcProgress.REFUSED;
1939 RpcProgress rpcProgress;
1969 public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) { in closed()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientHandlerTest.java20 import static io.grpc.internal.ClientStreamListener.RpcProgress.PROCESSED;
21 import static io.grpc.internal.ClientStreamListener.RpcProgress.REFUSED;
60 import io.grpc.internal.ClientStreamListener.RpcProgress;
355 .closed(any(Status.class), any(RpcProgress.class), any(Metadata.class)); in receivedGoAwayShouldNotAffectEarlyStreamId()
DNettyClientTransportTest.java701 closed(status, RpcProgress.PROCESSED, trailers); in closed()
705 public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) { in closed()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java1012 Status status, RpcProgress rpcProgress, Metadata trailers) { in earlyServerClose_serverFailure_withClientCancelOnListenerClosed()
1091 closed(status, RpcProgress.PROCESSED, trailers); in clientCancelFromWithinMessageRead()
1096 Status status, RpcProgress rpcProgress, Metadata trailers) { in clientCancelFromWithinMessageRead()
2006 closed(status, RpcProgress.PROCESSED, trailers); in closed()
2010 public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) { in closed()

12