HomeSort by relevance Sort by last modified time
    Searched refs:InetAddress (Results 26 - 50 of 315) sorted by null

12 3 4 5 6 7 8 91011>>

  /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/base/core/java/android/net/dhcp/
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;
DhcpInformPacket.java 19 import java.net.InetAddress;
29 DhcpInformPacket(int transId, InetAddress clientIp, InetAddress yourIp,
30 InetAddress nextIp, InetAddress relayIp,
71 InetAddress clientRequest =
DhcpPacket.java 6 import java.net.InetAddress;
91 protected InetAddress mSubnetMask;
97 protected InetAddress mGateway;
103 protected List<InetAddress> mDnsServers;
121 protected InetAddress mBroadcastAddress;
127 protected InetAddress mRequestedIp;
152 protected InetAddress mServerIdentifier;
191 protected final InetAddress mClientIp;
192 protected final InetAddress mYourIp;
193 private final InetAddress mNextIp
    [all...]
DhcpAckPacket.java 19 import java.net.InetAddress;
32 private final InetAddress mSrcIp;
34 DhcpAckPacket(int transId, boolean broadcast, InetAddress serverAddress,
35 InetAddress clientIp, byte[] clientMac) {
46 for (InetAddress dnsServer: mDnsServers) {
61 InetAddress destIp = mBroadcast ? Inet4Address.ALL : mYourIp;
62 InetAddress srcIp = mBroadcast ? Inet4Address.ANY : mSrcIp;
DhcpOfferPacket.java 19 import java.net.InetAddress;
31 private final InetAddress mSrcIp;
36 DhcpOfferPacket(int transId, boolean broadcast, InetAddress serverAddress,
37 InetAddress clientIp, byte[] clientMac) {
48 for (InetAddress dnsServer: mDnsServers) {
63 InetAddress destIp = mBroadcast ? Inet4Address.ALL : mYourIp;
64 InetAddress srcIp = mBroadcast ? Inet4Address.ANY : mSrcIp;
  /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) {
  /external/nist-sip/java/gov/nist/core/net/
DefaultNetworkLayer.java 30 import java.net.InetAddress;
70 InetAddress bindAddress) throws IOException {
74 public Socket createSocket(InetAddress address, int port)
83 public DatagramSocket createDatagramSocket(int port, InetAddress laddr)
99 InetAddress bindAddress) throws IOException {
105 public SSLSocket createSSLSocket(InetAddress address, int port)
111 public SSLSocket createSSLSocket(InetAddress address, int port,
112 InetAddress myAddress) throws IOException {
117 public Socket createSocket(InetAddress address, int port,
118 InetAddress myAddress) throws IOException
    [all...]
AddressResolver.java 28 import java.net.InetAddress;
  /external/smack/src/org/xbill/DNS/
AAAARecord.java 18 private InetAddress address;
32 AAAARecord(Name name, int dclass, long ttl, InetAddress address) {
41 address = InetAddress.getByAddress(name.toString(),
57 public InetAddress
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DatagramSocketImplTest.java 24 import java.net.InetAddress;
42 InetAddress localhost = InetAddress.getByName("localhost"); //$NON-NLS-1$
60 protected void bind(int port, InetAddress addr) throws SocketException {
89 protected void join(InetAddress addr) throws IOException {
100 protected void leave(InetAddress addr) throws IOException {
111 protected int peek(InetAddress sender) throws IOException {
145 public void test_connect(InetAddress inetAddr, int port ) throws SocketException{
InetAddressThreadTest.java 20 import java.net.InetAddress;
42 private InetAddress testAddress;
58 InetAddress testAddress, int type) {
85 InetAddress ia = InetAddress.getByName(lookupName);
122 * @tests java.net.InetAddress#getHostName()
125 // Test for method java.lang.String java.net.InetAddress.getHostName()
134 InetAddress lookup1 = InetAddress.getByName("localhost");
136 InetAddress lookup2 = InetAddress.getByName("localhost")
    [all...]
  /external/apache-http/src/org/apache/http/conn/routing/
RouteInfo.java 34 import java.net.InetAddress;
94 InetAddress getLocalAddress()
  /libcore/benchmarks/src/benchmarks/regression/
DnsBenchmark.java 22 import java.net.InetAddress;
46 InetAddress.getByName(hosts[i % hosts.length]);
  /libcore/luni/src/main/java/java/net/
InetAddress.java 48 * families, and should use {@code InetAddress}.
50 * <p>An {@code InetAddress} may have a hostname (accessible via {@code getHostName}), but may not,
51 * depending on how the {@code InetAddress} was created.
120 * InetAddress and by the C library, which meant that DNS TTLs could not be honored correctly.
126 public class InetAddress implements Serializable {
142 public static final InetAddress UNSPECIFIED = new InetAddress(AF_UNSPEC, null, null);
145 * Constructs an {@code InetAddress}.
149 InetAddress(int family, byte[] ipaddress, String hostName) {
156 * Compares this {@code InetAddress} instance against the specified addres
    [all...]
MulticastSocket.java 35 private InetAddress setAddress;
77 public InetAddress getInterface() throws SocketException {
82 InetAddress ipvXaddress = (InetAddress) impl.getOption(SocketOptions.IP_MULTICAST_IF);
88 Enumeration<InetAddress> addresses = theInterface.getInetAddresses();
91 InetAddress nextAddress = addresses.nextElement();
147 public void joinGroup(InetAddress groupAddr) throws IOException {
182 public void leaveGroup(InetAddress groupAddr) throws IOException {
220 InetAddress groupAddr = ((InetSocketAddress) groupAddress).getAddress();
230 private void checkJoinOrLeave(InetAddress groupAddr) throws IOException
    [all...]
  /external/guava/guava-tests/test/com/google/common/net/
InetAddressesTest.java 25 import java.net.InetAddress;
129 InetAddress ipv4Addr = null;
131 ipv4Addr = InetAddress.getByName(ipStr);
138 InetAddress ipv6Addr = null;
140 ipv6Addr = InetAddress.getByName(ipStr);
154 InetAddress ipv6Addr = null;
156 ipv6Addr = InetAddress.getByName(eightColons[i]);
168 InetAddress ipv6Addr = InetAddress.getByName(ipString);
222 InetAddress ip = InetAddresses.forString(ipStr)
    [all...]
  /external/jmdns/src/javax/jmdns/impl/
NetworkTopologyDiscoveryImpl.java 7 import java.net.InetAddress;
58 public InetAddress[] getInetAddresses() {
59 Set<InetAddress> result = new HashSet<InetAddress>();
64 for (Enumeration<InetAddress> iaenum = nif.getInetAddresses(); iaenum.hasMoreElements();) {
65 InetAddress interfaceAddress = iaenum.nextElement();
67 logger.finest("Found NetworkInterface/InetAddress: " + nif + " -- " + interfaceAddress);
77 return result.toArray(new InetAddress[result.size()]);
82 * @see javax.jmdns.JmmDNS.NetworkTopologyDiscovery#useInetAddress(java.net.NetworkInterface, java.net.InetAddress)
85 public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress)
    [all...]
  /frameworks/base/core/java/android/net/
NetworkUtils.java 19 import java.net.InetAddress;
112 * Convert a IPv4 address from an integer to an InetAddress.
115 public static InetAddress intToInetAddress(int hostAddress) {
122 return InetAddress.getByAddress(addressBytes);
129 * Convert a IPv4 address from an InetAddress to an integer
130 * @param inetAddr is an InetAddress corresponding to the IPv4 address
164 * Create an InetAddress from a string where the string must be a standard
168 * @return the InetAddress
171 public static InetAddress numericToInetAddress(String addrString)
173 return InetAddress.parseNumericAddress(addrString)
    [all...]
LinkAddress.java 23 import java.net.InetAddress;
35 private InetAddress address;
42 private void init(InetAddress address, int prefixLength) {
53 public LinkAddress(InetAddress address, int prefixLength) {
68 InetAddress inetAddress = null;
73 inetAddress = InetAddress.parseNumericAddress(pieces[0]);
80 if (inetAddress == null || prefixLength == -1) {
84 init(inetAddress, prefixLength)
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
SSLCertificateSocketFactoryTest.java 20 import java.net.InetAddress;
53 InetAddress inetAddress = null;
54 inetAddress = InetAddress.getLocalHost();
56 mFactory.createSocket(inetAddress, port);
63 InetAddress inetAddress1 = InetAddress.getLocalHost();
64 InetAddress inetAddress2 = InetAddress.getLocalHost()
    [all...]
  /cts/tests/tests/net/src/android/net/rtp/cts/
AudioStreamTest.java 22 import java.net.InetAddress;
26 private void testRtpStream(InetAddress address) throws Exception {
42 testRtpStream(InetAddress.getByName("127.0.0.1"));
46 testRtpStream(InetAddress.getByName("::1"));
50 AudioStream stream = new AudioStream(InetAddress.getByName("::1"));
73 AudioStream stream = new AudioStream(InetAddress.getByName("::1"));
90 AudioStream stream = new AudioStream(InetAddress.getByName("::1"));
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLSocketFactoryTest.java 22 import java.net.InetAddress;
52 * Class under test for Socket createSocket(String, int, InetAddress, int)
57 f.createSocket("localhost", 0, InetAddress.getLocalHost(), 1);
66 * Class under test for Socket createSocket(InetAddress, int)
71 f.createSocket(InetAddress.getLocalHost(), 1);
80 * Class under test for Socket createSocket(InetAddress, int, InetAddress,
86 f.createSocket(InetAddress.getLocalHost(), 1, InetAddress
  /external/apache-http/src/org/apache/http/conn/params/
ConnRouteParams.java 34 import java.net.InetAddress;
176 public static InetAddress getLocalAddress(HttpParams params) {
180 InetAddress local = (InetAddress)
195 InetAddress local) {
  /external/jmdns/src/javax/jmdns/
NetworkTopologyDiscovery.java 3 import java.net.InetAddress;
18 * public InetAddress[] getInetAddresses() {
24 * public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress) {
137 * @return Set of InetAddress
139 public abstract InetAddress[] getInetAddresses();
142 * Check if a given InetAddress should be used for mDNS
148 public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress);
151 * Locks the given InetAddress if the device requires it.
155 public void lockInetAddress(InetAddress interfaceAddress);
158 * Locks the given InetAddress if the device requires it
    [all...]

Completed in 349 milliseconds

12 3 4 5 6 7 8 91011>>