/libcore/luni/src/main/java/java/io/ |
H A D | FileFilter.java | 36 public abstract boolean accept(File pathname); method in interface:FileFilter
|
H A D | FilenameFilter.java | 40 public abstract boolean accept(File dir, String filename); method in interface:FilenameFilter
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | CookiePolicyTest.java | 58 boolean accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, cookie); 59 assertTrue(accept); 61 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, null); 62 assertTrue(accept); 64 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(uri, null); 65 assertTrue(accept); 68 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, cookie); 69 assertFalse(accept); 71 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, null); 72 assertFalse(accept); [all...] |
H A D | ServerSocketTest.java | 126 sconn = s.accept(); 160 sconn = s.accept(); 161 assertNotNull("Was unable to accept connection", sconn); 169 * java.net.ServerSocket#accept() 176 sconn = s.accept(); 192 ss.accept(); 199 Thread thread = new Thread(runnable, "ServerSocket.accept"); 215 fail("accept interrupted"); 218 fail("accept call did not exit"); 227 ss2.accept(); 902 protected void accept(SocketImpl arg0) throws IOException { method in class:ServerSocketTest.MockSocketImpl [all...] |
H A D | SocketTest.java | 96 Socket client = socket.accept(); 194 Socket worker = server.accept(); 811 Socket worker = sinkServer.accept(); 875 ss2.accept(); 1006 Socket worker = server.accept(); 1023 worker = server.accept(); 1051 Socket worker = server.accept(); 1060 // ServerSocket.accept() 1082 Socket worker = server.accept(); 1102 worker = server.accept(); [all...] |
H A D | SocketImplTest.java | 85 protected void accept(SocketImpl newSocket) throws IOException { method in class:SocketImplTest.MockSocketImpl
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | MockServerSocketChannel.java | 38 public SocketChannel accept() throws IOException { method in class:MockServerSocketChannel
|
H A D | ServerSocketChannelTest.java | 330 // Test for accept() 334 * Test method for 'java.nio.channels.ServerSocketChannel.accept()' 341 this.serverChannel.accept(); 352 this.serverChannel.accept(); 363 this.serverChannel.accept(); 387 this.serverChannel.accept(); 398 assertNull(this.serverChannel.accept()); 402 * @tests ServerSocketChannel#accept().socket() 412 Socket serverSocket = serverChannel.accept().socket(); 440 * @tests ServerSocketChannel#accept() [all...] |
H A D | UnixSelectorTest.java | 43 public void accept() { method in class:UnixSelectorTest.Server 47 while (serverChannel.accept() == null) { 72 // after bind can not accept 74 server.accept();
|
H A D | SelectorTest.java | 427 ssc.accept().close(); 486 client = ssc.accept(); 524 ssc.accept().close(); 546 client = ssc.accept(); 552 client2 = ssc.accept(); 617 client = ssc.accept();
|
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | ServerSocketChannel.java | 35 * open()} method. Calling {@code accept} before bound will cause a 94 * accept()} method of the {@link ServerSocket} class. 112 public abstract SocketChannel accept() throws IOException; method in class:ServerSocketChannel
|
/libcore/luni/src/main/java/java/nio/ |
H A D | ServerSocketChannelImpl.java | 59 public SocketChannel accept() throws IOException { method in class:ServerSocketChannelImpl 124 @Override public Socket accept() throws IOException { method in class:ServerSocketChannelImpl.ServerSocketAdapter 128 SocketChannel sc = channelImpl.accept();
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldServerSocketTest.java | 79 Socket servSock = theSocket.accept(); 91 sconn = s.accept(); 143 sconn = s.accept(); 144 assertNotNull("Was unable to accept connection", sconn); 153 sconn = s.accept(); 154 assertNotNull("Was unable to accept connection", sconn); 218 Socket accepted = newSocket.accept(); 228 ss.accept(); 358 protected void accept(SocketImpl arg0) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
|
H A D | ServerSocketTest.java | 29 // On Unix, the receive timeout is inherited by the result of accept(2). 36 result[0] = ss.accept();
|
H A D | OldUnixSocketTest.java | 42 Socket worker = pingServer.accept();
|
H A D | OldSocketTest.java | 595 Socket servSock = serverSocket.accept(); 630 Socket servSock = serverSocket.accept(); 733 Socket servSock = serverSocket.accept(); 746 servSock = serverSocket.accept(); 767 Socket servSock = serverSocket.accept(); 779 servSock = serverSocket.accept(); 789 Socket servSock = serverSocket.accept(); 806 // ServerSocket.accept() 848 Socket servSock = serverSocket.accept(); 1043 Socket servSock = serverSocket.accept(); 2195 protected void accept(SocketImpl arg0) throws IOException { method in class:OldSocketTest.MockSocketImpl [all...] |
H A D | OldSocketImplFactoryTest.java | 120 protected void accept(SocketImpl arg0) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl
|
H A D | SocketTest.java | 110 SocketChannel in = ssc.accept(); 184 @Override protected void accept(SocketImpl arg0) throws IOException { } 299 Socket socket = serverSocket.accept(); 405 Socket socket = serverSocket.accept();
|
/libcore/luni/src/main/java/java/net/ |
H A D | SocketImpl.java | 61 * the socket to accept connections on. 65 protected abstract void accept(SocketImpl newSocket) throws IOException; method in class:SocketImpl
|
H A D | ServerSocket.java | 133 public Socket accept() throws IOException { method in class:ServerSocket 195 * Gets the socket {@link SocketOptions#SO_TIMEOUT accept timeout}. 206 * Invokes the server socket implementation to accept a connection on the 210 * the concrete {@code SocketImpl} to accept the connection 217 impl.accept(aSocket.impl); 241 * Sets the {@link SocketOptions#SO_TIMEOUT accept timeout} in milliseconds for this socket. 242 * This accept timeout defines the period the socket will block waiting to 243 * accept a connection before throwing an {@code InterruptedIOException}. The value
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | OldServerSocketChannelTest.java | 87 serverChannel.accept();
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
H A D | HttpURLConnectionTest.java | 69 serverSocket.accept().close(); 91 Socket socket = serverSocket.accept(); 102 socket = serverSocket.accept();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLSocketTest.java | 335 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); 393 final SSLSocket server1 = (SSLSocket) c.serverSocket.accept(); 406 final SSLSocket server2 = (SSLSocket) c.serverSocket.accept(); 429 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); 459 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); 489 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); 509 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); 631 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); 659 SSLSocket server = (SSLSocket) c.serverSocket.accept(); 696 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ |
H A D | ServerSocketFactoryTest.java | 67 Socket s = serverSocket.accept();
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLSocketPair.java | 77 final SSLSocket server = (SSLSocket) context.serverSocket.accept();
|