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

1 2 3 45 6 7 8 91011>>

  /libcore/benchmarks/src/benchmarks/regression/
SSLSocketBenchmark.java 24 import java.net.InetAddress;
43 final InetAddress host;
50 this.host = InetAddress.getByName(url.getHost());
DnsBenchmark.java 22 import java.net.InetAddress;
46 InetAddress.getByName(hosts[i % hosts.length]);
  /libcore/luni/src/main/java/libcore/io/
Os.java 37 import java.net.InetAddress;
46 public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException;
47 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
51 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
73 public String getnameinfo(InetAddress address, int flags) throws GaiException;
81 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException;
89 public InetAddress inet_pton(int family, String address);
90 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException;
125 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException
    [all...]
Posix.java 37 import java.net.InetAddress;
49 public native InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException;
50 public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
54 public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
75 public native String getnameinfo(InetAddress address, int flags) throws GaiException;
83 public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException;
91 public native InetAddress inet_pton(int family, String address);
92 public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException;
167 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException
    [all...]
ForwardingOs.java 37 import java.net.InetAddress;
55 public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return os.android_getaddrinfo(node, hints, netId); }
56 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.bind(fd, address, port); }
60 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.connect(fd, address, port); }
81 public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
89 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptInAddr(fd, level, option); }
97 public InetAddress inet_pton(int family, String address) { return os.inet_pton(family, address); }
98 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioctlInetAddress(fd, cmd, interfaceName); }
133 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return os.sendto(fd, buffer, flags, inetAddres (…)
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldDatagramPacketTest.java 23 import java.net.InetAddress;
28 DatagramPacket dp = new DatagramPacket("Hello".getBytes(), 5, InetAddress.getLocalHost(), 1000);
49 DatagramPacket packet = new DatagramPacket(bytes, 6, InetAddress.getByName("localhost"), ss.getLocalPort());
OldAndroidDatagramTest.java 22 import java.net.InetAddress;
71 packet.setAddress(InetAddress.getLocalHost());
88 public Reflector(int port, InetAddress address) {
125 reflector = new Reflector(1234, InetAddress.getLocalHost());
131 socket = new DatagramSocket(2345, InetAddress.getLocalHost());
138 packet.setAddress(InetAddress.getLocalHost());
  /libcore/luni/src/main/java/java/net/
PlainSocketImpl.java 41 private static InetAddress lastConnectedAddress;
69 public PlainSocketImpl(FileDescriptor fd, int localport, InetAddress addr, int port) {
131 @Override protected void bind(InetAddress address, int port) throws IOException {
141 public void onBind(InetAddress localAddress, int localPort) {
158 connect(InetAddress.getByName(aHost), aPort);
162 protected void connect(InetAddress anAddr, int aPort) throws IOException {
178 private void connect(InetAddress anAddr, int aPort, int timeout) throws IOException {
179 InetAddress normalAddr = anAddr.isAnyLocalAddress() ? InetAddress.getLocalHost() : anAddr;
190 public void onConnect(InetAddress remoteAddress, int remotePort)
    [all...]
  /frameworks/base/core/java/android/net/
LinkProperties.java 26 import java.net.InetAddress;
53 private ArrayList<InetAddress> mDnses = new ArrayList<InetAddress>();
101 for (InetAddress i : source.getDnsServers()) mDnses.add(i);
158 * @return An umodifiable {@link List} of {@link InetAddress} for this link.
161 public List<InetAddress> getAddresses() {
162 List<InetAddress> addresses = new ArrayList<InetAddress>();
173 public List<InetAddress> getAllAddresses() {
174 List<InetAddress> addresses = new ArrayList<InetAddress>()
    [all...]
IpPrefix.java 23 import java.net.InetAddress;
83 public IpPrefix(InetAddress address, int prefixLength) {
101 // We don't reuse the (InetAddress, int) constructor because "error: call to this must be
105 Pair<InetAddress, Integer> ipAndMask = NetworkUtils.parseIpAndMask(prefix);
143 public InetAddress getAddress() {
145 return InetAddress.getByAddress(address);
147 // Cannot happen. InetAddress.getByAddress can only throw an exception if the byte
179 return InetAddress.getByAddress(address).getHostAddress() + "/" + prefixLength;
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpServerTest.java 8 import java.net.InetAddress;
116 public HTTPSession createSession(TempFileManager tempFileManager, InputStream inputStream, OutputStream outputStream, InetAddress inetAddress) {
117 return new HTTPSession(tempFileManager, inputStream, outputStream, inetAddress);
  /libcore/luni/src/main/java/java/lang/
SecurityManager.java 21 import java.net.InetAddress;
64 public void checkMulticast(InetAddress maddr) { }
67 * @deprecated use {@link #checkMulticast(java.net.InetAddress)} instead.
69 @Deprecated public void checkMulticast(InetAddress maddr, byte ttl) { }
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketFactoriesTest.java 23 import java.net.InetAddress;
119 + "createServerSocket(int,int,InetAddress)");
152 + "String,int,InetAddress,int)");
157 InetAddress.getByName("localhost"), 0);
162 + "InetAddress,int)");
165 InetAddress.getByName("localhost"),
171 + "InetAddress,int,InetAddress,int)");
174 InetAddress.getByName("localhost"),
176 InetAddress.getByName("localhost")
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLServerSocketFactoryImpl.java 20 import java.net.InetAddress;
76 InetAddress iAddress) throws IOException {
  /external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
SSLServerSocketFactoryWrapper.java 20 import java.net.InetAddress;
70 InetAddress ifAddress) throws IOException {
  /external/smack/src/org/xbill/DNS/
APLRecord.java 50 Element(boolean negative, InetAddress address, int prefixLength) {
63 sb.append(((InetAddress) address).getHostAddress());
163 InetAddress addr = InetAddress.getByAddress(data);
227 InetAddress address = InetAddress.getByAddress(bytes);
269 InetAddress addr = (InetAddress) element.address;
ClientSubnetOption.java 42 private InetAddress address;
70 ClientSubnetOption(int sourceNetmask, int scopeNetmask, InetAddress address) {
93 ClientSubnetOption(int sourceNetmask, InetAddress address) {
119 public InetAddress
146 address = InetAddress.getByAddress(fulladdr);
151 InetAddress tmp = Address.truncate(address, sourceNetmask);
  /frameworks/base/core/java/android/net/dhcp/
DhcpDiscoverPacket.java 19 import java.net.InetAddress;
46 InetAddress destIp = Inet4Address.ALL;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLServerSocketFactoryTest.java 20 import java.net.InetAddress;
57 InetAddress arg2) throws IOException {
  /external/apache-harmony/luni/src/test/resources/net.resources/HTTP/html/testres231/UCL/
UCL.jar 
  /external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
SettingsMenuFragment.java 24 import java.net.InetAddress;
136 for (Enumeration<InetAddress> enumIpAddr =
139 InetAddress inetAddress = enumIpAddr.nextElement();
140 if (!inetAddress.isLoopbackAddress()) {
143 localIp = inetAddress.getHostAddress().toString();
  /frameworks/base/docs/html/sdk/api_diff/19/changes/
java.net.InetAddress.html 10 java.net.InetAddress
74 Class java.net.<A HREF="../../../../reference/java/net/InetAddress.html" target="_top"><font size="+2"><code>InetAddress</code></font></A>
86 <A NAME="java.net.InetAddress.getLoopbackAddress_added()"></A>
87 <nobr><code>InetAddress</code>&nbsp;<A HREF="../../../../reference/java/net/InetAddress.html#getLoopbackAddress()" target="_top"><code>getLoopbackAddress</code></A>()</nobr>
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java 21 import java.net.InetAddress;
119 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
125 public Socket createSocket(InetAddress host, int port) {
130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) {
244 InetAddress host = sa.getAddress();
  /external/nist-sip/java/gov/nist/javax/sip/stack/
MessageProcessor.java 35 import java.net.InetAddress;
78 private InetAddress ipAddress;
113 protected MessageProcessor( InetAddress ipAddress, int port, String transport,
127 public final void initialize( InetAddress ipAddress, int port,
219 public InetAddress getIpAddress() {
225 protected void setIpAddress(InetAddress ipAddress) {
292 public abstract MessageChannel createMessageChannel(InetAddress targetHost,
  /external/smack/src/org/jivesoftware/smack/proxy/
Socks4ProxySocketFactory.java 23 import java.net.InetAddress;
50 public Socket createSocket(String host ,int port, InetAddress localHost,
57 public Socket createSocket(InetAddress host, int port)
63 public Socket createSocket( InetAddress address, int port,
64 InetAddress localAddress, int localPort)
119 InetAddress addr=InetAddress.getByName(host);

Completed in 624 milliseconds

1 2 3 45 6 7 8 91011>>