/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpSessionHeadersTest.java | 7 import java.net.InetAddress; 26 InetAddress inetAddress = InetAddress.getByName(ipAddress); 27 NanoHTTPD.HTTPSession session = testServer.createSession(TEST_TEMP_FILE_MANAGER, inputStream, outputStream, inetAddress);
|
/cts/tests/tests/net/src/android/net/cts/ |
SSLCertificateSocketFactoryTest.java | 20 import java.net.InetAddress; 57 InetAddress inetAddress = null; 58 inetAddress = InetAddress.getLocalHost(); 60 mFactory.createSocket(inetAddress, port); 67 InetAddress inetAddress1 = InetAddress.getLocalHost(); 68 InetAddress inetAddress2 = InetAddress.getLocalHost() [all...] |
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
SettingsMenuFragment.java | 24 import java.net.InetAddress; 136 for (Enumeration<InetAddress> enumIpAddr = 139 InetAddress inetAddress = enumIpAddr.nextElement(); 140 if (!inetAddress.isLoopbackAddress()) { 143 localIp = inetAddress.getHostAddress().toString();
|
/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...] |
/libcore/luni/src/test/java/libcore/java/net/ |
InetAddressTest.java | 21 import java.net.InetAddress; 71 return (Inet6Address) InetAddress.getByAddress(LOOPBACK6_BYTES); 75 return (Inet6Address) InetAddress.getByAddress("localhost", LOOPBACK6_BYTES); 80 assertEquals("/1.2.3.4", InetAddress.parseNumericAddress("1.2.3.4").toString()); 82 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("2001:4860:800d::68").toString()); 84 assertEquals("/127.0.0.1", InetAddress.parseNumericAddress("::ffff:127.0.0.1").toString()); 86 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("[2001:4860:800d::68]").toString()); 87 assertEquals("/127.0.0.1", InetAddress.parseNumericAddress("[::ffff:127.0.0.1]").toString()); 90 InetAddress.parseNumericAddress("example.com"); // Not numeric. 96 assertEquals("/177.0.0.1", InetAddress.parseNumericAddress("0177.00.00.01").toString()) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
DatagramChannelTest.java | 23 import java.net.InetAddress; 106 test_bind_any(InetAddress.getByName("0.0.0.0")); 110 test_bind_any(InetAddress.getByName("::")); 113 private void test_bind_any(InetAddress bindAddress) throws Exception { 128 test_bind(InetAddress.getByName("127.0.0.1")); 132 test_bind(InetAddress.getByName("::1")); 136 InetAddress bindAddress = getNonLoopbackNetworkInterfaceAddress(true /* ipv4 */); 141 InetAddress bindAddress = getNonLoopbackNetworkInterfaceAddress(false /* ipv4 */); 145 private void test_bind(InetAddress bindAddress) throws IOException { 156 private static InetAddress getNonLoopbackNetworkInterfaceAddress(boolean ipv4) throws IOException [all...] |
/libcore/luni/src/main/java/java/net/ |
InetAddress.java | 46 * families, and should use {@code InetAddress}. 48 * <p>An {@code InetAddress} may have a hostname (accessible via {@code getHostName}), but may not, 49 * depending on how the {@code InetAddress} was created. 118 * InetAddress and by the C library, which meant that DNS TTLs could not be honored correctly. 124 public class InetAddress implements Serializable { 143 public static final InetAddress UNSPECIFIED = new InetAddress(AF_UNSPEC, null, null); 146 * Constructs an {@code InetAddress}. 150 InetAddress(int family, byte[] ipaddress, String hostName) { 157 * Compares this {@code InetAddress} instance against the specified addres [all...] |
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 68 import java.net.InetAddress; 526 InetAddress inetAddress = null; 528 inetAddress = InetAddress.getByName(mTdlsAddr); 529 mWm.setTdlsEnabled(inetAddress, true); 538 InetAddress inetAddress = null; 540 inetAddress = InetAddress.getByName(mTdlsAddr) [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSocketImpl.java | 26 import java.net.InetAddress; 194 protected OpenSSLSocketImpl(InetAddress address, int port, SSLParametersImpl sslParameters) 206 InetAddress clientAddress, int clientPort, 216 protected OpenSSLSocketImpl(InetAddress address, int port, 217 InetAddress clientAddress, int clientPort, 425 InetAddress inetAddress = super.getInetAddress(); 426 if (inetAddress != null) { 427 resolvedHostname = inetAddress.getHostName(); [all...] |
/libcore/luni/src/main/java/java/nio/ |
SocketChannelImpl.java | 29 import java.net.InetAddress; 80 private InetAddress localAddress = null; 125 InetAddress addr = null; 181 InetAddress normalAddr = inetSocketAddress.getAddress(); 186 normalAddr = InetAddress.getLocalHost(); 275 InetAddress inetAddress = connectAddress.getAddress(); 277 finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
DatagramSocketTest.java | 27 import java.net.InetAddress; 46 public DatagramServer(InetAddress address, boolean echo) 56 public DatagramServer(InetAddress address) throws IOException { 103 * java.net.DatagramSocket#DatagramSocket(int, java.net.InetAddress) 106 DatagramSocket ds = new DatagramSocket(0, InetAddress.getLocalHost()); 108 assertEquals("Created socket with incorrect address", InetAddress 118 InetAddress.getLocalHost(), 0); 130 InetAddress inetAddress = InetAddress.getLocalHost() [all...] |
/libcore/luni/src/main/native/ |
libcore_io_Posix.cpp | 272 jobject inetAddress = sockaddrToInetAddress(env, ss, &port); 273 if (inetAddress == NULL) { 277 "(Ljava/net/InetAddress;I)V"); 278 return env->NewObject(JniConstants::inetSocketAddressClass, ctor, inetAddress, port); 382 static jfieldID addressFid = env->GetFieldID(JniConstants::inetSocketAddressClass, "addr", "Ljava/net/InetAddress;"); 718 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, address, NULL)); 719 if (inetAddress.get() == NULL) { 722 env->SetObjectArrayElement(result, index, inetAddress.get()); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | 67 import java.net.InetAddress; [all...] |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.4.0/ |
sdk-common-22.4.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.4.2/ |
sdk-common-22.4.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.5.0/ |
sdk-common-22.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.5.1/ |
sdk-common-22.5.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.5.3/ |
sdk-common-22.5.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.7.0/ |
sdk-common-22.7.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.7.1/ |
sdk-common-22.7.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.7.3/ |
sdk-common-22.7.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.8.0/ |
sdk-common-22.8.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.9.2/ |
sdk-common-22.9.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/23.0.1/ |
sdk-common-23.0.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/23.0.2/ |
sdk-common-23.0.2.jar | |