Home
last modified time | relevance | path

Searched refs:compressorRegistry (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractManagedChannelImplBuilderTest.java184 assertNotNull(builder.compressorRegistry); in compressorRegistry_default()
189 CompressorRegistry compressorRegistry = CompressorRegistry.newEmptyInstance(); in compressorRegistry_normal() local
190 assertNotEquals(compressorRegistry, builder.compressorRegistry); in compressorRegistry_normal()
191 assertEquals(builder, builder.compressorRegistry(compressorRegistry)); in compressorRegistry_normal()
192 assertEquals(compressorRegistry, builder.compressorRegistry); in compressorRegistry_normal()
197 CompressorRegistry defaultValue = builder.compressorRegistry; in compressorRegistry_null()
198 builder.compressorRegistry(CompressorRegistry.newEmptyInstance()); in compressorRegistry_null()
199 assertNotEquals(defaultValue, builder.compressorRegistry); in compressorRegistry_null()
200 assertEquals(builder, builder.compressorRegistry(null)); in compressorRegistry_null()
201 assertEquals(defaultValue, builder.compressorRegistry); in compressorRegistry_null()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServerCallImpl.java57 private final CompressorRegistry compressorRegistry; field in ServerCallImpl
69 DecompressorRegistry decompressorRegistry, CompressorRegistry compressorRegistry, in ServerCallImpl() argument
76 this.compressorRegistry = compressorRegistry; in ServerCallImpl()
161 compressor = compressorRegistry.lookupCompressor(compressorName); in setCompression()
DAbstractServerImplBuilder.java101 CompressorRegistry compressorRegistry = DEFAULT_COMPRESSOR_REGISTRY; field in AbstractServerImplBuilder
188 public final T compressorRegistry(CompressorRegistry registry) { in compressorRegistry() method in AbstractServerImplBuilder
190 compressorRegistry = registry; in compressorRegistry()
192 compressorRegistry = DEFAULT_COMPRESSOR_REGISTRY; in compressorRegistry()
DAbstractManagedChannelImplBuilder.java124 CompressorRegistry compressorRegistry = DEFAULT_COMPRESSOR_REGISTRY; field in AbstractManagedChannelImplBuilder
264 public final T compressorRegistry(CompressorRegistry registry) { in compressorRegistry() method in AbstractManagedChannelImplBuilder
266 this.compressorRegistry = registry; in compressorRegistry()
268 this.compressorRegistry = DEFAULT_COMPRESSOR_REGISTRY; in compressorRegistry()
DClientCallImpl.java86 private CompressorRegistry compressorRegistry = CompressorRegistry.getDefaultInstance(); field in ClientCallImpl
149 ClientCallImpl<ReqT, RespT> setCompressorRegistry(CompressorRegistry compressorRegistry) { in setCompressorRegistry() argument
150 this.compressorRegistry = compressorRegistry; in setCompressorRegistry()
207 compressor = compressorRegistry.lookupCompressor(compressorName); in start()
DServerImpl.java114 private final CompressorRegistry compressorRegistry; field in ServerImpl
140 this.compressorRegistry = builder.compressorRegistry; in ServerImpl()
559 compressorRegistry, in startWrappedCall()
DManagedChannelImpl.java133 private final CompressorRegistry compressorRegistry; field in ManagedChannelImpl
583 this.compressorRegistry = checkNotNull(builder.compressorRegistry, "compressorRegistry"); in ManagedChannelImpl()
815 .setCompressorRegistry(compressorRegistry); in newCall()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DForwardingChannelBuilder.java143 public T compressorRegistry(CompressorRegistry registry) { in compressorRegistry() method in ForwardingChannelBuilder
144 delegate().compressorRegistry(registry); in compressorRegistry()
DServerBuilder.java191 public abstract T compressorRegistry(@Nullable CompressorRegistry registry); in compressorRegistry() method in ServerBuilder
DManagedChannelBuilder.java269 public abstract T compressorRegistry(CompressorRegistry registry); in compressorRegistry() method in ManagedChannelBuilder
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsServerBuilder.java171 public AltsServerBuilder compressorRegistry(CompressorRegistry registry) { in compressorRegistry() method in AltsServerBuilder
172 delegate.compressorRegistry(registry); in compressorRegistry()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DTransportCompressionTest.java90 .compressorRegistry(compressors) in getServerBuilder()
132 .compressorRegistry(compressors)
DCompressionTest.java187 .compressorRegistry(serverCompressors) in compression()
194 .compressorRegistry(clientCompressors) in compression()