Searched refs:bindAddr (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 190 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/ |
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()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | ServerSocket.annotated.java | 41 public ServerSocket(int port, int backlog, java.net.InetAddress bindAddr) throws java.io.IOExceptio… in ServerSocket() argument
|
/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()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | ServerSocket.java | 49 public ServerSocket(int port, int backlog, java.net.InetAddress bindAddr) in ServerSocket() argument
|