Home
last modified time | relevance | path

Searched defs:inetAddress (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java250 InetAddress inetAddress = InetAddress.getByName("www.google.com"); in test_isReachable() local
251 new SerializationTester<InetAddress>(inetAddress, s) { in test_isReachable() argument
267 InetAddress inetAddress = InetAddress.getByName("www.google.com"); in test_isReachable_neverThrows() local
493 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTES); in test_getHostNameCaches() local
507 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK4_BYTES); in test_getByAddress_loopbackIpv4() local
514 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTES); in test_getByAddress_loopbackIpv6() local
521 InetAddress inetAddress = InetAddress.getByName("127.0.0.1"); in test_getByName_loopbackIpv4() local
528 InetAddress inetAddress = InetAddress.getByName("::1"); in test_getByName_loopbackIpv6() local
535 InetAddress inetAddress = InetAddress.getByName(""); in test_getByName_empty() local
544 InetAddress inetAddress = inetAddresses[0]; in test_getAllByName_localhost() local
[all …]
DInetSocketAddressTest.java176 InetAddress inetAddress = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_getHostString_cachingBehavior() local
/libcore/luni/src/test/java/libcore/libcore/net/
DInetAddressUtilsTest.java84 InetAddress inetAddress = InetAddressUtils.parseNumericAddress(address); in parseNumericAddress() local
92 InetAddress inetAddress = InetAddressUtils.parseNumericAddress(address); in test_parseNonNumericAddress() local
103 InetAddress inetAddress = InetAddressUtils.parseNumericAddress(null); in test_parseNumericAddress_null() local
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java163 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce… in connect()
177 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect()
198 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout… in connectErrno()
246 private static String createMessageForException(FileDescriptor fd, InetAddress inetAddress, in createMessageForException()
319 public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, in isConnected()
679 …ull byte[] bytes, int byteOffset, int byteCount, int flags, @Nullable InetAddress inetAddress, int… in sendto()
694 …atic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto()
DBlockGuardOs.java388 …blic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto()
393 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
DLinux.java220 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto()
233 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
240 …tor fd, Object buffer, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendtoBytes()
DForwardingOs.java713 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto()
718 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
DOs.java574 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto()
579 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java151 InetAddress inetAddress = InetAddress.getLocalHost(); in test_connectLjava_net_InetAddressI() local
159 InetAddress inetAddress = in test_connectLjava_net_InetAddressI() local
316 InetAddress inetAddress = InetAddress.getByAddress(addressBytes); in testConnect_zeroAddress() local
323 InetAddress inetAddress = InetAddress.getByAddress(addressTestBytes); in testConnect_zeroAddress() local
330 InetAddress inetAddress = InetAddress.getLocalHost(); in test_disconnect() local
338 InetAddress inetAddress = in test_disconnect() local
/libcore/luni/src/main/native/
DNetworkUtilities.cpp104 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr()
205 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim()
209 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()
Dlibcore_io_Linux.cpp399 jobject inetAddress = sockaddrToInetAddress(env, ss, &port); in makeSocketAddress() local
1424 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, address, NULL)); in Linux_android_getaddrinfo() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelTest.java307 InetAddress inetAddress = inetAddresses.nextElement(); in getNonLoopbackNetworkInterfaceAddress() local
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetAddress.java197 java.lang.String address, java.net.InetAddress inetAddress) { in disallowDeprecatedFormats()
/libcore/luni/src/main/java/android/system/
DOs.java653 …atic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto()
658 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()