Home
last modified time | relevance | path

Searched refs:toSocket (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java175 Socket toSocket = new Socket(toAddress, port); in acceptCommand() local
176 byte[] localAddress = toSocket.getLocalAddress().getAddress(); in acceptCommand()
178 throw new ProtocolException("unexpected address: " + toSocket.getLocalAddress()); in acceptCommand()
187 fromSink.writeShort(toSocket.getLocalPort()); in acceptCommand()
193 BufferedSource toSource = Okio.buffer(Okio.source(toSocket)); in acceptCommand()
194 BufferedSink toSink = Okio.buffer(Okio.sink(toSocket)); in acceptCommand()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java364 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataNoOptions()
383 ChannelzProtoUtil.toSocket(listenSocket)); in toSocket_noDataWithOptions()
403 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataWithOptions()
452 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityTls()
462 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityTls()
472 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityTls()
487 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityOther()
DChannelzServiceTest.java139 .setSocket(ChannelzProtoUtil.toSocket(socket)) in getSocket()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzService.java134 .setSocket(ChannelzProtoUtil.toSocket(s)) in getSocket()
DChannelzProtoUtil.java175 static Socket toSocket(InternalInstrumented<SocketStats> obj) { in toSocket() method in ChannelzProtoUtil