Searched refs:socketOptions (Results 1 – 7 of 7) sorted by relevance
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | UtilsTest.java | 88 SocketOptions socketOptions = Utils.getSocketOptions(socket); in getSocketOptions() local 89 assertEquals(2, (int) socketOptions.lingerSeconds); in getSocketOptions() 90 assertEquals(3, (int) socketOptions.soTimeoutMillis); in getSocketOptions() 91 assertEquals("true", socketOptions.others.get("TCP_NODELAY")); in getSocketOptions() 92 assertEquals("true", socketOptions.others.get("SO_REUSEADDR")); in getSocketOptions() 93 assertEquals("4000", socketOptions.others.get("SO_RECVBUF")); in getSocketOptions() 94 assertEquals("5000", socketOptions.others.get("SO_SNDBUF")); in getSocketOptions() 95 assertEquals("true", socketOptions.others.get("SO_KEEPALIVE")); in getSocketOptions() 96 assertEquals("true", socketOptions.others.get("SO_OOBINLINE")); in getSocketOptions() 97 assertEquals("8", socketOptions.others.get("IP_TOS")); in getSocketOptions()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | UtilsTest.java | 134 InternalChannelz.SocketOptions socketOptions = Utils.getSocketOptions(channel); in channelOptionsTest_noLinger() local 135 assertNull(socketOptions.lingerSeconds); in channelOptionsTest_noLinger() 141 SocketOptions socketOptions = setAndValidateGeneric(channel); in channelOptionsTest_oio() local 142 assertEquals(250, (int) socketOptions.soTimeoutMillis); in channelOptionsTest_oio() 148 SocketOptions socketOptions = setAndValidateGeneric(channel); in channelOptionsTest_nio() local 149 assertNull(socketOptions.soTimeoutMillis); in channelOptionsTest_nio() 161 InternalChannelz.SocketOptions socketOptions = Utils.getSocketOptions(channel); in setAndValidateGeneric() local 162 assertEquals(3, (int) socketOptions.lingerSeconds); in setAndValidateGeneric() 163 assertEquals("true", socketOptions.others.get("SO_KEEPALIVE")); in setAndValidateGeneric() 166 socketOptions.others.get(ChannelOption.WRITE_BUFFER_WATER_MARK.toString())); in setAndValidateGeneric() [all …]
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | ChannelzTestHelper.java | 60 InternalChannelz.SocketOptions socketOptions field in ChannelzTestHelper.TestSocket 72 socketOptions, in getStats()
|
D | ChannelzProtoUtilTest.java | 388 socket.socketOptions in toSocket_withDataWithOptions() 414 socket.socketOptions = toBuilder(socket.socketOptions) in extractSocketData()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | InternalChannelz.java | 704 public final SocketOptions socketOptions; field in InternalChannelz.SocketStats 713 SocketOptions socketOptions, in SocketStats() argument 718 this.socketOptions = checkNotNull(socketOptions); in SocketStats()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | AbstractTransportTest.java | 1726 assertNotNull(clientSocketStats.socketOptions.lingerSeconds); in socketStats() 1727 assertTrue(clientSocketStats.socketOptions.others.containsKey("SO_SNDBUF")); in socketStats() 1733 assertNotNull(serverSocketStats.socketOptions.lingerSeconds); in socketStats() 1734 assertTrue(serverSocketStats.socketOptions.others.containsKey("SO_SNDBUF")); in socketStats()
|
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/ |
D | ChannelzProtoUtil.java | 239 builder.addAllOption(toSocketOptionsList(socketStats.socketOptions)); in extractSocketData()
|