/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | Http2Ping.java | 20 import io.grpc.internal.ClientTransport.PingCallback; 93 public void addCallback(final ClientTransport.PingCallback callback, Executor executor) { in addCallback() 124 Map<ClientTransport.PingCallback, Executor> callbacks; in complete() 135 for (Map.Entry<ClientTransport.PingCallback, Executor> entry : callbacks.entrySet()) { in complete() 148 Map<ClientTransport.PingCallback, Executor> callbacks; in failed() 158 for (Map.Entry<ClientTransport.PingCallback, Executor> entry : callbacks.entrySet()) { in failed() 190 private static Runnable asRunnable(final ClientTransport.PingCallback callback, in asRunnable() 205 private static Runnable asRunnable(final ClientTransport.PingCallback callback,
|
D | MetadataApplierImpl.java | 33 private final ClientTransport transport; 53 ClientTransport transport, MethodDescriptor<?, ?> method, Metadata origHeaders, in MetadataApplierImpl()
|
D | DelayedClientTransport.java | 150 ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, in newStream() 291 final ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, in reprocess() 354 private void createRealStream(ClientTransport transport) { in createRealStream()
|
D | AbstractSubchannel.java | 35 abstract ClientTransport obtainActiveTransport(); in obtainActiveTransport()
|
D | ManagedClientTransport.java | 36 public interface ManagedClientTransport extends ClientTransport {
|
D | ClientTransport.java | 34 public interface ClientTransport extends InternalInstrumented<SocketStats> { interface
|
D | FailingClientTransport.java | 35 class FailingClientTransport implements ClientTransport {
|
D | OobChannel.java | 89 public ClientTransport get(PickSubchannelArgs args) { 152 ClientTransport obtainActiveTransport() { in setSubchannel()
|
D | GrpcUtil.java | 665 static ClientTransport getTransportFromPickResult(PickResult result, boolean isWaitForReady) { in getTransportFromPickResult() 666 final ClientTransport transport; in getTransportFromPickResult() 678 return new ClientTransport() { in getTransportFromPickResult()
|
D | KeepAliveManager.java | 268 transport.ping(new ClientTransport.PingCallback() { in ping()
|
D | ManagedChannelImpl.java | 423 public ClientTransport get(PickSubchannelArgs args) { in get() 452 ClientTransport transport = GrpcUtil.getTransportFromPickResult( in get() 495 ClientTransport transport = in newRetriableStream() 1386 ClientTransport obtainActiveTransport() { in obtainActiveTransport()
|
D | ClientCallImpl.java | 129 ClientTransport get(PickSubchannelArgs args); in get() 241 ClientTransport transport = clientTransportProvider.get( in start()
|
D | InternalSubchannel.java | 195 ClientTransport obtainActiveTransport() { in obtainActiveTransport() 196 ClientTransport savedTransport = activeTransport; in obtainActiveTransport()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | GrpcUtilTest.java | 233 ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, true); in getTransportFromPickResult_errorPickResult_waitForReady() 242 ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, false); in getTransportFromPickResult_errorPickResult_failFast() 258 ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, true); in getTransportFromPickResult_dropPickResult_waitForReady() 274 ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, false); in getTransportFromPickResult_dropPickResult_failFast()
|
D | KeepAliveManagerTest.java | 125 verify(transport, times(0)).ping(isA(ClientTransport.PingCallback.class), in keepAlivePingDelayedByIncomingData() 152 ArgumentCaptor<ClientTransport.PingCallback> pingCallbackCaptor = in clientKeepAlivePinger_pingFailure() 153 ArgumentCaptor.forClass(ClientTransport.PingCallback.class); in clientKeepAlivePinger_pingFailure() 155 ClientTransport.PingCallback pingCallback = pingCallbackCaptor.getValue(); in clientKeepAlivePinger_pingFailure() 240 verify(transport, times(0)).ping(isA(ClientTransport.PingCallback.class), isA(Executor.class)); in transportGoesIdle()
|
D | DelayedClientTransportTest.java | 72 @Mock private ClientTransport mockRealTransport; 73 @Mock private ClientTransport mockRealTransport2;
|
D | ClientCallImplTest.java | 102 @Mock private ClientTransport clientTransport; 109 private ClientTransport transport;
|
D | ManagedChannelImplTest.java | 1500 ClientTransport mockTransport = transportInfo.transport; in pickerReturnsStreamTracer_noDelay() 1538 ClientTransport mockTransport = transportInfo.transport; in pickerReturnsStreamTracer_delayed() 2417 ClientTransport mockTransport = transportInfo.transport; in channelsAndSubchannels_instrumented0()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | SendPingCommand.java | 19 import io.grpc.internal.ClientTransport.PingCallback;
|
D | NettyClientHandler.java | 32 import io.grpc.internal.ClientTransport.PingCallback;
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyClientHandlerTest.java | 61 import io.grpc.internal.ClientTransport; 62 import io.grpc.internal.ClientTransport.PingCallback; 739 private static class PingCallbackImpl implements ClientTransport.PingCallback {
|
D | NettyClientTransportTest.java | 53 import io.grpc.internal.ClientTransport; 443 ClientTransport.PingCallback pingCallback = new ClientTransport.PingCallback() { in failingToConstructChannelShouldFailGracefully()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | AbstractTransportTest.java | 59 import io.grpc.internal.ClientTransport; 496 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping() 518 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping_duringShutdown() 538 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping_afterTermination()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpClientTransportTest.java | 71 import io.grpc.internal.ClientTransport; 2029 static class PingCallbackImpl implements ClientTransport.PingCallback {
|