HomeSort by relevance Sort by last modified time
    Searched refs:SocketException (Results 51 - 75 of 179) sorted by null

1 23 4 5 6 7 8

  /libcore/luni/src/main/java/libcore/io/
IoBridge.java 39 import java.net.SocketException;
79 public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException {
87 throw new SocketException("Can't bind to a link-local address without a scope id: " + address);
108 public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketException {
120 public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) throws SocketException, SocketTimeoutException {
125 } catch (SocketException ex) {
130 throw new SocketException(ex);
226 throw new SocketException("Socket closed");
250 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException {
258 private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, SocketException {
    [all...]
Os.java 40 import java.net.SocketException;
44 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException;
47 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
48 public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
52 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
53 public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
125 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException;
126 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException;
130 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException;
131 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException;
    [all...]
Posix.java 40 import java.net.SocketException;
47 public native FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException;
50 public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
51 public native void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
55 public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
56 public native void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
174 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
187 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
191 private native int recvfromBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException;
196 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
    [all...]
BlockGuardOs.java 31 import java.net.SocketException;
48 } catch (SocketException e) {
56 } catch (SocketException e) {
61 @Override public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException {
109 @Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException {
243 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
248 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
268 @Override public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
273 @Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
  /libcore/luni/src/main/java/java/net/
PlainDatagramSocketImpl.java 59 @Override public void bind(int port, InetAddress address) throws SocketException {
92 public void create() throws SocketException {
107 @Override public Object getOption(int option) throws SocketException {
188 public void setOption(int option, Object value) throws SocketException {
203 public void connect(InetAddress inetAddr, int port) throws SocketException {
210 throw new SocketException("Host is unresolved: " + inetAddr.getHostName());
229 } catch (SocketException ignored) {
DatagramPacket.java 261 * @throws SocketException
264 public DatagramPacket(byte[] data, int length, SocketAddress sockAddr) throws SocketException {
283 * @throws SocketException
287 SocketAddress sockAddr) throws SocketException {
PlainSocketImpl.java 116 throw new SocketException("Socket is closed");
241 @Override public Object getOption(int option) throws SocketException {
285 public void setOption(int option, Object value) throws SocketException {
319 throw new SocketException("SOCKS connection failed", e);
389 throw new SocketException("Invalid SOCKS client");
444 throw new SocketException("Malformed reply from SOCKS server");
  /libcore/luni/src/test/java/libcore/java/net/
OldServerSocketTest.java 28 import java.net.SocketException;
249 fail("SocketException was not thrown.");
250 } catch (SocketException expected) {
254 fail("SocketException was not thrown.");
255 } catch (SocketException expected) {
271 fail("SocketException was not thrown.");
272 } catch(SocketException expected) {
281 fail("SocketException was not thrown.");
282 } catch(SocketException e) {
292 fail("SocketException was not thrown.")
    [all...]
OldSocketTest.java 33 import java.net.SocketException;
329 fail("SocketException was not thrown.");
330 } catch(SocketException ioe) {
354 fail("SocketException was not thrown.");
355 } catch(SocketException e) {
398 fail("SocketException was not thrown.");
399 } catch (SocketException expected) {
403 fail("SocketException was not thrown.");
404 } catch (SocketException expected) {
427 fail("SocketException was not thrown.")
    [all...]
  /external/apache-http/src/org/apache/http/impl/
SocketHttpClientConnection.java 37 import java.net.SocketException;
164 } catch (SocketException ignore) {
176 } catch (SocketException ignore) {
SocketHttpServerConnection.java 37 import java.net.SocketException;
162 } catch (SocketException ignore) {
174 } catch (SocketException ignore) {
  /external/okhttp/android/main/java/com/squareup/okhttp/internal/
Platform.java 24 import java.net.SocketException;
62 public void tagSocket(Socket socket) throws SocketException {
66 public void untagSocket(Socket socket) throws SocketException {
  /frameworks/base/core/java/com/android/server/
NetworkManagementSocketTagger.java 26 import java.net.SocketException;
66 public void tag(FileDescriptor fd) throws SocketException {
90 public void untag(FileDescriptor fd) throws SocketException {
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSocketImpl.java 28 import java.net.SocketException;
245 private void checkOpen() throws SocketException {
247 throw new SocketException("Socket is closed");
578 throw new SocketException("Socket is closed.");
602 throw new SocketException("Socket is closed.");
647 throw new SocketException("Socket is closed");
699 throw new SocketException("socket is closed");
765 throw new SocketException("socket is closed");
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
NetworkInterfaceTest.java 23 import java.net.SocketException;
352 public void test_getInterfaceAddresses() throws SocketException {
381 public void test_isLoopback() throws SocketException {
402 public void test_getHardwareAddress() throws SocketException {
420 public void test_getMTU() throws SocketException {
429 protected void setUp() throws SocketException {
488 } catch (SocketException e) {
489 fail("SocketException occurred : " + e);
DatagramSocketTest.java 31 import java.net.SocketException;
90 public void test_Constructor() throws SocketException {
97 public void test_ConstructorI() throws SocketException {
115 public void test_close() throws UnknownHostException, SocketException {
348 public void test_getLocalPort() throws SocketException {
372 fail("SocketException was not thrown.");
373 } catch(SocketException se) {
385 fail("SocketException was not thrown.");
386 } catch(SocketException se) {
403 protected void create() throws SocketException {
    [all...]
  /external/nist-sip/java/gov/nist/core/net/
SslNetworkLayer.java 36 import java.net.SocketException;
98 public DatagramSocket createDatagramSocket() throws SocketException {
103 throws SocketException {
  /external/jmdns/src/javax/jmdns/impl/
NetworkTopologyDiscoveryImpl.java 9 import java.net.SocketException;
74 } catch (SocketException se) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
RouteSelector.java 30 import java.net.SocketException;
153 throw new SocketException("No route to " + address.getUriHost()
183 throw new SocketException("No route to " + socketHost + ":" + socketPort
221 throw new SocketException("No route to " + address.getUriHost()
  /libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java 24 import java.net.SocketException;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 27 import java.net.SocketException;
73 public void tagSocket(Socket socket) throws SocketException {
76 public void untagSocket(Socket socket) throws SocketException {
230 @Override public void tagSocket(Socket socket) throws SocketException {
242 @Override public void untagSocket(Socket socket) throws SocketException {
  /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
SimpleWebServer.java 32 import java.net.SocketException;
102 } catch (SocketException e) {
  /developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
SimpleWebServer.java 32 import java.net.SocketException;
102 } catch (SocketException e) {
  /development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
SimpleWebServer.java 32 import java.net.SocketException;
102 } catch (SocketException e) {
  /external/conscrypt/src/platform/java/org/conscrypt/
Platform.java 32 import java.net.SocketException;
102 public static void setSocketWriteTimeout(Socket s, long timeoutMillis) throws SocketException {

Completed in 243 milliseconds

1 23 4 5 6 7 8