/external/apache-http/src/org/apache/http/ |
HttpInetConnection.java | 34 import java.net.InetAddress; 47 InetAddress getLocalAddress(); 51 InetAddress getRemoteAddress();
|
/libcore/luni/src/main/java/libcore/io/ |
StructAddrinfo.java | 19 import java.net.InetAddress; 25 * TODO: we currently only _take_ a StructAddrinfo; getaddrinfo returns an InetAddress[]. 44 public InetAddress ai_addr;
|
StructGroupReq.java | 19 import java.net.InetAddress; 26 public final InetAddress gr_group; 28 public StructGroupReq(int gr_interface, InetAddress gr_group) {
|
/frameworks/base/core/java/android/net/dhcp/ |
DhcpStateMachine.java | 19 import java.net.InetAddress; 33 byte[] myMac, InetAddress offeredIpAddress, 34 InetAddress serverIpAddress); 44 public void onAckReceived(InetAddress myIpAddress, InetAddress myNetMask, 45 InetAddress myGateway, List<InetAddress> myDnsServers, 46 InetAddress myDhcpServer, int leaseTime); 60 byte[] clientMac, InetAddress requestedIp, byte[] requestedParams, 68 InetAddress preassignedIp, byte[] requestedParams) [all...] |
DhcpDeclinePacket.java | 19 import java.net.InetAddress; 29 DhcpDeclinePacket(int transId, InetAddress clientIp, InetAddress yourIp, 30 InetAddress nextIp, InetAddress relayIp,
|
DhcpNakPacket.java | 19 import java.net.InetAddress; 30 DhcpNakPacket(int transId, InetAddress clientIp, InetAddress yourIp, 31 InetAddress nextIp, InetAddress relayIp, 47 InetAddress destIp = mClientIp; 48 InetAddress srcIp = mYourIp;
|
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
ChannelBindingTest.java | 23 import java.net.InetAddress; 42 InetAddress addr1= InetAddress.getByAddress(new byte [] {127, 0, 0, 1}); 43 InetAddress addr2= InetAddress.getByAddress(new byte [] {127, 0, 0, 2}); 55 InetAddress addr= InetAddress.getByAddress(new byte [] {127, 0, 0, 1}); 57 assertEquals(InetAddress.getByAddress(new byte [] {127, 0, 0, 1}), 63 InetAddress addr1= InetAddress.getByAddress(new byte [] {127, 0, 0, 1}) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
InetAddressTest.java | 21 import java.net.InetAddress; 68 return (Inet6Address) InetAddress.getByAddress(LOOPBACK6_BYTES); 72 return (Inet6Address) InetAddress.getByAddress("localhost", LOOPBACK6_BYTES); 77 assertEquals("/1.2.3.4", InetAddress.parseNumericAddress("1.2.3.4").toString()); 79 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("2001:4860:800d::68").toString()); 81 assertEquals("/2001:4860:800d::68", InetAddress.parseNumericAddress("[2001:4860:800d::68]").toString()); 82 assertEquals("/127.0.0.1", InetAddress.parseNumericAddress("[::ffff:127.0.0.1]").toString()); 85 InetAddress.parseNumericAddress("example.com"); // Not numeric. 92 InetAddress.parseNumericAddress(invalid); 98 // Strange special cases, for compatibility with InetAddress.getByName [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/apache-http/src/org/apache/http/conn/scheme/ |
HostNameResolver.java | 35 import java.net.InetAddress; 39 InetAddress resolve (String hostname) throws IOException;
|
/external/jmdns/src/javax/jmdns/ |
NetworkTopologyEvent.java | 6 import java.net.InetAddress; 41 * @return InetAddress 43 public abstract InetAddress getInetAddress();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
InetAddressTest.java | 24 import java.net.InetAddress; 39 * @tests java.net.InetAddress#getByName(String) 47 InetAddress.getByName("unknown.unknown.bad"); 56 InetAddress ia1 = InetAddress.getByName("localhost"); 57 InetAddress ia2 = InetAddress.getByName("::1"); 62 * @tests java.net.InetAddress#getAddress() 65 // Test for method byte [] java.net.InetAddress.getAddress() 67 InetAddress ia = InetAddress.getByName("127.0.0.1") [all...] |
Inet4AddressTest.java | 22 import java.net.InetAddress; 40 InetAddress addr = InetAddress.getByName(addrName); 45 addr = InetAddress.getByName(addrName); 50 addr = InetAddress.getByName(addrName); 58 assertTrue(InetAddress.getByName("0.0.0.0").isAnyLocalAddress()); 59 assertFalse(InetAddress.getByName("127.0.0.1").isAnyLocalAddress()); 68 InetAddress addr = InetAddress.getByName(addrName); 74 addr = InetAddress.getByName(addrName) [all...] |
Inet6AddressTest.java | 22 import java.net.InetAddress; 34 InetAddress addr = null; 43 addr = InetAddress.getByName(addrName); 48 addr = InetAddress.getByName(addrName); 61 addr = InetAddress.getByName(addrName); 67 addr = InetAddress.getByName(addrName); 80 addr = InetAddress.getByName(addrName); 85 addr = InetAddress.getByName(addrName); 94 InetAddress addr = null; 98 addr = InetAddress.getByName(addrName) [all...] |
/external/nist-sip/java/gov/nist/core/net/ |
NetworkLayer.java | 30 import java.net.InetAddress; 58 InetAddress bindAddress) throws IOException; 70 InetAddress bindAddress) throws IOException; 80 public Socket createSocket(InetAddress address, int port) throws IOException; 91 public Socket createSocket(InetAddress address, int port, InetAddress localAddress) throws IOException; 97 * @param address the InetAddress that we'd like to connect to. 109 public Socket createSocket(InetAddress address, int port, 110 InetAddress myAddress, int myPort) 121 public SSLSocket createSSLSocket(InetAddress address, int port) throws IOException [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
NameRegister.java | 6 import java.net.InetAddress; 31 * @see javax.jmdns.impl.NameRegister#register(java.net.InetAddress, java.lang.String, javax.jmdns.impl.NameRegister.NameType) 34 public void register(InetAddress networkInterface, String name, NameType type) { 41 * @see javax.jmdns.impl.NameRegister#checkName(java.net.InetAddress, java.lang.String, javax.jmdns.impl.NameRegister.NameType) 44 public boolean checkName(InetAddress networkInterface, String name, NameType type) { 51 * @see javax.jmdns.impl.NameRegister#incrementHostName(java.net.InetAddress, java.lang.String, javax.jmdns.impl.NameRegister.NameType) 54 public String incrementHostName(InetAddress networkInterface, String name, NameType type) { 65 * @see javax.jmdns.impl.NameRegister#register(java.net.InetAddress, java.lang.String, javax.jmdns.impl.NameRegister.NameType) 68 public void register(InetAddress networkInterface, String name, NameType type) { 75 * @see javax.jmdns.impl.NameRegister#checkName(java.net.InetAddress, java.lang.String, javax.jmdns.impl.NameRegister.NameType [all...] |
NetworkTopologyEventImpl.java | 6 import java.net.InetAddress; 22 private final InetAddress _inetAddress; 28 * @param inetAddress 32 public NetworkTopologyEventImpl(JmDNS jmDNS, InetAddress inetAddress) { 34 this._inetAddress = inetAddress; 37 NetworkTopologyEventImpl(NetworkTopologyListener jmmDNS, InetAddress inetAddress) { 39 this._inetAddress = inetAddress; 56 public InetAddress getInetAddress() [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ |
SocketFactoryTest.java | 26 import java.net.InetAddress; 63 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport); 75 sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]); 82 sf.createSocket(InetAddress.getLocalHost().getHostName(), s.getLocalPort()); 89 f.createSocket(InetAddress.getLocalHost().getHostName(), 8082); 100 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport); 106 sf.createSocket(InetAddress.getLocalHost(), invalidPorts[i]); 113 sf.createSocket(InetAddress.getLocalHost(), s.getLocalPort()); 120 f.createSocket(InetAddress.getLocalHost(), 8081); 131 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
TcpConnectorFactory.java | 38 import java.net.InetAddress; 49 private InetAddress remoteAddress; 51 public TcpConnectorFactory( InetAddress remoteAddress )
|
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ |
SocketFactoryTest.java | 25 import java.net.InetAddress; 67 s = sf.createSocket("localhost", 8081, InetAddress.getLocalHost(), 8082); 72 s = sf.createSocket(InetAddress.getLocalHost(), 8081); 77 s = sf.createSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082); 90 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) 96 public Socket createSocket(InetAddress host, int port) throws IOException { 101 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
|
/frameworks/base/tests/CoreTests/android/core/ |
InetAddrTest.java | 21 import java.net.InetAddress; 43 InetAddress ia = InetAddress.getByName("localhost"); 52 ia = InetAddress.getByName("127.0.0.1"); 61 ia = InetAddress.getByName(null); 64 InetAddress.getByName(".0.0.1"); 71 InetAddress.getByName("thereisagoodchancethisdomaindoesnotexist.weirdtld"); 78 InetAddress.getByName("127.0.0."); 89 InetAddress.getByName(HOSTS[index]);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/ |
NetworkClient.java | 36 import java.net.InetAddress; 65 public void connectToServer( InetAddress address, int port, int remoteUdpPort ) throws IOException;
|
/libcore/luni/src/main/java/javax/net/ |
DefaultSocketFactory.java | 21 import java.net.InetAddress; 44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) 50 public Socket createSocket(InetAddress host, int port) throws IOException { 55 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
|
SocketFactory.java | 21 import java.net.InetAddress; 90 * local network interface specified by the InetAddress {@code localHost} on 110 public abstract Socket createSocket(String host, int port, InetAddress localHost, int localPort) 115 * the InetAddress {@code host}. The socket is bound to any available local 127 public abstract Socket createSocket(InetAddress host, int port) throws IOException; 132 * the InetAddress {@code address}. The socket is bound to the local network 133 * interface specified by the InetAddress {@code localHost} on port {@code 150 public abstract Socket createSocket(InetAddress address, int port, InetAddress localAddress,
|
/frameworks/base/voip/java/android/net/rtp/ |
RtpStream.java | 19 import java.net.InetAddress; 50 private final InetAddress mLocalAddress; 53 private InetAddress mRemoteAddress; 70 RtpStream(InetAddress address) throws SocketException { 80 public InetAddress getLocalAddress() { 95 public InetAddress getRemoteAddress() { 153 public void associate(InetAddress address, int port) {
|