HomeSort by relevance Sort by last modified time
    Searched refs:ServerSocket (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /libcore/luni/src/main/java/javax/net/
DefaultServerSocketFactory.java 22 import java.net.ServerSocket;
27 public ServerSocket createServerSocket() throws IOException {
28 return new ServerSocket();
32 public ServerSocket createServerSocket(int port) throws IOException {
33 return new ServerSocket(port);
37 public ServerSocket createServerSocket(int port, int backlog) throws IOException {
38 return new ServerSocket(port, backlog);
42 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress)
44 return new ServerSocket(port, backlog, iAddress);
ServerSocketFactory.java 22 import java.net.ServerSocket;
60 public ServerSocket createServerSocket() throws IOException {
74 public abstract ServerSocket createServerSocket(int port) throws IOException;
86 public abstract ServerSocket createServerSocket(int port, int backlog) throws IOException;
100 public abstract ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress)
  /external/chromium/net/socket/
server_socket.h 16 class ServerSocket {
18 ServerSocket() { }
19 virtual ~ServerSocket() { }
34 DISALLOW_COPY_AND_ASSIGN(ServerSocket);
  /external/chromium_org/net/socket/
server_socket.h 17 class NET_EXPORT ServerSocket {
19 ServerSocket() { }
20 virtual ~ServerSocket() { }
35 DISALLOW_COPY_AND_ASSIGN(ServerSocket);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
TestServerSocketInit.java 21 import java.net.ServerSocket;
26 ServerSocket serverSocket = new ServerSocket();
27 serverSocket.setReuseAddress(true);
28 serverSocket.close();
ServerSocketTest.java 28 import java.net.ServerSocket;
48 ServerSocket s;
87 * @tests java.net.ServerSocket#ServerSocket()
90 // Test for method java.net.ServerSocket(int)
95 * @tests java.net.ServerSocket#ServerSocket(int)
98 // Test for method java.net.ServerSocket(int)
103 * @tests java.net.ServerSocket#ServerSocket(int
    [all...]
SocketTest.java 29 import java.net.ServerSocket;
73 ServerSocket socket = null;
76 socket = new ServerSocket(port, backlog,
81 socket = new ServerSocket(port, backlog);
86 socket = new ServerSocket();
187 ServerSocket server = new ServerSocket();
259 ServerSocket server = new ServerSocket(0);
341 ServerSocket server = new ServerSocket(0)
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldServerSocketTest.java 25 import java.net.ServerSocket;
40 ServerSocket s;
54 ServerSocket theSocket = new ServerSocket();
88 s = new ServerSocket(0, 1);
128 ServerSocket ss = new ServerSocket();
134 s = new ServerSocket(0);
136 new ServerSocket(s.getLocalPort());
150 s = new ServerSocket(0)
    [all...]
ServerSocketTest.java 20 import java.net.ServerSocket;
25 final ServerSocket ss = new ServerSocket(0);
OldUnixSocketTest.java 26 import java.net.ServerSocket;
35 final ServerSocket pingServer = new ServerSocket(0);
102 ServerSocket ss = new ServerSocket(0);
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServerSocket.java 21 import java.net.ServerSocket;
30 private ServerSocket instance = null;
69 instance = new ServerSocket(port);
  /art/test/048-server-socket/src/
Main.java 17 import java.net.ServerSocket;
34 ServerSocket socket;
37 socket = new ServerSocket(7890);
57 socket = new ServerSocket(7890);
  /dalvik/tests/048-server-socket/src/
Main.java 3 import java.net.ServerSocket;
20 ServerSocket socket;
23 socket = new ServerSocket(7890);
43 socket = new ServerSocket(7890);
  /libcore/luni/src/main/java/javax/net/ssl/
DefaultSSLServerSocketFactory.java 22 import java.net.ServerSocket;
48 public ServerSocket createServerSocket(int port) throws IOException {
53 public ServerSocket createServerSocket(int port, int backlog) throws IOException {
58 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress)
  /libcore/luni/src/main/java/java/nio/channels/
ServerSocketChannel.java 21 import java.net.ServerSocket;
28 * can only be done through the associated {@link ServerSocket} object, returned
35 * related {@code ServerSocket} instance.
78 * any public methods that are not declared in {@code ServerSocket}.
82 public abstract ServerSocket socket();
93 * accept()} method of the {@link ServerSocket} class.
  /libcore/luni/src/test/java/tests/api/javax/net/
ServerSocketFactoryTest.java 27 import java.net.ServerSocket;
41 ServerSocket ss = sf.createServerSocket();
48 ServerSocket ss = sf.createServerSocket(0);
68 ServerSocket ss = sf.createServerSocket(0, 0);
89 ServerSocket ss = sf.createServerSocket(0, 0, InetAddress.getLocalHost());
114 public ServerSocket createServerSocket(int port) throws IOException {
119 public ServerSocket createServerSocket(int port, int backlog)
125 public ServerSocket createServerSocket(int port, int backlog,
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLSocketTest.java 22 import java.net.ServerSocket;
54 ServerSocket ss = new ServerSocket(0);
64 ServerSocket ss = new ServerSocket(0);
76 ServerSocket ss1 = new ServerSocket(0);
77 ServerSocket ss2 = new ServerSocket(0);
92 ServerSocket ss1 = new ServerSocket(0)
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
SocketTest.java 25 import java.net.ServerSocket;
51 ServerSocket ss;
57 ss = new ServerSocket();
99 ServerSocket s3 = new ServerSocket(23456);
101 ServerSocket s4 = new ServerSocket(23456);
113 final ServerSocket serverSock = new ServerSocket();
152 ServerSocket serverSock2 = new ServerSocket()
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
ServerSocketFactoryTest.java 26 import java.net.ServerSocket;
39 * Class under test for java.net.ServerSocket createServerSocket()
57 ServerSocket s;
80 public ServerSocket createServerSocket(int port) throws IOException, UnknownHostException {
85 public ServerSocket createServerSocket(int port, int backlog)
91 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException {
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLServerSocketFactoryImpl.java 21 import java.net.ServerSocket;
53 public ServerSocket createServerSocket() throws IOException {
57 public ServerSocket createServerSocket(int port) throws IOException {
61 public ServerSocket createServerSocket(int port, int backlog)
68 public ServerSocket createServerSocket(int port,
SSLServerSocketFactoryImpl.java 22 import java.net.ServerSocket;
83 public ServerSocket createServerSocket() throws IOException {
95 public ServerSocket createServerSocket(int port) throws IOException {
107 public ServerSocket createServerSocket(int port, int backlog)
120 public ServerSocket createServerSocket(int port, int backlog,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
MockServerSocketChannel.java 21 import java.net.ServerSocket;
32 public ServerSocket socket() {
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLServerSocketFactoryTest.java 21 import java.net.ServerSocket;
45 public ServerSocket createServerSocket(int arg0) throws IOException {
50 public ServerSocket createServerSocket(int arg0, int arg1)
56 public ServerSocket createServerSocket(int arg0, int arg1,
  /libcore/luni/src/test/java/libcore/javax/net/
ServerSocketFactoryTest.java 24 import java.net.ServerSocket;
35 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket();
36 serverSocket.bind(new InetSocketAddress(0));
37 testSocket(serverSocket, 50);
41 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(0);
42 testSocket(serverSocket, 50);
46 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(0, 1)
    [all...]
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixSocketTest.java 26 import java.net.ServerSocket;
39 final ServerSocket pingServer = new ServerSocket(0);
106 ServerSocket ss = new ServerSocket(0);

Completed in 852 milliseconds

1 2 3 4 5