Searched refs:bindAddr (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 181 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketStateSync() local 182 sc.socket().bind(bindAddr); in test_bind_socketStateSync() 186 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketStateSync() 205 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_bind_socketObjectCreationAfterBind() local 206 sc.socket().bind(bindAddr); in test_bind_socketObjectCreationAfterBind() 212 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); in test_bind_socketObjectCreationAfterBind()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ServerSocketChannelTest.java | 188 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()
|
D | DatagramChannelTest.java | 2468 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()
|
D | SocketChannelTest.java | 214 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); in test_getLocalSocketAddress_afterClose() local 215 sc.socket().bind(bindAddr); in test_getLocalSocketAddress_afterClose()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ServerSocket.java | 229 public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { in ServerSocket() argument 237 bind(new InetSocketAddress(bindAddr, port), backlog); in ServerSocket()
|