/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 249 InetAddress inetAddress = InetAddress.getByName("www.google.com"); in test_isReachable() local 250 new SerializationTester<InetAddress>(inetAddress, s) { in test_isReachable() argument 266 InetAddress inetAddress = InetAddress.getByName("www.google.com"); in test_isReachable_neverThrows() local 467 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTES); in test_getHostNameCaches() local 481 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK4_BYTES); in test_getByAddress_loopbackIpv4() local 488 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTES); in test_getByAddress_loopbackIpv6() local 495 InetAddress inetAddress = InetAddress.getByName("127.0.0.1"); in test_getByName_loopbackIpv4() local 502 InetAddress inetAddress = InetAddress.getByName("::1"); in test_getByName_loopbackIpv6() local 509 InetAddress inetAddress = InetAddress.getByName(""); in test_getByName_empty() local 518 InetAddress inetAddress = inetAddresses[0]; in test_getAllByName_localhost() local [all …]
|
D | InetSocketAddressTest.java | 176 InetAddress inetAddress = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_getHostString_cachingBehavior() local
|
/libcore/luni/src/test/java/libcore/libcore/net/ |
D | InetAddressUtilsTest.java | 85 InetAddress inetAddress = InetAddressUtils.parseNumericAddress(address); in parseNumericAddress() local 93 InetAddress inetAddress = InetAddressUtils.parseNumericAddress(address); in test_parseNonNumericAddress() local 104 InetAddress inetAddress = InetAddressUtils.parseNumericAddress(null); in test_parseNumericAddress_null() local
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 93 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr() 194 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim() 198 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()
|
D | libcore_io_Linux.cpp | 387 jobject inetAddress = sockaddrToInetAddress(env, ss, &port); in makeSocketAddress() local 1380 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, address, NULL)); in Linux_android_getaddrinfo() local
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 121 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce… in connect() 133 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect() 154 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout… in connectErrno() 200 private static String createMessageForException(FileDescriptor fd, InetAddress inetAddress, in createMessageForException() 260 public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, in isConnected() 549 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto() 563 …atic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto()
|
D | BlockGuardOs.java | 356 …blic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto() 361 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
|
D | Linux.java | 218 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto() 231 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto() 238 …tor fd, Object buffer, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendtoBytes()
|
D | Os.java | 161 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto() 162 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
|
D | ForwardingOs.java | 193 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto() 194 …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/ |
D | DatagramSocketTest.java | 151 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/test/java/libcore/android/system/ |
D | OsTest.java | 1390 InetAddress inetAddress = Os.inet_pton(AF_INET, srcAddress); in testInetPtonIpv4() local 1396 InetAddress inetAddress = Os.inet_pton(AF_INET6, srcAddress); in testInetPtonIpv6() local 1402 InetAddress inetAddress = Os.inet_pton(AF_UNIX, srcAddress); in testInetPtonInvalidFamily() local 1408 InetAddress inetAddress = Os.inet_pton(AF_INET6, srcAddress); in testInetPtonWrongFamily() local 1414 InetAddress inetAddress = Os.inet_pton(AF_INET, srcAddress); in testInetPtonInvalidData() local
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | DatagramChannelTest.java | 283 InetAddress inetAddress = inetAddresses.nextElement(); in getNonLoopbackNetworkInterfaceAddress() local
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | InetAddress.java | 194 java.lang.String address, java.net.InetAddress inetAddress) { in disallowDeprecatedFormats()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 522 …atic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto() 527 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
|