HomeSort by relevance Sort by last modified time
    Searched refs:InetAddress (Results 176 - 200 of 315) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/net/android/java/src/org/chromium/net/
AndroidNetworkLibrary.java 19 import java.net.InetAddress;
168 Enumeration<InetAddress> addressList = netIf.getInetAddresses();
170 InetAddress address = addressList.nextElement();
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpAuthenticator.java 23 import java.net.InetAddress;
75 private InetAddress getConnectToInetAddress(Proxy proxy, URL url) throws IOException {
78 : InetAddress.getByName(url.getHost());
  /frameworks/base/core/java/android/net/
SntpClient.java 25 import java.net.InetAddress;
78 InetAddress address = InetAddress.getByName(host);
CaptivePortalTracker.java 49 import java.net.InetAddress;
214 InetAddress server;
282 InetAddress server = lookupHost(mServer);
372 private boolean isCaptivePortal(InetAddress server) {
417 private InetAddress lookupHost(String hostname) {
418 InetAddress inetAddress[];
420 inetAddress = InetAddress.getAllByName(hostname);
426 for (InetAddress a : inetAddress)
    [all...]
SSLCertificateSocketFactory.java 25 import java.net.InetAddress;
62 * use {@link InetAddress} or which return an unconnected socket, you MUST
466 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort)
485 public Socket createSocket(InetAddress addr, int port) throws IOException {
501 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort)
  /frameworks/base/core/java/com/android/internal/net/
VpnConfig.java 30 import java.net.InetAddress;
83 (InetAddress.parseNumericAddress(split[0]), Integer.parseInt(split[1])), null);
96 LinkAddress addr = new LinkAddress(InetAddress.parseNumericAddress(split[0]),
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaFrameworkTest.java 49 import java.net.InetAddress;
130 InetAddress address = InetAddress.getByAddress(MediaNames.STREAM_SERVER);
  /libcore/crypto/src/main/java/org/conscrypt/
SSLSocketWrapper.java 22 import java.net.InetAddress;
90 public InetAddress getLocalAddress() {
95 public InetAddress getInetAddress() {
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketFactoriesTest.java 23 import java.net.InetAddress;
119 + "createServerSocket(int,int,InetAddress)");
152 + "String,int,InetAddress,int)");
157 InetAddress.getByName("localhost"), 0);
162 + "InetAddress,int)");
165 InetAddress.getByName("localhost"),
171 + "InetAddress,int,InetAddress,int)");
174 InetAddress.getByName("localhost"),
176 InetAddress.getByName("localhost")
    [all...]
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/serialization/
KerberosTicketTest.java 21 import java.net.InetAddress;
62 private static final InetAddress[] addesses = null;
  /frameworks/base/core/tests/coretests/src/android/net/
LinkPropertiesTest.java 24 import java.net.InetAddress;
28 private static InetAddress ADDRV4 = NetworkUtils.numericToInetAddress("75.208.6.1");
29 private static InetAddress ADDRV6 = NetworkUtils.numericToInetAddress(
31 private static InetAddress DNS1 = NetworkUtils.numericToInetAddress("75.208.7.1");
32 private static InetAddress DNS2 = NetworkUtils.numericToInetAddress("69.78.7.1");
33 private static InetAddress GATEWAY1 = NetworkUtils.numericToInetAddress("75.208.8.1");
34 private static InetAddress GATEWAY2 = NetworkUtils.numericToInetAddress("69.78.8.1");
242 InetAddress address = ADDRV6;
  /libcore/luni/src/main/java/java/nio/
SocketChannelImpl.java 26 import java.net.InetAddress;
77 private InetAddress localAddress = null;
122 InetAddress addr = null;
164 InetAddress normalAddr = inetSocketAddress.getAddress();
169 normalAddr = InetAddress.getLocalHost();
257 InetAddress inetAddress = connectAddress.getAddress();
259 finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
452 public InetAddress getLocalAddress() throws UnknownHostException {
516 public InetAddress getLocalAddress()
    [all...]
  /external/apache-http/src/org/apache/http/conn/routing/
RouteTracker.java 34 import java.net.InetAddress;
59 private final InetAddress localAddress;
88 public RouteTracker(HttpHost target, InetAddress local) {
221 public final InetAddress getLocalAddress() {
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultClientConnectionOperator.java 37 import java.net.InetAddress;
102 InetAddress local,
137 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName());
  /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...]
  /external/jmdns/src/javax/jmdns/impl/
DNSRecord.java 12 import java.net.InetAddress;
40 private InetAddress _source;
89 abstract DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException;
175 IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) {
217 IPv6Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) {
266 InetAddress _addr;
268 protected Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) {
276 this._addr = InetAddress.getByAddress(rawAddress);
310 InetAddress getAddress() {
384 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException
    [all...]
  /external/nist-sip/java/gov/nist/core/
HostPort.java 143 public InetAddress getInetAddress() throws java.net.UnknownHostException {
  /frameworks/base/wifi/java/android/net/wifi/
WifiInfo.java 25 import java.net.InetAddress;
73 private InetAddress mIpAddress;
230 void setInetAddress(InetAddress address) {
352 info.setInetAddress(InetAddress.getByAddress(in.createByteArray()));
  /libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java 22 import java.net.InetAddress;
83 @Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException {
167 @Override public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
169 return os.sendto(fd, buffer, flags, inetAddress, port);
172 @Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
174 if (inetAddress != null) {
177 return os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
ForwardingOs.java 20 import java.net.InetAddress;
40 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.bind(fd, address, port); }
44 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.connect(fd, address, port); }
61 public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
66 public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
74 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptInAddr(fd, level, option); }
82 public InetAddress inet_pton(int family, String address) { return os.inet_pton(family, address); }
83 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioctlInetAddress(fd, cmd, interfaceName); }
113 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return os.sendto(fd, buffer, flags, inetAddres (…)
    [all...]
IoBridge.java 27 import java.net.InetAddress;
73 public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException {
95 * Connects socket 'fd' to 'inetAddress' on 'port', with no timeout. The lack of a timeout
98 public static boolean connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketException {
100 return IoBridge.connect(fd, inetAddress, port, 0);
107 * Connects socket 'fd' to 'inetAddress' on 'port', with a the given 'timeoutMs'.
110 public static boolean connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) throws SocketException, SocketTimeoutException {
112 return connectErrno(fd, inetAddress, port, timeoutMs)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
MockTransport.java 24 import java.net.InetAddress;
51 private InetAddress mLocalAddress;
218 public void setMockLocalAddress(InetAddress address) {
417 public InetAddress getLocalAddress() {
  /libcore/luni/src/test/java/libcore/java/net/
SocketTest.java 23 import java.net.InetAddress;
87 InetAddress host = InetAddress.getLocalHost();
153 @Override protected void bind(InetAddress arg0, int arg1) throws IOException { }
156 @Override protected void connect(InetAddress arg0, int arg1) throws IOException { }
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java 26 import java.net.InetAddress;
70 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
392 InetAddress socketAddress, int socketPort, boolean modernTls) {
400 private static InetAddress[] makeFakeAddresses(int prefix, int count) {
402 InetAddress[] result = new InetAddress[count];
405 InetAddress.getByAddress(new byte[] { (byte) prefix, (byte) 0, (byte) 0, (byte) i });
415 InetAddress[] inetAddresses;
417 @Override public InetAddress[] getAllByName(String host) throws UnknownHostException {
  /development/apps/Development/src/com/android/development/
Connectivity.java 66 import java.net.InetAddress;
504 InetAddress inetAddress = null;
506 inetAddress = InetAddress.getByName(mTdlsAddr);
507 mWm.setTdlsEnabled(inetAddress, true);
516 InetAddress inetAddress = null;
518 inetAddress = InetAddress.getByName(mTdlsAddr)
    [all...]

Completed in 2499 milliseconds

1 2 3 4 5 6 78 91011>>