HomeSort by relevance Sort by last modified time
    Searched defs:inetAddress (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
StubSocket.java 21 import java.net.InetAddress;
34 private InetAddress inetAddress;
35 private InetAddress localAddress;
50 * @param inetAddress - the InetAddress for this socket
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) {
55 this.inetAddress = inetAddress;
    [all...]
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/
StubSocket.java 21 import java.net.InetAddress;
34 private InetAddress inetAddress;
35 private InetAddress localAddress;
50 * @param inetAddress - the InetAddress for this socket
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) {
55 this.inetAddress = inetAddress;
    [all...]
  /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);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
PortParser.java 21 import java.net.InetAddress;
58 InetAddress host;
60 host = InetAddress.getByName(tokens[2]);
95 InetAddress inetAddress = null;
97 inetAddress = InetAddress.getByAddress(address);
107 return new HostAndPort(inetAddress, port);
114 * @param host - the InetAddress
118 public static String convertHostAndPortToCommaDelimitedBytes(InetAddress host, int port) {
    [all...]
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/
PortCommandHandler.java 18 import java.net.InetAddress;
36 * <li>{@link #HOST_KEY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
63 InetAddress host = parseHost(command.getParameters());
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException {
100 InetAddress inetAddress = InetAddress.getByAddress(address);
102 return 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/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;
75 return (Inet6Address) InetAddress.getByAddress(LOOPBACK6_BYTES);
79 return (Inet6Address) InetAddress.getByAddress("ip6-localhost", LOOPBACK6_BYTES);
84 assertEquals("/1.2.3.4", InetAddress.parseNumericAddress("1.2.3.4").toString());
86 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("2001:4860:800d::68").toString());
88 assertEquals("/127.0.0.1", InetAddress.parseNumericAddress("::ffff:127.0.0.1").toString());
90 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("[2001:4860:800d::68]").toString());
91 assertEquals("/127.0.0.1", InetAddress.parseNumericAddress("[::ffff:127.0.0.1]").toString());
94 InetAddress.parseNumericAddress("example.com"); // Not numeric.
100 assertEquals("/177.0.0.1", InetAddress.parseNumericAddress("0177.00.00.01").toString())
    [all...]
InetSocketAddressTest.java 19 import java.net.InetAddress;
59 InetAddress ia = InetAddress.getByName(validIPAddresses[i]);
65 InetSocketAddress isa = new InetSocketAddress((InetAddress)null, 80);
69 new InetSocketAddress(InetAddress.getByName("localhost"), 65536);
75 new InetSocketAddress(InetAddress.getByName("localhost"), -1);
106 InetAddress localhost = InetAddress.getByName("localhost");
121 InetAddress ia = InetAddress.getByName(validIPAddresses[i])
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
AbstractTestCase.java 27 import java.net.InetAddress;
50 protected static final InetAddress DEFAULT_HOST = inetAddress(null);
203 * Create a new InetAddress from the specified host String, using the
204 * {@link InetAddress#getByName(String)} method, wrapping any checked
208 * @return an InetAddress for the specified host
211 protected static InetAddress inetAddress(String host) {
213 return InetAddress.getByName(host);
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
AbstractTest.java 19 import java.net.InetAddress;
51 protected static final InetAddress DEFAULT_HOST = inetAddress(null);
193 * Create a new InetAddress from the specified host String, using the
194 * {@link InetAddress#getByName(String)} method, wrapping any checked
197 * @return an InetAddress for the specified host
201 protected static InetAddress inetAddress(String host) {
203 return InetAddress.getByName(host);
  /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...]
  /external/jetty/src/java/org/eclipse/jetty/servlets/
ProxyServlet.java 685 InetSocketAddress inetAddress = new InetSocketAddress(host,Integer.parseInt(port));
696 Socket socket = new Socket(inetAddress.getAddress(),inetAddress.getPort());
  /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...]
  /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.
  /development/apps/Development/src/com/android/development/
Connectivity.java 73 import java.net.InetAddress;
577 InetAddress inetAddress = null;
579 inetAddress = InetAddress.getByName(mTdlsAddr);
580 mWm.setTdlsEnabled(inetAddress, true);
589 InetAddress inetAddress = null;
591 inetAddress = InetAddress.getByName(mTdlsAddr)
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSocketImpl.java 26 import java.net.InetAddress;
195 protected OpenSSLSocketImpl(InetAddress address, int port, SSLParametersImpl sslParameters)
207 InetAddress clientAddress, int clientPort,
217 protected OpenSSLSocketImpl(InetAddress address, int port,
218 InetAddress clientAddress, int clientPort,
431 InetAddress inetAddress = super.getInetAddress();
432 if (inetAddress != null) {
433 resolvedHostname = inetAddress.getHostName();
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/
AbstractConnector.java 22 import java.net.InetAddress;
463 InetAddress inetAddress = null;
469 inetAddress = InetAddress.getByName(forwardedFor);
477 request.setRemoteHost(inetAddress == null?forwardedFor:inetAddress.getHostName());
    [all...]
  /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 323 jobject inetAddress = sockaddrToInetAddress(env, ss, &port);
324 if (inetAddress == NULL) {
328 "<init>", "(Ljava/net/InetAddress;I)V");
329 return env->NewObject(JniConstants::inetSocketAddressClass, ctor, inetAddress, port);
461 static jfieldID addressFid = env->GetFieldID(JniConstants::inetSocketAddressClass, "addr", "Ljava/net/InetAddress;");
471 JniConstants::inetSocketAddressClass, "addr", "Ljava/net/InetAddress;");
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
SIPDialog.java 67 import java.net.InetAddress;
    [all...]
  /prebuilts/tools/common/m2/repository/org/seleniumhq/selenium/selenium-remote-driver/2.42.2/
selenium-remote-driver-2.42.2.jar 
  /external/slf4j/log4j-over-slf4j/compatibility/lib/
logback-classic-0.9.8-SNAPSHOT.jar 
  /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 

Completed in 942 milliseconds

1 2 3 4