Home
last modified time | relevance | path

Searched refs:DEFAULT_MAX_MESSAGE_SIZE (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientTransportTest.java21 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()
DNettyClientStreamTest.java21 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()
DNettyClientHandlerTest.java22 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()
DNettyServerStreamTest.java20 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE;
289 handler, channel.eventLoop(), http2Stream, DEFAULT_MAX_MESSAGE_SIZE, statsTraceCtx, in createStream()
DNettyServerHandlerTest.java20 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/
DProtoLiteUtils.java55 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/
DCronetChannelBuilder.java21 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/
DMessageDeframerTest.java20 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()
DHttp2ClientStreamTransportStateTest.java21 import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE;
348 super(DEFAULT_MAX_MESSAGE_SIZE, StatsTraceContext.NOOP, transportTracer); in BaseTransportState()
DAbstractClientStreamTest.java21 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/
DNettyServerBuilder.java20 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/
DProtoLiteUtilsTest.java231 assertEquals(GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE, ProtoLiteUtils.DEFAULT_MAX_MESSAGE_SIZE); in defaultMaxMessageSize()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java23 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/
DAbstractManagedChannelImplBuilder.java143 private int maxInboundMessageSize = GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE;
DGrpcUtil.java193 public static final int DEFAULT_MAX_MESSAGE_SIZE = 4 * 1024 * 1024; field in GrpcUtil