/external/dagger2/java/dagger/grpc/server/ |
D | NettyServerModule.java | 35 private final SocketAddress socketAddress; field in NettyServerModule 37 private NettyServerModule(SocketAddress socketAddress) { in NettyServerModule() argument 38 this.socketAddress = socketAddress; in NettyServerModule() 51 public static NettyServerModule bindingTo(SocketAddress socketAddress) { in bindingTo() argument 52 return new NettyServerModule(socketAddress); in bindingTo() 57 return NettyServerBuilder.forAddress(socketAddress); in serverBuilder()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | UdpDataSource.java | 59 @Nullable private InetSocketAddress socketAddress; field in UdpDataSource 99 socketAddress = new InetSocketAddress(address, port); in open() 101 multicastSocket = new MulticastSocket(socketAddress); in open() 105 socket = new DatagramSocket(socketAddress); in open() 168 socketAddress = null; in close()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 316 InetSocketAddress socketAddress = InetSocketAddress.createUnresolved("host", 1234); in getHostString() local 317 assertEquals("host", RouteSelector.getHostString(socketAddress)); in getHostString() 318 socketAddress = InetSocketAddress.createUnresolved("127.0.0.1", 1234); in getHostString() 319 assertEquals("127.0.0.1", RouteSelector.getHostString(socketAddress)); in getHostString() 322 socketAddress = new InetSocketAddress(InetAddress.getByName("localhost"), 1234); in getHostString() 323 assertEquals("127.0.0.1", RouteSelector.getHostString(socketAddress)); in getHostString() 324 socketAddress = new InetSocketAddress( in getHostString() 326 assertEquals("127.0.0.1", RouteSelector.getHostString(socketAddress)); in getHostString() 327 socketAddress = new InetSocketAddress( in getHostString() 329 assertEquals("127.0.0.1", RouteSelector.getHostString(socketAddress)); in getHostString() [all …]
|
D | RecordingProxySelector.java | 46 InetSocketAddress socketAddress = (InetSocketAddress) sa; in connectFailed() local 48 String.format("%s %s:%d %s", uri, socketAddress.getHostName(), socketAddress.getPort(), in connectFailed()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | RouteSelector.java | 190 static String getHostString(InetSocketAddress socketAddress) { in getHostString() argument 191 InetAddress address = socketAddress.getAddress(); in getHostString() 196 return socketAddress.getHostName(); in getHostString()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | RouteSelector.java | 193 static String getHostString(InetSocketAddress socketAddress) { in getHostString() argument 194 InetAddress address = socketAddress.getAddress(); in getHostString() 199 return socketAddress.getHostName(); in getHostString()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ManagedChannelImplTest.java | 156 private final SocketAddress socketAddress = new SocketAddress() {}; field in ManagedChannelImplTest 157 private final EquivalentAddressGroup addressGroup = new EquivalentAddressGroup(socketAddress); 288 .setServers(Collections.singletonList(new EquivalentAddressGroup(socketAddress))) in idleModeDisabled() 315 .setServers(Collections.singletonList(new EquivalentAddressGroup(socketAddress))) in shutdownWithNoTransportsEverCreated() 559 .setServers(Collections.singletonList(new EquivalentAddressGroup(socketAddress))) in noMoreCallbackAfterLoadBalancerShutdown() 682 .setServers(Collections.singletonList(new EquivalentAddressGroup(socketAddress))) in nameResolutionFailed() 781 .setServers(Collections.singletonList(new EquivalentAddressGroup(socketAddress))) in loadBalancerThrowsInHandleResolvedAddresses() 1066 verify(mockTransportFactory).newClientTransport(socketAddress, clientTransportOptions); in subchannels() 1072 .newClientTransport(socketAddress, clientTransportOptions); in subchannels() 1079 .newClientTransport(socketAddress, clientTransportOptions); in subchannels() [all …]
|
D | DnsNameResolverTest.java | 364 ProxySocketAddress socketAddress = (ProxySocketAddress) eag.getAddresses().get(0); in doNotResolveWhenProxyDetected() local 365 assertSame(proxyParameters, socketAddress.getProxyParameters()); in doNotResolveWhenProxyDetected() 366 assertTrue(((InetSocketAddress) socketAddress.getAddress()).isUnresolved()); in doNotResolveWhenProxyDetected()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | SocksProxyTest.java | 74 @Override public void connectFailed(URI uri, SocketAddress socketAddress, IOException e) { in proxySelector()
|
D | CallTest.java | 1590 InetSocketAddress socketAddress = startNullServer(); in cancelDuringConnect() local 1594 .host(socketAddress.getHostName()) in cancelDuringConnect() 1595 .port(socketAddress.getPort()) in cancelDuringConnect()
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | BinlogHelperTest.java | 361 InetSocketAddress socketAddress = new InetSocketAddress(address, port); in socketToProto_ipv4() local 369 BinlogHelper.socketToProto(socketAddress)); in socketToProto_ipv4() 377 InetSocketAddress socketAddress = new InetSocketAddress(address, port); in socketToProto_ipv6() local 385 BinlogHelper.socketToProto(socketAddress)); in socketToProto_ipv6() 391 DomainSocketAddress socketAddress = new DomainSocketAddress(path); in socketToProto_unix() local 398 BinlogHelper.socketToProto(socketAddress) in socketToProto_unix()
|