Home
last modified time | relevance | path

Searched refs:ClientTransportFactory (Results 1 – 25 of 26) sorted by relevance

12

/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractClientTransportFactoryTest.java19 import io.grpc.internal.ClientTransportFactory;
28 protected abstract ClientTransportFactory newClientTransportFactory(); in newClientTransportFactory()
32 ClientTransportFactory transportFactory = newClientTransportFactory(); in multipleCallsToCloseShouldNotThrow()
40 ClientTransportFactory transportFactory = newClientTransportFactory(); in newClientTransportAfterCloseShouldThrow()
44 new ClientTransportFactory.ClientTransportOptions()); in newClientTransportAfterCloseShouldThrow()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetChannelBuilderTest.java29 import io.grpc.internal.ClientTransportFactory;
30 import io.grpc.internal.ClientTransportFactory.ClientTransportOptions;
87 ClientTransportFactory clientTransportFactory = builder.buildTransportFactory(); in scheduledExecutorService_default()
105 ClientTransportFactory clientTransportFactory = builder1.buildTransportFactory(); in scheduledExecutorService_custom()
/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessChannelBuilderTest.java22 import io.grpc.internal.ClientTransportFactory;
38 ClientTransportFactory clientTransportFactory = builder.buildTransportFactory(); in scheduledExecutorService_default()
57 ClientTransportFactory clientTransportFactory = builder1.buildTransportFactory(); in scheduledExecutorService_custom()
DInProcessClientTransportFactoryTest.java19 import io.grpc.internal.ClientTransportFactory;
28 protected ClientTransportFactory newClientTransportFactory() { in newClientTransportFactory()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpChannelBuilderTest.java27 import io.grpc.internal.ClientTransportFactory;
117 new ClientTransportFactory.ClientTransportOptions()); in usePlaintext_newClientTransportAllowed()
139 ClientTransportFactory clientTransportFactory = builder.buildTransportFactory(); in scheduledExecutorService_default()
158 ClientTransportFactory clientTransportFactory = builder1.buildTransportFactory(); in scheduledExecutorService_custom()
DOkHttpTransportTest.java21 import io.grpc.internal.ClientTransportFactory;
38 private ClientTransportFactory clientFactory =
83 new ClientTransportFactory.ClientTransportOptions() in newClientTransport()
DOkHttpClientTransportFactoryTest.java19 import io.grpc.internal.ClientTransportFactory;
27 protected ClientTransportFactory newClientTransportFactory() { in newClientTransportFactory()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyTransportTest.java20 import io.grpc.internal.ClientTransportFactory;
39 private final ClientTransportFactory clientFactory = NettyChannelBuilder
97 new ClientTransportFactory.ClientTransportOptions() in newClientTransport()
DNettyClientTransportFactoryTest.java19 import io.grpc.internal.ClientTransportFactory;
26 @Override protected ClientTransportFactory newClientTransportFactory() { in newClientTransportFactory()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DTestUtils.java65 ClientTransportFactory mockTransportFactory) { in captureTransports()
70 ClientTransportFactory mockTransportFactory, @Nullable final Runnable startRunnable) { in captureTransports()
96 any(ClientTransportFactory.ClientTransportOptions.class)); in captureTransports()
DManagedChannelImplIdlenessTest.java103 @Mock private ClientTransportFactory mockTransportFactory;
129 @Override protected ClientTransportFactory buildTransportFactory() { in setUp()
163 any(ClientTransportFactory.ClientTransportOptions.class)); in setUp()
365 eq(new ClientTransportFactory.ClientTransportOptions() in oobTransportDoesNotAffectIdleness()
373 eq(new ClientTransportFactory.ClientTransportOptions() in oobTransportDoesNotAffectIdleness()
DCallCredentialsApplyingTest.java60 private ClientTransportFactory mockTransportFactory;
101 ClientTransportFactory.ClientTransportOptions clientTransportOptions = in setUp()
102 new ClientTransportFactory.ClientTransportOptions() in setUp()
112 ClientTransportFactory transportFactory = new CallCredentialsApplyingTransportFactory( in setUp()
DClientTransportFactoryTest.java23 import io.grpc.internal.ClientTransportFactory.ClientTransportOptions;
DInternalSubchannelTest.java95 @Mock private ClientTransportFactory mockTransportFactory;
1100 private ClientTransportFactory.ClientTransportOptions createClientTransportOptions() { in createClientTransportOptions()
1101 return new ClientTransportFactory.ClientTransportOptions() in createClientTransportOptions()
DAbstractManagedChannelImplBuilderTest.java432 protected ClientTransportFactory buildTransportFactory() { in buildTransportFactory()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCallCredentialsApplyingTransportFactory.java33 final class CallCredentialsApplyingTransportFactory implements ClientTransportFactory {
34 private final ClientTransportFactory delegate;
38 ClientTransportFactory delegate, Executor appExecutor) { in CallCredentialsApplyingTransportFactory()
DInternalSubchannel.java74 private final ClientTransportFactory transportFactory;
166 ClientTransportFactory transportFactory, ScheduledExecutorService scheduledExecutor, in InternalSubchannel()
233 ClientTransportFactory.ClientTransportOptions options = in startNewTransport()
234 new ClientTransportFactory.ClientTransportOptions() in startNewTransport()
DClientTransportFactory.java28 public interface ClientTransportFactory extends Closeable { interface
DAbstractManagedChannelImplBuilder.java449 protected abstract ClientTransportFactory buildTransportFactory(); in buildTransportFactory()
DManagedChannelImpl.java121 private final ClientTransportFactory transportFactory;
545 ClientTransportFactory clientTransportFactory, in ManagedChannelImpl()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessChannelBuilder.java24 import io.grpc.internal.ClientTransportFactory;
150 protected ClientTransportFactory buildTransportFactory() { in buildTransportFactory()
157 static final class InProcessClientTransportFactory implements ClientTransportFactory {
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DInternalNettyChannelBuilder.java20 import io.grpc.internal.ClientTransportFactory;
78 public static ClientTransportFactory buildTransportFactory(NettyChannelBuilder builder) { in buildTransportFactory()
DNettyChannelBuilder.java35 import io.grpc.internal.ClientTransportFactory;
333 protected ClientTransportFactory buildTransportFactory() { in buildTransportFactory()
461 private static final class NettyTransportFactory implements ClientTransportFactory {
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetChannelBuilder.java30 import io.grpc.internal.ClientTransportFactory;
186 protected final ClientTransportFactory buildTransportFactory() { in buildTransportFactory()
204 static class CronetTransportFactory implements ClientTransportFactory {
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java32 import io.grpc.internal.ClientTransportFactory;
397 protected final ClientTransportFactory buildTransportFactory() { in buildTransportFactory()
465 static final class OkHttpTransportFactory implements ClientTransportFactory {

12