Searched refs:accept (Results 1 - 25 of 41) sorted by path

12

/libcore/luni/src/main/java/java/io/
H A DFile.java775 if (filter.accept(this, filename)) {
832 if (filter.accept(file)) {
H A DFileFilter.java36 public abstract boolean accept(File pathname); method in interface:FileFilter
H A DFilenameFilter.java40 public abstract boolean accept(File dir, String filename); method in interface:FilenameFilter
/libcore/luni/src/main/java/java/net/
H A DPlainSocketImpl.java89 protected void accept(SocketImpl newImpl) throws IOException { method in class:PlainSocketImpl
98 FileDescriptor clientFd = Libcore.os.accept(fd, peerAddress);
350 * Perform an accept for a SOCKS bind.
H A DServerSocket.java119 public Socket accept() throws IOException { method in class:ServerSocket
180 * Gets the socket {@link SocketOptions#SO_TIMEOUT accept timeout}.
191 * Invokes the server socket implementation to accept a connection on the
195 * the concrete {@code SocketImpl} to accept the connection
202 impl.accept(aSocket.impl);
226 * Sets the {@link SocketOptions#SO_TIMEOUT accept timeout} in milliseconds for this socket.
227 * This accept timeout defines the period the socket will block waiting to
228 * accept a connection before throwing an {@code InterruptedIOException}. The value
H A DSocketImpl.java61 * the socket to accept connections on.
65 protected abstract void accept(SocketImpl newSocket) throws IOException; method in class:SocketImpl
/libcore/luni/src/main/java/java/nio/
H A DServerSocketChannelImpl.java58 @Override public SocketChannel accept() throws IOException { method in class:ServerSocketChannelImpl
66 // Create an empty socket channel. This will be populated by ServerSocketAdapter.accept.
79 // continue to accept if the channel is in blocking mode.
119 @Override public Socket accept() throws IOException { method in class:ServerSocketChannelImpl.ServerSocketAdapter
123 SocketChannel sc = channelImpl.accept();
/libcore/luni/src/main/java/java/nio/channels/
H A DServerSocketChannel.java33 * open()} method. Calling {@code accept} before bound will cause a
93 * accept()} method of the {@link ServerSocket} class.
111 public abstract SocketChannel accept() throws IOException; method in class:ServerSocketChannel
/libcore/luni/src/main/java/java/util/prefs/
H A DFilePreferencesImpl.java99 public boolean accept(File parent, String name) {
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java53 @Override public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException { method in class:BlockGuardOs
55 return tagSocket(os.accept(fd, peerAddress));
H A DForwardingOs.java38 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException { return os.accept(fd, peerAddress); } method in class:ForwardingOs
H A DOs.java29 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException; method in interface:Os
H A DPosix.java32 public native FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException; method in class:Posix
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLConnection.java245 dataSocket = acceptSocket.accept();
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLServerSocketImpl.java159 public Socket accept() throws IOException { method in class:OpenSSLServerSocketImpl
H A DSSLServerSocketImpl.java239 * @see java.net.ServerSocket#accept()
243 public Socket accept() throws IOException { method in class:SSLServerSocketImpl
245 logger.println("SSLServerSocketImpl.accept ..");
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp376 jint clientFd = NET_FAILURE_RETRY(env, int, accept, javaFd, peer, peerLength);
1272 NATIVE_METHOD(Posix, accept, "(Ljava/io/FileDescriptor;Ljava/net/InetSocketAddress;)Ljava/io/FileDescriptor;"),
/libcore/luni/src/test/java/libcore/java/io/
H A DInterruptedStreamTest.java114 SocketChannel server = serverSocketChannel.accept();
/libcore/luni/src/test/java/libcore/java/net/
H A DConcurrentCloseTest.java44 System.err.println("accept...");
45 Socket s = ss.accept();
46 fail("accept returned " + s + "!");
211 client = ss.accept();
H A DOldServerSocketTest.java79 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 DOldSocketImplFactoryTest.java120 protected void accept(SocketImpl arg0) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl
H A DOldSocketTest.java594 Socket servSock = serverSocket.accept();
629 Socket servSock = serverSocket.accept();
732 Socket servSock = serverSocket.accept();
745 servSock = serverSocket.accept();
766 Socket servSock = serverSocket.accept();
778 servSock = serverSocket.accept();
788 Socket servSock = serverSocket.accept();
805 // ServerSocket.accept()
847 Socket servSock = serverSocket.accept();
1052 Socket servSock = serverSocket.accept();
2192 protected void accept(SocketImpl arg0) throws IOException { method in class:OldSocketTest.MockSocketImpl
[all...]
H A DOldUnixSocketTest.java42 Socket worker = pingServer.accept();
H A DServerSocketTest.java27 // On Unix, the receive timeout is inherited by the result of accept(2).
34 result[0] = ss.accept();
H A DSocketTest.java107 SocketChannel in = ssc.accept();
151 @Override protected void accept(SocketImpl arg0) throws IOException { }
266 Socket socket = serverSocket.accept();
305 Socket socket = serverSocket.accept();

Completed in 560 milliseconds

12