Searched refs:inetAddress (Results 1 - 4 of 4) sorted by relevance

/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DOSNetworkSystem.java101 * @param inetAddress
106 public void bind(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketException { argument
107 socketBindImpl(fd, port, inetAddress);
110 static native void socketBindImpl(FileDescriptor aFD, int port, InetAddress inetAddress) throws SocketException; argument
114 InetAddress inetAddress, int port) throws IOException{
115 connectStreamWithTimeoutSocketImpl(fd, port, 0, trafficClass, inetAddress);
120 int trafficClass, InetAddress inetAddress) throws SocketException {
121 connectDatagramImpl2(fd, port, trafficClass, inetAddress);
125 int trafficClass, InetAddress inetAddress) throws SocketException;
128 int aport, int timeout, int trafficClass, InetAddress inetAddress)
113 connect(FileDescriptor fd, int trafficClass, InetAddress inetAddress, int port) argument
119 connectDatagram(FileDescriptor fd, int port, int trafficClass, InetAddress inetAddress) argument
124 connectDatagramImpl2(FileDescriptor aFD, int port, int trafficClass, InetAddress inetAddress) argument
127 connectStreamWithTimeoutSocket(FileDescriptor aFD, int aport, int timeout, int trafficClass, InetAddress inetAddress) argument
134 connectStreamWithTimeoutSocketImpl(FileDescriptor aFD, int aport, int timeout, int trafficClass, InetAddress inetAddress) argument
140 connectWithTimeout(FileDescriptor fd, int timeout, int trafficClass, InetAddress inetAddress, int port, int step, byte[] context) argument
568 sendDatagram(FileDescriptor fd, byte[] data, int offset, int length, int port, boolean bindToDevice, int trafficClass, InetAddress inetAddress) argument
575 sendDatagramImpl(FileDescriptor fd, byte[] data, int offset, int length, int port, boolean bindToDevice, int trafficClass, InetAddress inetAddress) argument
579 sendDatagram2(FileDescriptor fd, byte[] data, int offset, int length, int port, InetAddress inetAddress) argument
584 sendDatagramImpl2(FileDescriptor fd, byte[] data, int offset, int length, int port, InetAddress inetAddress) argument
588 sendDatagramDirect(FileDescriptor fd, int address, int offset, int length, int port, boolean bindToDevice, int trafficClass, InetAddress inetAddress) argument
595 sendDatagramDirectImpl(FileDescriptor fd, int address, int offset, int length, int port, boolean bindToDevice, int trafficClass, InetAddress inetAddress) argument
[all...]
H A DINetworkSystem.java54 public void bind(FileDescriptor aFD, InetAddress inetAddress, int port) argument
82 InetAddress inetAddress, int port) throws IOException;
93 InetAddress inetAddress) throws IOException;
97 InetAddress inetAddress) throws IOException;
130 InetAddress inetAddress) throws SocketException;
163 int timeout, int trafficClass, InetAddress inetAddress)
167 int length, int port, InetAddress inetAddress) throws IOException;
81 connect(FileDescriptor aFD, int trafficClass, InetAddress inetAddress, int port) argument
91 sendDatagram(FileDescriptor fd, byte[] data, int offset, int length, int port, boolean bindToDevice, int trafficClass, InetAddress inetAddress) argument
95 sendDatagramDirect(FileDescriptor fd, int address, int offset, int length, int port, boolean bindToDevice, int trafficClass, InetAddress inetAddress) argument
129 connectDatagram(FileDescriptor aFD, int port, int trafficClass, InetAddress inetAddress) argument
162 connectStreamWithTimeoutSocket(FileDescriptor aFD, int aport, int timeout, int trafficClass, InetAddress inetAddress) argument
166 sendDatagram2(FileDescriptor fd, byte[] data, int offset, int length, int port, InetAddress inetAddress) argument
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DDatagramSocketTest.java307 InetAddress inetAddress = InetAddress.getLocalHost();
309 ds.connect(inetAddress, portNumber);
311 inetAddress));
325 InetAddress inetAddress = InetAddress
328 ds.connect(inetAddress, portNumber);
330 inetAddress));
407 InetAddress inetAddress = InetAddress.getLocalHost();
409 ds.connect(inetAddress, portNumber);
477 InetAddress inetAddress = InetAddress.getLocalHost();
479 ds.connect(inetAddress, portNumbe
[all...]
/dalvik/libcore/luni/src/main/native/
H A Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp1253 // Convert the inetAddress to an IPv4 address structure.
1764 jobject fileDescriptor, jint port, jobject inetAddress) {
1768 if (!inetAddressToSocketAddress(env, inetAddress, port, &socketAddress)) {
1870 jobject inetAddress = socketAddressToInetAddress(env, &sa); local
1871 if (inetAddress == NULL) {
1877 gCachedFields.socketimpl_address, inetAddress);
1911 jobject fileDescriptor, jint port, jint trafficClass, jobject inetAddress) {
1915 if (!inetAddressToSocketAddress(env, inetAddress, port, &sockAddr)) {
2116 jboolean bindToDevice, jint trafficClass, jobject inetAddress) {
2125 if (!inetAddressToSocketAddress(env, inetAddress, por
1763 osNetworkSystem_socketBindImpl(JNIEnv* env, jclass clazz, jobject fileDescriptor, jint port, jobject inetAddress) argument
1910 osNetworkSystem_connectDatagramImpl2(JNIEnv* env, jclass, jobject fileDescriptor, jint port, jint trafficClass, jobject inetAddress) argument
2113 osNetworkSystem_sendDatagramDirectImpl(JNIEnv* env, jclass clazz, jobject fileDescriptor, jint address, jint offset, jint length, jint port, jboolean bindToDevice, jint trafficClass, jobject inetAddress) argument
2144 osNetworkSystem_sendDatagramImpl(JNIEnv* env, jclass clazz, jobject fd, jbyteArray data, jint offset, jint length, jint port, jboolean bindToDevice, jint trafficClass, jobject inetAddress) argument
2229 osNetworkSystem_sendDatagramImpl2(JNIEnv* env, jclass clazz, jobject fileDescriptor, jbyteArray data, jint offset, jint length, jint port, jobject inetAddress) argument
[all...]

Completed in 126 milliseconds