/frameworks/base/core/java/android/net/dhcp/ |
DhcpStateMachine.java | 19 import java.net.InetAddress; 32 byte[] myMac, InetAddress offeredIpAddress, 33 InetAddress serverIpAddress); 43 public void onAckReceived(InetAddress myIpAddress, InetAddress myNetMask, 44 InetAddress myGateway, List<InetAddress> myDnsServers, 45 InetAddress myDhcpServer, int leaseTime); 59 byte[] clientMac, InetAddress requestedIp, byte[] requestedParams, 67 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;
|
/libcore/luni/src/main/java/android/system/ |
StructGroupSourceReq.java | 19 import java.net.InetAddress; 29 public final InetAddress gsr_group; 30 public final InetAddress gsr_source; 32 public StructGroupSourceReq(int gsr_interface, InetAddress gsr_group, InetAddress gsr_source) {
|
StructGroupReq.java | 19 import java.net.InetAddress; 29 public final InetAddress gr_group; 31 public StructGroupReq(int gr_interface, InetAddress gr_group) {
|
StructAddrinfo.java | 19 import java.net.InetAddress; 26 * TODO: we currently only _take_ a StructAddrinfo; getaddrinfo returns an InetAddress[]. 47 public InetAddress ai_addr;
|
/external/apache-http/src/org/apache/http/ |
HttpInetConnection.java | 34 import java.net.InetAddress; 52 InetAddress getLocalAddress(); 56 InetAddress getRemoteAddress();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
HostResolver.java | 18 import java.net.InetAddress; 22 * Domain name service. Prefer this over {@link InetAddress#getAllByName} to 27 @Override public InetAddress[] getAllByName(String host) throws UnknownHostException { 29 return InetAddress.getAllByName(host); 33 InetAddress[] getAllByName(String host) throws UnknownHostException;
|
/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...] |
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; 45 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();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
InetAddressTest.java | 24 import java.net.InetAddress; 37 * java.net.InetAddress#getByName(String) 42 InetAddress.getByName("1.2.3.4hello"); 50 InetAddress ia1 = InetAddress.getByName("localhost"); 51 InetAddress ia2 = InetAddress.getByName("::1"); 56 * java.net.InetAddress#getAddress() 59 // Test for method byte [] java.net.InetAddress.getAddress() 61 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/harmony-tests/src/test/java/org/apache/harmony/tests/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/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); 91 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) 97 public Socket createSocket(InetAddress host, int port) throws IOException { 102 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]);
|
/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,
|
/external/smack/src/org/jivesoftware/smack/proxy/ |
DirectSocketFactory.java | 21 import java.net.InetAddress; 47 InetAddress resolved[] = InetAddress.getAllByName(host); 52 public Socket createSocket(String host ,int port, InetAddress localHost, 59 public Socket createSocket(InetAddress host, int port) 67 public Socket createSocket( InetAddress address, int port, 68 InetAddress localAddress, int localPort)
|
/frameworks/opt/net/voip/src/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) {
|