/libcore/benchmarks/src/benchmarks/regression/ |
SSLLoopbackBenchmark.java | 23 import java.net.InetAddress;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
Transaction.java | 21 import java.net.InetAddress; 213 InetAddress inetAddr; 217 inetAddr = InetAddress.getByName(proxyAddr); 228 inetAddr = InetAddress.getByName(uri.getHost());
|
/cts/tests/tests/net/src/android/net/rtp/cts/ |
AudioGroupTest.java | 29 import java.net.InetAddress; 48 InetAddress local = InetAddress.getByName("::1");
|
/external/apache-http/src/org/apache/http/impl/ |
SocketHttpClientConnection.java | 35 import java.net.InetAddress; 122 public InetAddress getLocalAddress() { 138 public InetAddress getRemoteAddress() {
|
SocketHttpServerConnection.java | 35 import java.net.InetAddress; 120 public InetAddress getLocalAddress() { 136 public InetAddress getRemoteAddress() {
|
/external/guava/guava/src/com/google/common/net/ |
HostSpecifier.java | 22 import java.net.InetAddress; 44 * {@link java.net.InetAddress} instance from it rather than using this class. 86 InetAddress addr = null;
|
/external/nist-sip/java/gov/nist/javax/sip/ |
SipStackExt.java | 11 import java.net.InetAddress; 142 public SocketAddress obtainLocalAddress(InetAddress dst, int dstPort, 143 InetAddress localAddress, int localPort)
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpAuthenticator.java | 26 import java.net.InetAddress; 80 private InetAddress getConnectToInetAddress(Proxy proxy, URL url) throws IOException { 83 : InetAddress.getByName(url.getHost());
|
/frameworks/base/core/java/android/net/ |
ProxyDataTracker.java | 34 import java.net.InetAddress; 111 mLinkProperties.addDnsServer(InetAddress.getByName(DNS1)); 112 mLinkProperties.addDnsServer(InetAddress.getByName(DNS2));
|
SntpClient.java | 24 import java.net.InetAddress; 77 InetAddress address = InetAddress.getByName(host);
|
/frameworks/base/core/java/com/android/internal/net/ |
VpnProfile.java | 24 import java.net.InetAddress; 180 InetAddress.parseNumericAddress(server); 183 InetAddress.parseNumericAddress(this.dnsServers);
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsNetworkManager.java | 31 import java.net.InetAddress; 207 public InetAddress[] getAllByName(String host) throws UnknownHostException { 212 return new InetAddress[0];
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
IOHandler.java | 75 protected static String makeKey(InetAddress addr, int port) { 133 public SocketAddress obtainLocalAddress(InetAddress dst, int dstPort, 134 InetAddress localAddress, int localPort) throws IOException { 159 public Socket sendBytes(InetAddress senderAddress, InetAddress receiverAddress,
|
/frameworks/base/core/tests/coretests/src/android/net/ |
LinkAddressTest.java | 21 import java.net.InetAddress; 51 private static final InetAddress V4_ADDRESS = NetworkUtils.numericToInetAddress(V4); 52 private static final InetAddress V6_ADDRESS = NetworkUtils.numericToInetAddress(V6); 117 fail("Null InetAddress should cause IllegalArgumentException"); 284 // Because we use InetAddress, an IPv4 address is equal to its IPv4-mapped address.
|
RouteInfoTest.java | 20 import java.net.InetAddress; 31 private InetAddress Address(String addr) { 32 return InetAddress.parseNumericAddress(addr); 76 public PatchedRouteInfo(IpPrefix destination, InetAddress gateway, String iface) { 80 public boolean matches(InetAddress destination) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SinkChannelTest.java | 20 import java.net.InetAddress; 466 ssc.socket().bind(new InetSocketAddress(InetAddress.getLocalHost(),49999)); 475 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999)); 490 ssc.socket().bind(new InetSocketAddress(InetAddress.getLocalHost(),49999)); 492 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999));
|
/libcore/luni/src/main/java/java/net/ |
DatagramPacket.java | 44 private InetAddress address; 95 public DatagramPacket(byte[] data, int offset, int length, InetAddress host, int aPort) { 116 public DatagramPacket(byte[] data, int length, InetAddress host, int port) { 126 public synchronized InetAddress getAddress() { 173 public synchronized void setAddress(InetAddress addr) {
|
DatagramSocket.java | 41 InetAddress address; 95 public DatagramSocket(int aPort, InetAddress addr) throws SocketException { 154 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { 168 * Gets the {@code InetAddress} instance representing the remote address to 174 public InetAddress getInetAddress() { 182 public InetAddress getLocalAddress() { 289 InetAddress packAddr = pack.getAddress(); 467 InetAddress addr; 494 public void onBind(InetAddress localAddress, int localPort) { 538 public void onConnect(InetAddress remoteAddress, int remotePort) [all...] |
/libcore/luni/src/main/java/android/system/ |
Os.java | 37 import java.net.InetAddress; 64 /** @hide */ public static InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_getaddrinfo(node, hints, netId); } 69 public static void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { Libcore.os.bind(fd, address, port); } 89 public static void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { Libcore.os.connect(fd, address, port); } 180 /** @hide */ public static String getnameinfo(InetAddress address, int flags) throws GaiException { return Libcore.os.getnameinfo(address, flags); } 207 /** @hide */ public static InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.getsockoptInAddr(fd, level, option); } 231 public static InetAddress inet_pton(int family, String address) { return Libcore.os.inet_pton(family, address); } 233 /** @hide */ public static InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return Libcore.os.ioctlInetAddress(fd, cmd, interfaceName); } 404 public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return Libcore.os.sendto(fd, buffer, flags, in (…) [all...] |
/external/jmdns/src/javax/jmdns/ |
ServiceInfo.java | 8 import java.net.InetAddress; 475 public abstract InetAddress getAddress(); 478 * Get the InetAddress of the service. This will return the IPv4 if it exist, otherwise it return the IPv6 if set.<br/> 486 public abstract InetAddress getInetAddress(); 489 * Get the IPv4 InetAddress of the service.<br/> 500 * Get the IPv6 InetAddress of the service.<br/> 516 * @return list of InetAddress objects 518 public abstract InetAddress[] getInetAddresses(); 526 * @return list of InetAddress objects 536 * @return list of InetAddress object [all...] |
/libcore/luni/src/main/java/java/nio/ |
DatagramChannelImpl.java | 29 import java.net.InetAddress; 64 InetAddress localAddress; 149 InetAddress remoteAddress = inetSocketAddress.getAddress(); 176 void onConnect(InetAddress remoteAddress, int remotePort, boolean updateSocketState) { 194 Libcore.os.connect(fd, InetAddress.UNSPECIFIED, 0); 580 public void connect(InetAddress address, int port) {
|
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
StrictModeActivity.java | 71 import java.net.InetAddress; 154 + "(may be cached by InetAddress)"); 156 InetAddress[] addrs = InetAddress.getAllByName("www.l.google.com"); 170 InetAddress addr = InetAddress.getByName(domain);
|
/frameworks/base/core/jni/ |
android_net_NetUtils.cpp | 133 // dhcpResults->addLinkAddress(inetAddress, prefixLength) 145 // dhcpResults->addDns(new InetAddress(dns1)) 168 // dhcpResults->setServerAddress(new InetAddress(server))
|
/frameworks/base/docs/html/sdk/api_diff/19/changes/ |
android.net.wifi.WifiManager.html | 86 <A NAME="android.net.wifi.WifiManager.setTdlsEnabled_added(java.net.InetAddress, boolean)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/net/wifi/WifiManager.html#setTdlsEnabled(java.net.InetAddress, boolean)" target="_top"><code>setTdlsEnabled</code></A>(<code>InetAddress,</nobr> boolean<nobr><nobr></code>)</nobr>
|
pkg_java.net.html | 98 <A NAME="InetAddress"></A> 99 <nobr><A HREF="java.net.InetAddress.html">InetAddress</A></nobr>
|