Home
last modified time | relevance | path

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

/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java326 assertEquals(channelRef, ChannelzProtoUtil.toChannelRef(channel)); in toChannelRef()
331 assertEquals(subchannelRef, ChannelzProtoUtil.toSubchannelRef(subchannel)); in toSubchannelRef()
336 assertEquals(serverRef, ChannelzProtoUtil.toServerRef(server)); in toServerRef()
341 assertEquals(socketRef, ChannelzProtoUtil.toSocketRef(socket)); in toSocketRef()
349 ChannelzProtoUtil.toState(connectivityState).getValueDescriptor().getName()); in toState()
351 assertEquals(State.UNKNOWN, ChannelzProtoUtil.toState(null)); in toState()
364 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataNoOptions()
383 ChannelzProtoUtil.toSocket(listenSocket)); in toSocket_noDataWithOptions()
403 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataWithOptions()
411 ChannelzProtoUtil.extractSocketData(socket.getStats().get())); in extractSocketData()
[all …]
DChannelzServiceTest.java69 .addChannel(ChannelzProtoUtil.toChannel(root)) in getTopChannels_onePage()
84 .setChannel(ChannelzProtoUtil.toChannel(root)) in getChannel()
101 .setSubchannel(ChannelzProtoUtil.toSubchannel(subchannel)) in getSubchannel()
124 .addServer(ChannelzProtoUtil.toServer(server)) in getServers_onePage()
139 .setSocket(ChannelzProtoUtil.toSocket(socket)) in getSocket()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzService.java71 responseObserver.onNext(ChannelzProtoUtil.toGetTopChannelResponse(rootChannels)); in getTopChannels()
88 .setChannel(ChannelzProtoUtil.toChannel(s)) in getChannel()
99 responseObserver.onNext(ChannelzProtoUtil.toGetServersResponse(servers)); in getServers()
116 .setSubchannel(ChannelzProtoUtil.toSubchannel(s)) in getSubchannel()
134 .setSocket(ChannelzProtoUtil.toSocket(s)) in getSocket()
149 responseObserver.onNext(ChannelzProtoUtil.toGetServerSocketsResponse(serverSockets)); in getServerSockets()
DChannelzProtoUtil.java84 final class ChannelzProtoUtil { class
85 private static final Logger logger = Logger.getLogger(ChannelzProtoUtil.class.getName());
87 private ChannelzProtoUtil() { in ChannelzProtoUtil() method in ChannelzProtoUtil
431 responseBuilder.addChannel(ChannelzProtoUtil.toChannel(c)); in toGetTopChannelResponse()
441 responseBuilder.addServer(ChannelzProtoUtil.toServer(s)); in toGetServersResponse()
451 responseBuilder.addSocketRef(ChannelzProtoUtil.toSocketRef(s)); in toGetServerSocketsResponse()