Home
last modified time | relevance | path

Searched refs:socketStats (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java176 SocketStats socketStats = getFuture(obj.getStats()); in toSocket() local
179 .setLocal(toAddress(socketStats.local)); in toSocket()
180 if (socketStats.security != null) { in toSocket()
181 builder.setSecurity(toSecurity(socketStats.security)); in toSocket()
184 if (socketStats.remote != null) { in toSocket()
185 builder.setRemote(toAddress(socketStats.remote)); in toSocket()
187 builder.setData(extractSocketData(socketStats)); in toSocket()
215 static SocketData extractSocketData(SocketStats socketStats) { in extractSocketData() argument
217 if (socketStats.data != null) { in extractSocketData()
218 TransportStats s = socketStats.data; in extractSocketData()
[all …]
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerTest.java219 SocketStats socketStats = listenSocket.getStats().get(); in channelzListenSocket() local
220 assertEquals(ns.getPort(), ((InetSocketAddress) socketStats.local).getPort()); in channelzListenSocket()
221 assertNull(socketStats.remote); in channelzListenSocket()
/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessTransportTest.java71 public void socketStats() throws Exception { in socketStats() method in InProcessTransportTest
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java1705 public void socketStats() throws Exception { in socketStats() method in AbstractTransportTest