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

  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
OSNetworkSystem.java 30 import java.net.InetAddress;
101 * @param inetAddress
106 public void bind(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketException {
107 socketBindImpl(fd, port, inetAddress);
110 static native void socketBindImpl(FileDescriptor aFD, int port, InetAddress inetAddress) throws SocketException;
114 InetAddress inetAddress, int port) throws IOException{
115 connectStreamWithTimeoutSocketImpl(fd, port, 0, trafficClass, inetAddress);
    [all...]
INetworkSystem.java 27 import java.net.InetAddress;
54 public void bind(FileDescriptor aFD, InetAddress inetAddress, int port)
82 InetAddress inetAddress, int port) throws IOException;
87 int trafficClass, InetAddress hostname, int port, int step,
93 InetAddress inetAddress) throws IOException;
97 InetAddress inetAddress) throws IOException
    [all...]
  /frameworks/base/core/java/android/net/
NetworkUtils.java 19 import java.net.InetAddress;
116 InetAddress inetAddress;
118 inetAddress = InetAddress.getByName(hostname);
124 addrBytes = inetAddress.getAddress();
  /cts/tests/tests/net/src/android/net/cts/
SSLCertificateSocketFactoryTest.java 20 import java.net.InetAddress;
76 args = {java.net.InetAddress.class, int.class}
91 args = {java.lang.String.class, int.class, java.net.InetAddress.class, int.class}
96 args = {java.net.InetAddress.class, int.class, java.net.InetAddress.class, int.class}
109 InetAddress inetAddress = null;
110 inetAddress = InetAddress.getLocalHost();
112 mFactory.createSocket(inetAddress, port)
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
Transaction.java 28 import java.net.InetAddress;
240 InetAddress inetAddress;
242 inetAddress = InetAddress.getByName(hostname);
248 addrBytes = inetAddress.getAddress();
  /dalvik/libcore/luni/src/test/java/tests/api/java/net/
DatagramSocketTest.java 35 import java.net.InetAddress;
101 public DatagramServer(int aPort, InetAddress address)
207 * @tests java.net.DatagramSocket#DatagramSocket(int, java.net.InetAddress)
213 args = {int.class, java.net.InetAddress.class}
216 // Test for method java.net.DatagramSocket(int, java.net.InetAddress)
219 ds = new java.net.DatagramSocket(portNumber, InetAddress
224 .getLocalAddress().equals(InetAddress.getLocalHost()));
242 new java.net.DatagramSocket(8080, InetAddress
256 new java.net.DatagramSocket(1, InetAddress
280 dp = new DatagramPacket("Test String".getBytes(), 11, InetAddress
    [all...]
  /dalvik/libcore/luni/src/main/native/
org_apache_harmony_luni_platform_OSNetworkSystem.cpp 321 * Converts a native address structure to an InetAddress object.
327 * @return a jobject representing an InetAddress
368 * Converts an InetAddress object and port number to a native address structure.
404 * Converts an InetAddress object and port number to a native address structure.
406 static bool inetAddressToSocketAddress(JNIEnv *env, jobject inetaddress,
408 // Get the byte array that stores the IP address bytes in the InetAddress.
409 if (inetaddress == NULL) {
414 reinterpret_cast<jbyteArray>(env->GetObjectField(inetaddress,
    [all...]

Completed in 1036 milliseconds