HomeSort by relevance Sort by last modified time
    Searched full:inetaddress (Results 76 - 100 of 442) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/core/java/android/net/
LinkAddress.java 24 import java.net.InetAddress;
55 private InetAddress address;
77 static int scopeForUnicastAddress(InetAddress addr) {
98 private void init(InetAddress address, int prefixLength, int flags, int scope) {
114 * Constructs a new {@code LinkAddress} from an {@code InetAddress} and prefix length, with
123 public LinkAddress(InetAddress address, int prefixLength, int flags, int scope) {
128 * Constructs a new {@code LinkAddress} from an {@code InetAddress} and a prefix length.
134 public LinkAddress(InetAddress address, int prefixLength) {
171 Pair<InetAddress, Integer> ipAndMask = NetworkUtils.parseIpAndMask(address);
230 * Returns the {@link InetAddress} of this {@code LinkAddress}
    [all...]
Network.java 25 import java.net.InetAddress;
95 * Operates the same as {@code InetAddress.getAllByName} except that host
102 public InetAddress[] getAllByName(String host) throws UnknownHostException {
103 return InetAddress.getAllByNameOnNet(host, netId);
107 * Operates the same as {@code InetAddress.getByName} except that host
112 * @return the {@code InetAddress} instance representing the host.
116 public InetAddress getByName(String host) throws UnknownHostException {
117 return InetAddress.getByNameOnNet(host, netId);
134 InetAddress[] hostAddresses = getAllByName(host);
150 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException
    [all...]
DnsPinger.java 32 import java.net.InetAddress;
70 private final ArrayList<InetAddress> mDefaultDns;
80 * arg1 is the ID of the ping, also returned by {@link #pingDnsAsync(InetAddress, int, int)}
90 * Send a new ping via a socket. arg1 is ID, arg2 is timeout, obj is InetAddress to ping
110 InetAddress dns;
113 DnsArg(InetAddress d, int s) {
130 mDefaultDns = new ArrayList<InetAddress>();
145 InetAddress dnsAddress = dnsArg.dns;
244 public List<InetAddress> getDnsList() {
251 Collection<InetAddress> dnses = curLinkProps.getDnsServers()
    [all...]
StaticIpConfiguration.java 23 import java.net.InetAddress;
51 public InetAddress gateway;
52 public final ArrayList<InetAddress> dnsServers;
56 dnsServers = new ArrayList<InetAddress>();
107 for (InetAddress dns : dnsServers) {
123 for (InetAddress dnsServer : dnsServers) {
180 for (InetAddress dnsServer : dnsServers) {
  /external/jmdns/src/javax/jmdns/impl/
JmmDNSImpl.java 7 import java.net.InetAddress;
49 private final ConcurrentMap<InetAddress, JmDNS> _knownMDNS;
68 _knownMDNS = new ConcurrentHashMap<InetAddress, JmDNS>();
144 public InetAddress[] getInetAddresses() throws IOException {
145 Set<InetAddress> result = new HashSet<InetAddress>();
149 return result.toArray(new InetAddress[result.size()]);
158 public InetAddress[] getInterfaces() throws IOException {
159 Set<InetAddress> result = new HashSet<InetAddress>();
    [all...]
HostInfo.java 11 import java.net.InetAddress;
37 protected InetAddress _address;
66 public static HostInfo newHostInfo(InetAddress address, JmDNSImpl dns, String jmdnsName) {
69 InetAddress addr = address;
74 addr = InetAddress.getByName(ip);
76 addr = InetAddress.getLocalHost();
79 InetAddress[] addresses = NetworkTopologyDiscovery.Factory.getInstance().getInetAddresses();
108 private static InetAddress loopbackAddress() {
110 return InetAddress.getByName(null);
121 private HostInfo(final InetAddress address, final String name, final JmDNSImpl dns)
    [all...]
  /external/smack/src/org/jivesoftware/smack/proxy/
HTTPProxySocketFactory.java 25 import java.net.InetAddress;
56 public Socket createSocket(String host ,int port, InetAddress localHost,
63 public Socket createSocket(InetAddress host, int port)
70 public Socket createSocket( InetAddress address, int port,
71 InetAddress localAddress, int localPort)
  /libcore/luni/src/main/java/java/net/
Inet4Address.java 26 * An IPv4 address. See {@link InetAddress}.
28 public final class Inet4Address extends InetAddress {
35 public static final InetAddress ANY =
41 public static final InetAddress ALL =
48 public static final InetAddress LOOPBACK =
InterfaceAddress.java 30 private final InetAddress address;
35 private final InetAddress broadcastAddress;
108 * Returns the InetAddress for this address.
110 public InetAddress getAddress() {
117 public InetAddress getBroadcast() {
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...]
InetSocketAddress.java 32 private final InetAddress addr;
55 this((InetAddress) null, port);
69 public InetSocketAddress(InetAddress address, int port) {
102 InetAddress addr = null;
105 addr = InetAddress.getByName(hostname);
117 * hostname into an {@code InetAddress}. The address field is marked as
143 public final InetAddress getAddress() {
148 * Returns the hostname, doing a reverse DNS lookup on the {@code InetAddress} if no
157 * Returns the hostname if known, or the result of {@code InetAddress.getHostAddress}.
  /libcore/luni/src/test/java/libcore/java/net/
OldDatagramSocketImplFactoryTest.java 25 import java.net.InetAddress;
134 protected void bind(int arg0, InetAddress arg1) throws SocketException {
157 protected void join(InetAddress arg0) throws IOException {
165 protected void leave(InetAddress arg0) throws IOException {
173 public int peek(InetAddress arg0) throws IOException {
  /external/apache-http/src/org/apache/http/conn/
MultihomePlainSocketFactory.java 35 import java.net.InetAddress;
51 * provided the same hostname resolves to multiple {@link InetAddress}es. Please note
52 * the {@link #connectSocket(Socket, String, int, InetAddress, int, HttpParams)}
86 * Attempts to connects the socket to any of the {@link InetAddress}es the
101 InetAddress localAddress, int localPort,
128 InetAddress[] inetadrs = InetAddress.getAllByName(host);
129 List<InetAddress> addresses = new ArrayList<InetAddress>(inetadrs.length);
134 for (InetAddress address: addresses)
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
DnsTest.java 25 import java.net.InetAddress;
56 InetAddress addrs[] = {};
58 addrs = InetAddress.getAllByName("www.google.com");
62 for (InetAddress addr : addrs) {
75 addrs = InetAddress.getAllByName("ipv6.google.com");
80 for (InetAddress addr : addrs) {
171 InetAddress addr = InetAddress.getByName(URLS[urlIndex]);
176 InetAddress addr = InetAddress.getByName(URLS[urlIndex])
    [all...]
  /external/guava/guava/src/com/google/common/net/
InetAddresses.java 27 import java.net.InetAddress;
35 * Static utility methods pertaining to {@link InetAddress} instances.
37 * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the
51 * objects as byte arrays (vis. {@code InetAddress.getAddress()}) they
88 * IPv6 packet header. However, Java's InetAddress creation methods
146 InetAddress ipv4 = InetAddress.getByAddress(bytes);
160 * However {@link InetAddress#getByAddress} is documented as
174 * Returns the {@link InetAddress} having the given string
181 * @return {@link InetAddress} representing the argumen
    [all...]
  /external/smack/src/org/xbill/DNS/
IPSECKEYRecord.java 70 if (!(gateway instanceof InetAddress))
108 gateway = InetAddress.getByAddress(in.readByteArray(4));
111 gateway = InetAddress.getByAddress(in.readByteArray(16));
165 InetAddress gatewayAddr = (InetAddress) gateway;
219 InetAddress gatewayAddr = (InetAddress) gateway;
  /external/smack/src/org/xbill/DNS/spi/
DNSJavaNameService.java 7 import java.net.InetAddress;
96 InetAddress[] addresses;
99 if (returnType.equals(InetAddress[].class)) {
128 public InetAddress []
149 InetAddress[] array = new InetAddress[records.length];
170 Name name = ReverseMap.fromAddress(InetAddress.getByAddress(addr));
  /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) {
  /packages/services/Mms/src/com/android/mms/service/http/
NetworkAwareClientConnectionOperator.java 40 import java.net.InetAddress;
75 private ArrayList<InetAddress> resolveHostName(final String hostName) throws IOException {
76 final ArrayList<InetAddress> addresses = new ArrayList<InetAddress>();
77 for (final InetAddress address : mResolver.getAllByName(hostName)) {
92 public void openConnection(OperatedClientConnection conn, HttpHost target, InetAddress local,
125 ArrayList<InetAddress> addresses = resolveHostName(target.getHostName());
  /development/apps/Development/src/com/android/development/
Connectivity.java 67 import java.net.InetAddress;
509 InetAddress inetAddress = null;
511 inetAddress = InetAddress.getByName(mTdlsAddr);
512 mWm.setTdlsEnabled(inetAddress, true);
521 InetAddress inetAddress = null;
523 inetAddress = InetAddress.getByName(mTdlsAddr)
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
ServerSocketFactoryTest.java 25 import java.net.InetAddress;
72 s = sf.createServerSocket(0, 50, InetAddress.getLocalHost());
92 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException {
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLServerSocketFactoryTest.java 22 import java.net.InetAddress;
62 * Class under test for ServerSocket createServerSocket(int, int, InetAddress)
67 f.createServerSocket(0, 10, InetAddress.getLocalHost());
  /external/apache-http/src/org/apache/http/
HttpInetConnection.java 34 import java.net.InetAddress;
47 InetAddress getLocalAddress();
51 InetAddress getRemoteAddress();
  /frameworks/base/core/java/android/net/dhcp/
DhcpRequestPacket.java 21 import java.net.InetAddress;
32 DhcpRequestPacket(int transId, InetAddress clientIp, byte[] clientMac,
79 InetAddress clientRequest =
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pInfo.java 22 import java.net.InetAddress;
39 public InetAddress groupOwnerAddress;
88 info.groupOwnerAddress = InetAddress.getByAddress(in.createByteArray());

Completed in 595 milliseconds

1 2 34 5 6 7 8 91011>>