Home
last modified time | relevance | path

Searched refs:ClientTransport (Results 1 – 25 of 30) sorted by relevance

12

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DHttp2Ping.java20 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,
DMetadataApplierImpl.java33 private final ClientTransport transport;
53 ClientTransport transport, MethodDescriptor<?, ?> method, Metadata origHeaders, in MetadataApplierImpl()
DDelayedClientTransport.java150 ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, in newStream()
291 final ClientTransport transport = GrpcUtil.getTransportFromPickResult(pickResult, in reprocess()
354 private void createRealStream(ClientTransport transport) { in createRealStream()
DAbstractSubchannel.java35 abstract ClientTransport obtainActiveTransport(); in obtainActiveTransport()
DManagedClientTransport.java36 public interface ManagedClientTransport extends ClientTransport {
DClientTransport.java34 public interface ClientTransport extends InternalInstrumented<SocketStats> { interface
DFailingClientTransport.java35 class FailingClientTransport implements ClientTransport {
DGrpcUtil.java665 static ClientTransport getTransportFromPickResult(PickResult result, boolean isWaitForReady) { in getTransportFromPickResult()
666 final ClientTransport transport; in getTransportFromPickResult()
678 return new ClientTransport() { in getTransportFromPickResult()
DOobChannel.java89 public ClientTransport get(PickSubchannelArgs args) {
152 ClientTransport obtainActiveTransport() { in setSubchannel()
DManagedChannelImpl.java468 public ClientTransport get(PickSubchannelArgs args) {
495 ClientTransport transport = GrpcUtil.getTransportFromPickResult(
528 ClientTransport transport =
1388 ClientTransport obtainActiveTransport() { in obtainActiveTransport()
DKeepAliveManager.java268 transport.ping(new ClientTransport.PingCallback() { in ping()
DClientCallImpl.java129 ClientTransport get(PickSubchannelArgs args); in get()
241 ClientTransport transport = clientTransportProvider.get( in start()
DInternalSubchannel.java195 ClientTransport obtainActiveTransport() { in obtainActiveTransport()
196 ClientTransport savedTransport = activeTransport; in obtainActiveTransport()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGrpcUtilTest.java233 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()
DKeepAliveManagerTest.java125 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()
DDelayedClientTransportTest.java72 @Mock private ClientTransport mockRealTransport;
73 @Mock private ClientTransport mockRealTransport2;
DClientCallImplTest.java102 @Mock private ClientTransport clientTransport;
109 private ClientTransport transport;
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DSendPingCommand.java19 import io.grpc.internal.ClientTransport.PingCallback;
/external/syzkaller/vendor/google.golang.org/grpc/
Dpicker_wrapper.go133 …ontext.Context, failfast bool, opts balancer.PickOptions) (transport.ClientTransport, func(balance…
285 func (ss *stickyStore) get(mdKey, stickyKey string) (transport.ClientTransport, bool) {
Dclientconn.go1015 func (cc *ClientConn) getTransport(ctx context.Context, failfast bool) (transport.ClientTransport, …
1130 transport transport.ClientTransport
1452 …ddrConn) wait(ctx context.Context, hasBalancer, failfast bool) (transport.ClientTransport, error) {
1493 func (ac *addrConn) getReadyTransport() (transport.ClientTransport, bool) {
Dstream.go258 t transport.ClientTransport
361 t transport.ClientTransport
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dtransport.go490 …ntext.Context, target TargetInfo, opts ConnectOptions, onSuccess func()) (ClientTransport, error) {
541 type ClientTransport interface { interface
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientHandlerTest.java61 import io.grpc.internal.ClientTransport;
62 import io.grpc.internal.ClientTransport.PingCallback;
739 private static class PingCallbackImpl implements ClientTransport.PingCallback {
DNettyClientTransportTest.java53 import io.grpc.internal.ClientTransport;
437 ClientTransport.PingCallback pingCallback = new ClientTransport.PingCallback() { in failingToConstructChannelShouldFailGracefully()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java60 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()

12