Home
last modified time | relevance | path

Searched refs:socketAddress (Results 1 – 11 of 11) sorted by relevance

/external/dagger2/java/dagger/grpc/server/
DNettyServerModule.java35 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/
DUdpDataSource.java59 @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/
DRouteSelectorTest.java316 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 …]
DRecordingProxySelector.java46 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/
DRouteSelector.java190 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/
DRouteSelector.java193 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/
DManagedChannelImplTest.java156 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 …]
DDnsNameResolverTest.java364 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/
DSocksProxyTest.java74 @Override public void connectFailed(URI uri, SocketAddress socketAddress, IOException e) { in proxySelector()
DCallTest.java1590 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/
DBinlogHelperTest.java361 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()