Home
last modified time | relevance | path

Searched refs:bindAddr (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DSocketChannelTest.java190 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketStateSync() local
191 sc.socket().bind(bindAddr); in test_bind_socketStateSync()
195 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketStateSync()
214 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketObjectCreationAfterBind() local
215 sc.socket().bind(bindAddr); in test_bind_socketObjectCreationAfterBind()
221 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketObjectCreationAfterBind()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DServerSocketChannelTest.java188 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketSync() local
189 ssc.socket().bind(bindAddr); in test_bind_socketSync()
193 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketSync()
207 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketSyncAfterBind() local
208 ssc.socket().bind(bindAddr); in test_bind_socketSyncAfterBind()
214 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketSyncAfterBind()
232 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_getLocalSocketAddress_afterClose() local
233 ssc.socket().bind(bindAddr); in test_getLocalSocketAddress_afterClose()
DDatagramChannelTest.java2468 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketSync() local
2469 dc.socket().bind(bindAddr); in test_bind_socketSync()
2473 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketSync()
2492 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketSyncAfterBind() local
2493 dc.socket().bind(bindAddr); in test_bind_socketSyncAfterBind()
2499 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketSyncAfterBind()
2514 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_getLocalSocketAddress_afterClose() local
2515 dc.socket().bind(bindAddr); in test_getLocalSocketAddress_afterClose()
/libcore/ojluni/annotations/mmodule/java/net/
DServerSocket.annotated.java41 public ServerSocket(int port, int backlog, java.net.InetAddress bindAddr) throws java.io.IOExceptio… in ServerSocket() argument
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java229 public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { in ServerSocket() argument
237 bind(new InetSocketAddress(bindAddr, port), backlog); in ServerSocket()
/libcore/ojluni/annotations/hiddenapi/java/net/
DServerSocket.java49 public ServerSocket(int port, int backlog, java.net.InetAddress bindAddr) in ServerSocket() argument