HomeSort by relevance Sort by last modified time
    Searched refs:InetAddress (Results 126 - 150 of 287) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLServerSocketFactoryImpl.java 20 import java.net.InetAddress;
70 InetAddress iAddress) throws IOException {
SSLServerSocketFactoryImpl.java 21 import java.net.InetAddress;
117 * @see javax.net.ServerSocketFactory#createServerSocket(int,int,InetAddress)
121 InetAddress iAddress) throws IOException {
OpenSSLSocketImplWrapper.java 21 import java.net.InetAddress;
69 public InetAddress getLocalAddress() {
74 public InetAddress getInetAddress() {
SSLServerSocketImpl.java 21 import java.net.InetAddress;
80 * @param iAddress: InetAddress
85 InetAddress iAddress,
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLServerSocketFactoryTest.java 20 import java.net.InetAddress;
57 InetAddress arg2) throws IOException {
  /libcore/luni/src/main/java/java/net/
Inet6Address.java 29 * An IPv6 address. See {@link InetAddress}.
31 public final class Inet6Address extends InetAddress {
38 public static final InetAddress ANY =
44 public static final InetAddress LOOPBACK =
55 * Constructs an {@code InetAddress} representing the {@code address} and
127 Enumeration<InetAddress> addressList = nif.getInetAddresses();
129 InetAddress ia = addressList.nextElement();
AddressCache.java 22 * Implements caching for {@code InetAddress}. We use a unified cache for both positive and negative
25 * TODO: benchmark and optimize InetAddress until we get to the point where we can just rely on
27 * conversions from 'struct sockaddr's to InetAddress[].
44 // Either an InetAddress[] for a positive entry,
70 * Returns the cached InetAddress[] associated with 'hostname'. Returns null if nothing is known
89 public void put(String hostname, InetAddress[] addresses) {
ServerSocket.java 91 public ServerSocket(int port, int backlog, InetAddress localAddress) throws IOException {
95 InetAddress addr = (localAddress == null) ? Inet4Address.ANY : localAddress;
159 public InetAddress getInetAddress() {
303 InetAddress addr = Inet4Address.ANY;
  /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 {
OldSocketImplFactoryTest.java 7 import java.net.InetAddress;
129 protected void bind(InetAddress arg0, int arg1) throws IOException {
141 protected void connect(InetAddress arg0, int arg1) throws IOException {
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
AccessPointParserHelper.java 37 import java.net.InetAddress;
122 InetAddress mInetAddr = null;
292 if (!InetAddress.isNumeric(ipAddr)) {
295 mInetAddr = InetAddress.getByName(ipAddr);
304 if (!InetAddress.isNumeric(gwAddr)) {
307 mLinkProperties.addRoute(new RouteInfo(InetAddress.getByName(gwAddr)));
328 if (!InetAddress.isNumeric(dnsAddr)) {
331 mLinkProperties.addDns(InetAddress.getByName(dnsAddr));
340 if (!InetAddress.isNumeric(dnsAddr)) {
343 mLinkProperties.addDns(InetAddress.getByName(dnsAddr))
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Os.java 20 import java.net.InetAddress;
31 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
35 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
50 public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException;
56 public String getnameinfo(InetAddress address, int flags) throws GaiException;
63 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException;
69 public InetAddress inet_pton(int family, String address);
70 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException;
100 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException
    [all...]
Posix.java 20 import java.net.InetAddress;
34 public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
38 public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
53 public native InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException;
58 public native String getnameinfo(InetAddress address, int flags) throws GaiException;
65 public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException;
71 public native InetAddress inet_pton(int family, String address);
72 public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException;
142 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException
    [all...]
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLContext.java 20 import java.net.InetAddress;
91 public final InetAddress host;
105 InetAddress host,
178 InetAddress host = InetAddress.getLocalHost();
280 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
284 public Socket createSocket(InetAddress host, int port) throws IOException {
287 public Socket createSocket(InetAddress address, int port,
288 InetAddress localAddress, int localPort) throws IOException {
  /external/apache-http/src/org/apache/http/impl/
SocketHttpClientConnection.java 35 import java.net.InetAddress;
122 public InetAddress getLocalAddress() {
138 public InetAddress getRemoteAddress() {
SocketHttpServerConnection.java 35 import java.net.InetAddress;
120 public InetAddress getLocalAddress() {
136 public InetAddress getRemoteAddress() {
  /external/jmdns/src/javax/jmdns/
JmmDNS.java 8 import java.net.InetAddress;
18 * Uses an underlying {@link JmDNS} instance for each {@link InetAddress} found on this computer.<br/>
134 public abstract InetAddress[] getInetAddresses() throws IOException;
145 public abstract InetAddress[] getInterfaces() throws IOException;
  /frameworks/base/core/java/android/net/
DhcpInfoInternal.java 23 import java.net.InetAddress;
66 InetAddress inetAddress = NetworkUtils.numericToInetAddress(addr);
67 if (inetAddress instanceof Inet4Address) {
68 return NetworkUtils.inetAddressToInt(inetAddress);
85 InetAddress inetAddress = NetworkUtils.numericToInetAddress(ipAddress);
CaptivePortalTracker.java 42 import java.net.InetAddress;
171 InetAddress server;
235 InetAddress server = lookupHost(mServer);
280 private boolean isCaptivePortal(InetAddress server) {
306 private InetAddress lookupHost(String hostname) {
307 InetAddress inetAddress[];
309 inetAddress = InetAddress.getAllByName(hostname);
314 for (InetAddress a : inetAddress)
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/
ServerSocketFactoryTest.java 22 import java.net.InetAddress;
75 Socket socket = new Socket(InetAddress.getLocalHost(), serverSocket.getLocalPort());
77 InetAddress.getLocalHost(), serverSocket.getLocalPort()));
  /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/apache-http/src/org/apache/http/conn/scheme/
PlainSocketFactory.java 35 import java.net.InetAddress;
85 InetAddress localAddress, int localPort,
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/
SocketConnector.java 40 import java.net.InetAddress;
64 public SocketConnector( InetAddress address, int port ) throws IOException
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java 19 import java.net.InetAddress;
69 InetAddress host = sa.getAddress();
  /cts/tests/tests/security/src/android/security/cts/
ListeningPortsTest.java 24 import java.net.InetAddress;
228 private final InetAddress localAddress;
233 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) {
273 InetAddress localIp = addrToInet(fields[1].split(":")[0]);
289 private static InetAddress addrToInet(String s) throws UnknownHostException {
306 return InetAddress.getByAddress(retval);

Completed in 536 milliseconds

1 2 3 4 56 7 8 91011>>