/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyClientTransportTest.java | 21 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 176 DEFAULT_WINDOW_SIZE, DEFAULT_MAX_MESSAGE_SIZE, GrpcUtil.DEFAULT_MAX_HEADER_LIST_SIZE, in setSoLingerChannelOption() 192 DEFAULT_MAX_MESSAGE_SIZE, GrpcUtil.DEFAULT_MAX_HEADER_LIST_SIZE, "testUserAgent", true); in overrideDefaultUserAgent() 416 newNegotiator(), DEFAULT_WINDOW_SIZE, DEFAULT_MAX_MESSAGE_SIZE, in failingToConstructChannelShouldFailGracefully() 467 newTransport(newNegotiator(), DEFAULT_MAX_MESSAGE_SIZE, 1, null, true); in maxHeaderListSizeShouldBeEnforcedOnClient() 544 NettyClientTransport transport = newTransport(newNegotiator(), DEFAULT_MAX_MESSAGE_SIZE, in keepAliveEnabled() 556 NettyClientTransport transport = newTransport(newNegotiator(), DEFAULT_MAX_MESSAGE_SIZE, in keepAliveDisabled() 580 return newTransport(negotiator, DEFAULT_MAX_MESSAGE_SIZE, GrpcUtil.DEFAULT_MAX_HEADER_LIST_SIZE, in newTransport() 614 DEFAULT_WINDOW_SIZE, DEFAULT_MAX_MESSAGE_SIZE, maxHeaderListSize, in startServer()
|
D | NettyClientStreamTest.java | 21 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 412 stream = new NettyClientStream(new TransportStateImpl(handler, DEFAULT_MAX_MESSAGE_SIZE), in setHttp2StreamShouldNotifyReady() 442 new TransportStateImpl(handler, DEFAULT_MAX_MESSAGE_SIZE), in removeUserAgentFromApplicationHeaders() 471 new TransportStateImpl(handler, DEFAULT_MAX_MESSAGE_SIZE), in getRequestSentThroughHeader() 503 new TransportStateImpl(handler, DEFAULT_MAX_MESSAGE_SIZE), in createStream()
|
D | NettyClientHandlerTest.java | 22 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 172 DEFAULT_MAX_MESSAGE_SIZE, in setUp() 516 DEFAULT_MAX_MESSAGE_SIZE, in createIncrementsIdsForActualAndBufferdStreams() 525 DEFAULT_MAX_MESSAGE_SIZE, in createIncrementsIdsForActualAndBufferdStreams()
|
D | NettyServerStreamTest.java | 20 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 289 handler, channel.eventLoop(), http2Stream, DEFAULT_MAX_MESSAGE_SIZE, statsTraceCtx, in createStream()
|
D | NettyServerHandlerTest.java | 20 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 1071 DEFAULT_MAX_MESSAGE_SIZE, in newHandler()
|
/external/grpc-grpc-java/protobuf-lite/src/main/java/io/grpc/protobuf/lite/ |
D | ProtoLiteUtils.java | 55 static final int DEFAULT_MAX_MESSAGE_SIZE = 4 * 1024 * 1024; field in ProtoLiteUtils 176 if (size > 0 && size <= DEFAULT_MAX_MESSAGE_SIZE) { in parse()
|
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/ |
D | CronetChannelBuilder.java | 21 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 84 private int maxMessageSize = DEFAULT_MAX_MESSAGE_SIZE;
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | MessageDeframerTest.java | 20 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 97 DEFAULT_MAX_MESSAGE_SIZE, statsTraceCtx, transportTracer); 192 DEFAULT_MAX_MESSAGE_SIZE, statsTraceCtx, transportTracer); in endOfStreamWithInvalidGzipBlockShouldNotifyDeframerClosedWithPartialMessage() 285 deframer = new MessageDeframer(listener, new Codec.Gzip(), DEFAULT_MAX_MESSAGE_SIZE, in compressed()
|
D | Http2ClientStreamTransportStateTest.java | 21 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 348 super(DEFAULT_MAX_MESSAGE_SIZE, StatsTraceContext.NOOP, transportTracer); in BaseTransportState()
|
D | AbstractClientStreamTest.java | 21 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 535 super(DEFAULT_MAX_MESSAGE_SIZE, statsTraceCtx, transportTracer); in BaseTransportState()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyServerBuilder.java | 20 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 82 private int maxMessageSize = DEFAULT_MAX_MESSAGE_SIZE;
|
/external/grpc-grpc-java/protobuf-lite/src/test/java/io/grpc/protobuf/lite/ |
D | ProtoLiteUtilsTest.java | 231 assertEquals(GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE, ProtoLiteUtils.DEFAULT_MAX_MESSAGE_SIZE); in defaultMaxMessageSize()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpClientTransportTest.java | 23 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; 177 startTransport(DEFAULT_START_STREAM_ID, null, true, DEFAULT_MAX_MESSAGE_SIZE, null); in initTransport() 181 startTransport(startId, null, true, DEFAULT_MAX_MESSAGE_SIZE, null); in initTransport() 187 DEFAULT_START_STREAM_ID, delayConnectedCallback, false, DEFAULT_MAX_MESSAGE_SIZE, null); in initTransportAndDelayConnected() 235 DEFAULT_MAX_MESSAGE_SIZE, in testToString() 505 startTransport(3, null, true, DEFAULT_MAX_MESSAGE_SIZE, "fakeUserAgent"); in overrideDefaultUserAgent() 1492 DEFAULT_MAX_MESSAGE_SIZE, in invalidAuthorityPropagates() 1514 DEFAULT_MAX_MESSAGE_SIZE, in unreachableServer() 1544 DEFAULT_MAX_MESSAGE_SIZE, in proxy_200() 1594 DEFAULT_MAX_MESSAGE_SIZE, in proxy_500() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | AbstractManagedChannelImplBuilder.java | 143 private int maxInboundMessageSize = GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE;
|
D | GrpcUtil.java | 193 public static final int DEFAULT_MAX_MESSAGE_SIZE = 4 * 1024 * 1024; field in GrpcUtil
|