HomeSort by relevance Sort by last modified time
    Searched defs:inetAddress (Results 1 - 18 of 18) sorted by null

  /cts/tests/tests/net/src/android/net/cts/
SSLCertificateSocketFactoryTest.java 20 import java.net.InetAddress;
53 InetAddress inetAddress = null;
54 inetAddress = InetAddress.getLocalHost();
56 mFactory.createSocket(inetAddress, port);
63 InetAddress inetAddress1 = InetAddress.getLocalHost();
64 InetAddress inetAddress2 = InetAddress.getLocalHost()
    [all...]
  /external/nist-sip/java/gov/nist/core/
Host.java 60 * at the end of IPv6 addresses generated by InetAddress.getHostAddress().
81 private InetAddress inetAddress;
174 if (inetAddress == null)
175 inetAddress = InetAddress.getByName(hostname);
176 rawIpAddress = inetAddress.getHostAddress();
208 //set inetAddress to null so that it would be reinited
210 inetAddress = null;
267 public InetAddress getInetAddress() throws java.net.UnknownHostException
    [all...]
  /frameworks/base/core/java/android/net/
DhcpInfoInternal.java 23 import java.net.InetAddress;
66 InetAddress inetAddress = NetworkUtils.numericToInetAddress(addr);
67 if (inetAddress instanceof Inet4Address) {
68 return NetworkUtils.inetAddressToInt(inetAddress);
85 InetAddress inetAddress = NetworkUtils.numericToInetAddress(ipAddress);
ConnectivityManager.java 29 import java.net.InetAddress;
507 InetAddress inetAddress = NetworkUtils.intToInetAddress(hostAddress);
509 if (inetAddress == null) {
513 return requestRouteToHostAddress(networkType, inetAddress);
526 public boolean requestRouteToHostAddress(int networkType, InetAddress hostAddress) {
  /packages/apps/Mms/src/com/android/mms/transaction/
Transaction.java 29 import java.net.InetAddress;
250 InetAddress inetAddress;
252 inetAddress = InetAddress.getByName(hostname);
258 addrBytes = inetAddress.getAddress();
  /libcore/luni/src/test/java/libcore/java/net/
InetAddressTest.java 21 import java.net.InetAddress;
68 return (Inet6Address) InetAddress.getByAddress(LOOPBACK6_BYTES);
72 return (Inet6Address) InetAddress.getByAddress("localhost", LOOPBACK6_BYTES);
77 assertEquals("/1.2.3.4", InetAddress.parseNumericAddress("1.2.3.4").toString());
79 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("2001:4860:800d::68").toString());
81 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("[2001:4860:800d::68]").toString());
82 assertEquals("/127.0.0.1", InetAddress.parseNumericAddress("[::ffff:127.0.0.1]").toString());
85 InetAddress.parseNumericAddress("example.com"); // Not numeric.
92 InetAddress.parseNumericAddress(invalid);
98 // Strange special cases, for compatibility with InetAddress.getByName
    [all...]
OldDatagramSocketTest.java 29 import java.net.InetAddress;
92 public DatagramServer(int aPort, InetAddress address)
184 // Test for method java.net.DatagramSocket(int, java.net.InetAddress)
187 ds = new java.net.DatagramSocket(portNumber, InetAddress
192 .getLocalAddress().equals(InetAddress.getLocalHost()));
211 new java.net.DatagramSocket(8080, InetAddress
226 new java.net.DatagramSocket(1, InetAddress
241 dp = new DatagramPacket("Test String".getBytes(), 11, InetAddress
259 InetAddress inetAddress = InetAddress.getLocalHost()
    [all...]
  /development/apps/Development/src/com/android/development/
Connectivity.java 65 import java.net.InetAddress;
410 InetAddress inetAddress = null;
412 inetAddress = InetAddress.getByName(url);
418 mCm.requestRouteToHostAddress(ConnectivityManager.TYPE_MOBILE_HIPRI, inetAddress);
449 Log.d(TAG, " inetAddress:" + ((InetAddress)inetAddressess.nextElement()));
491 Log.d(TAG, " addr:" + ((InetAddress)inetAddressess.nextElement()));
493 InetAddress local = null
    [all...]
  /libcore/luni/src/main/java/java/net/
InetAddress.java 48 * families, and should use {@code InetAddress}.
50 * <p>An {@code InetAddress} may have a hostname (accessible via {@code getHostName}), but may not,
51 * depending on how the {@code InetAddress} was created.
120 * InetAddress and by the C library, which meant that DNS TTLs could not be honored correctly.
126 public class InetAddress implements Serializable {
142 public static final InetAddress UNSPECIFIED = new InetAddress(AF_UNSPEC, null, null);
145 * Constructs an {@code InetAddress}.
149 InetAddress(int family, byte[] ipaddress, String hostName) {
156 * Compares this {@code InetAddress} instance against the specified addres
    [all...]
  /libcore/luni/src/main/java/java/nio/
SocketChannelImpl.java 26 import java.net.InetAddress;
77 private InetAddress localAddress = null;
113 InetAddress addr = null;
155 InetAddress normalAddr = inetSocketAddress.getAddress();
160 normalAddr = InetAddress.getLocalHost();
235 InetAddress inetAddress = connectAddress.getAddress();
237 finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
430 public InetAddress getLocalAddress() throws UnknownHostException {
496 public InetAddress getLocalAddress()
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiWatchdogStateMachine.java 52 import java.net.InetAddress;
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLSocketImpl.java 25 import java.net.InetAddress;
124 protected OpenSSLSocketImpl(InetAddress address, int port, SSLParametersImpl sslParameters)
133 InetAddress clientAddress, int clientPort,
140 protected OpenSSLSocketImpl(InetAddress address, int port,
141 InetAddress clientAddress, int clientPort,
449 InetAddress inetAddress = super.getInetAddress();
450 if (inetAddress != null) {
451 return inetAddress.getHostName();
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DatagramSocketTest.java 29 import java.net.InetAddress;
89 public DatagramServer(int aPort, InetAddress address)
115 * @tests java.net.DatagramSocket#DatagramSocket(int, java.net.InetAddress)
118 DatagramSocket ds = new DatagramSocket(0, InetAddress.getLocalHost());
120 assertEquals("Created socket with incorrect address", InetAddress
130 InetAddress.getLocalHost(), 0);
142 InetAddress inetAddress = InetAddress.getLocalHost();
143 ds.connect(inetAddress, 0)
    [all...]
  /libcore/luni/src/main/native/
libcore_io_Posix.cpp 225 jobject inetAddress = sockaddrToInetAddress(env, ss, &port);
226 if (inetAddress == NULL) {
230 "(Ljava/net/InetAddress;I)V");
231 return env->NewObject(JniConstants::inetSocketAddressClass, ctor, inetAddress, port);
315 static jfieldID addressFid = env->GetFieldID(JniConstants::inetSocketAddressClass, "addr", "Ljava/net/InetAddress;");
597 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, address, NULL));
598 if (inetAddress.get() == NULL) {
601 env->SetObjectArrayElement(result, index, inetAddress.get());
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
SIPDialog.java 67 import java.net.InetAddress;
    [all...]
  /frameworks/base/services/java/com/android/server/
ConnectivityService.java 95 import java.net.InetAddress;
290 private InetAddress mDefaultDns;
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.mortbay.jetty.util_6.1.23.v201004211559.jar 
org.mortbay.jetty.server_6.1.23.v201004211559.jar 

Completed in 2044 milliseconds