/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousServerSocketChannelTest.java | 56 assc.bind(new InetSocketAddress(0)); in test_bind() 59 assc.bind(new InetSocketAddress(0)); in test_bind() 71 assc.bind(null); in test_bind_null() 74 assc.bind(null); in test_bind_null() 85 assc.bind(new InetSocketAddress("unresolvedname", 31415)); in test_bind_unresolvedAddress() 98 assc.bind(ss.getLocalSocketAddress()); in test_bind_used() 109 assc.bind(new InetSocketAddress(0)); in test_futureAccept() 131 assc.bind(new InetSocketAddress(0)); in test_completionHandlerAccept() 158 assc.bind(new InetSocketAddress(0)); in test_completionHandlerAccept_attachment() 195 assc.bind(new InetSocketAddress(0)); in test_completionHandlerAccept_npe() [all …]
|
D | DatagramChannelTest.java | 87 dc.socket().bind(null); in testNonBlockingRecv() 117 dc.socket().bind(new InetSocketAddress("unresolvedname", 31415)); in test_bind_unresolvedAddress() 140 dc.socket().bind(new InetSocketAddress(bindAddress, 0)); in test_bind_any() 178 dc.socket().bind(new InetSocketAddress(bindAddress, 0)); in test_bind() 219 channel.bind(socketAddress); in test_bind() 225 channel.bind(socketAddress); in test_bind() 233 dc.bind(socketAddress); in test_bind() 240 channel.bind(socketAddress); in test_bind() 250 serverChannel.bind(socketAddress); in test_getRemoteAddress() 265 channel.bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)); in test_open$java_net_ProtocolFamily() [all …]
|
D | ServerSocketChannelTest.java | 56 ssc.socket().bind(null); in testNonBlockingAccept() 84 ssc.socket().bind(new InetSocketAddress("unresolvedname", 31415)); in bind_unresolvedAddress() 98 ssc.socket().bind(null); in bind_nullBindsToAll() 170 ssc.socket().bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0), 5); in bind_loopback() 214 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0)); in bind_socketAddress() 220 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), in bind_socketAddress() 228 ssc1.bind(new InetSocketAddress("1.1.1.1.1.1.1", 0)); in bind_socketAddress() 235 ssc.bind(new InetSocketAddress("1.1.1.1.1.1.1", 0)); in bind_socketAddress()
|
D | SocketChannelTest.java | 169 sc.socket().bind(new InetSocketAddress("unresolvedname", 31415)); in test_bind_unresolvedAddress() 191 sc.socket().bind(bindAddr); in test_bind_socketStateSync() 215 sc.socket().bind(bindAddr); in test_bind_socketObjectCreationAfterBind() 311 sc.bind(socketAddress); in test_bind() 317 sc.bind(socketAddress); in test_bind() 325 sc1.bind(socketAddress); in test_bind() 333 sc.bind(socketAddress); in test_bind()
|
D | MembershipKeyTest.java | 47 .bind(new InetSocketAddress(Inet4Address.ANY, 0)); in init() 109 .bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)) in check_drop() 175 .bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)) in test_blockWithJoinWithoutSource() 224 .bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)) in test_unblockWithJoinWithoutSource()
|
D | SelectorTest.java | 40 ssc.socket().bind(null); in testNonBlockingConnect_immediate() 117 ssc.socket().bind(null); in test_57456() 158 ssc.bind(null); in test28318596()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ServerSocketTest.java | 415 theSocket.bind(theAddress); in test_bindLjava_net_SocketAddress() 445 theSocket.bind(null); in test_bindLjava_net_SocketAddress() 453 theSocket.bind(theAddress); in test_bindLjava_net_SocketAddress() 455 theSocket2.bind(localAddress); in test_bindLjava_net_SocketAddress() 466 theSocket.bind(new InetSocketAddress(InetAddress in test_bindLjava_net_SocketAddress() 478 theSocket.bind(new mySocketAddress()); in test_bindLjava_net_SocketAddress() 499 theSocket.bind(theAddress, 5); in test_bindLjava_net_SocketAddressI() 528 theSocket.bind(null, 5); in test_bindLjava_net_SocketAddressI() 536 theSocket.bind(theAddress, 5); in test_bindLjava_net_SocketAddressI() 538 theSocket2.bind(inuseAddress, 5); in test_bindLjava_net_SocketAddressI() [all …]
|
D | SocketTest.java | 167 theSocket.bind(bogusAddress); in test_bindLjava_net_SocketAddress() 176 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0)); in test_bindLjava_net_SocketAddress() 190 server.bind(theAddress); in test_bindLjava_net_SocketAddress() 208 theSocket.bind(null); in test_bindLjava_net_SocketAddress() 218 theSocket.bind(theAddress); in test_bindLjava_net_SocketAddress() 222 theSocket2.bind(theSocket.getLocalSocketAddress()); in test_bindLjava_net_SocketAddress() 233 theSocket.bind(new UnsupportedSocketAddress()); in test_bindLjava_net_SocketAddress() 252 socket.bind(new InetSocketAddress(address, 0)); in test_bindLjava_net_SocketAddress_Proxy() 721 client.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0)); in test_getLocalAddress() 759 client.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0)); in test_getLocalSocketAddress() [all …]
|
D | DatagramSocketTest.java | 430 protected void bind(int arg0, InetAddress arg1) in bind() method in DatagramSocketTest.TestDatagramSocketImpl 641 theSocket.bind(null); in test_bindLjava_net_SocketAddress_null() 665 theSocket.bind(new mySocketAddress()); in test_bindLjava_net_SocketAddress_unsupported_address_type() 695 theSocket.bind(theLocalAddress); in test_isBound() 739 theSocket.bind(new InetSocketAddress(Inet6Address.LOOPBACK, 0)); in test_getRemoteSocketAddress() 757 theSocket.bind(localAddress); in test_getLocalSocketAddress_late_bind() 794 theSocket1.bind(theAddress); in test_setReuseAddressZ() 795 … theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort())); in test_setReuseAddressZ() 812 theSocket1.bind(theAddress); in test_setReuseAddressZ() 813 … theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort())); in test_setReuseAddressZ() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ServerSocketChannelTest.java | 119 ssc.socket().bind(null); in test_bind_null() 131 portHog.socket().bind(null); in test_bind_failure() 136 ssc.socket().bind(portHog.socket().getLocalSocketAddress()); in test_bind_failure() 150 ssc.socket().bind(null); in test_bind_closed() 161 portPickingChannel.socket().bind(null); in test_bind_explicitPort() 171 ssc.socket().bind(bindAddress); in test_bind_explicitPort() 189 ssc.socket().bind(bindAddr); in test_bind_socketSync() 208 ssc.socket().bind(bindAddr); in test_bind_socketSyncAfterBind() 233 ssc.socket().bind(bindAddr); in test_getLocalSocketAddress_afterClose() 372 serverChannel.socket().bind(null); in testAccept_Block_NoConnect() [all …]
|
D | SocketChannelTest.java | 162 channel1.socket().bind(null); in testBind_Null() 174 channel1.socket().bind(localAddr1); in testBind_Failure() 184 channel1.socket().bind(null); in testBind_Closed() 193 portPickingChannel.socket().bind(null); in testBind_explicitPort() 203 channel1.socket().bind(bindAddress); in testBind_explicitPort() 215 sc.socket().bind(bindAddr); in test_getLocalSocketAddress_afterClose() 497 socket.bind(new InetSocketAddress("127.0.0.1", 0)); in testSocket_bind() 597 s.bind(localAddr2); in assertSocketAction_Block_BeforeConnect() 620 s.bind(localAddr2); in assertSocketAction_NonBlock_BeforeConnect() 627 s.bind(localAddr2); in assertSocketAction_NonBlock_BeforeConnect() [all …]
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | ServerSocketChannel.java | 159 public final ServerSocketChannel bind(SocketAddress local) in bind() method in ServerSocketChannel 162 return bind(local, 0); in bind() 203 public abstract ServerSocketChannel bind(SocketAddress local, int backlog) in bind() method in ServerSocketChannel
|
D | AsynchronousServerSocketChannel.java | 195 public final AsynchronousServerSocketChannel bind(SocketAddress local) in bind() method in AsynchronousServerSocketChannel 198 return bind(local, 0); in bind() 236 public abstract AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) in bind() method in AsynchronousServerSocketChannel
|
D | NetworkChannel.java | 87 NetworkChannel bind(SocketAddress local) throws IOException; in bind() method
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 66 public void bind(SocketAddress local) throws IOException { in bind() method in ServerSocketAdaptor 67 bind(local, 50); in bind() 70 public void bind(SocketAddress local, int backlog) throws IOException { in bind() method in ServerSocketAdaptor 74 ssc.bind(local, backlog); in bind()
|
D | DatagramSocketAdaptor.java | 87 public void bind(SocketAddress local) throws SocketException { in bind() method in DatagramSocketAdaptor 91 dc.bind(local); in bind() 380 protected void bind(int lport, InetAddress laddr) throws SocketException {}
|
D | AsynchronousServerSocketChannelImpl.java | 147 public final AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) in bind() method in AsynchronousServerSocketChannelImpl 162 Net.bind(fd, isa.getAddress(), isa.getPort()); in bind()
|
/libcore/ojluni/src/test/java/net/DatagramSocket/ |
D | ReuseAddressTest.java | 122 ms1.bind(addr); in DatagramSocket0030() 133 ms2.bind(addr); in DatagramSocket0030() 173 ms1.bind(addr); in DatagramSocket0031() 184 ms2.bind(addr); in DatagramSocket0031() 223 ds1.bind(isa1); in DatagramSocket0032() 233 ds2.bind(isa2); in DatagramSocket0032()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ServerSocket.java | 259 bind(new InetSocketAddress(bindAddr, port), backlog); in ServerSocket() 352 public void bind(SocketAddress endpoint) throws IOException { in bind() method in ServerSocket 353 bind(endpoint, 50); in bind() 381 public void bind(SocketAddress endpoint, int backlog) throws IOException { in bind() method in ServerSocket 399 getImpl().bind(epoint.getAddress(), epoint.getPort()); in bind()
|
D | DatagramSocket.java | 156 bind(new InetSocketAddress(0)); in connectInternal() 264 bind(bindaddr); in DatagramSocket() 394 public synchronized void bind(SocketAddress addr) throws SocketException { in bind() method in DatagramSocket 414 getImpl().bind(port, iaddr); in bind() 721 bind(new InetSocketAddress(0)); in send() 761 bind(new InetSocketAddress(0)); in receive()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTest.java | 264 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0)); in test_getLocalAddress() 679 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0)); in test_getLocalSocketAddress() 686 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0)); in test_getLocalSocketAddress() 694 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0)); in test_getLocalSocketAddress() 716 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0)); in test_getRemoteSocketAddress() 760 theSocket.bind(null); in test_isBound() 825 theSocket.bind(new InetSocketAddress(InetAddress in test_bindLjava_net_SocketAddress() 836 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), in test_bindLjava_net_SocketAddress() 858 theSocket.bind(null); in test_bindLjava_net_SocketAddress() 869 theSocket.bind(null); in test_bindLjava_net_SocketAddress() [all …]
|
D | OldAndroidDatagramTest.java | 170 s.bind(new InetSocketAddress(8888)); in test_54072_DatagramSocket() 180 s.bind(new InetSocketAddress(8888)); in test_54072_DatagramChannel()
|
D | OldServerSocketTest.java | 59 theSocket.bind(theAddress); in performancePreferenceTest() 183 ss2.bind(new InetSocketAddress("127.0.0.1", 4343)); in test_LocalPort() 343 protected void bind(InetAddress arg0, int arg1) throws IOException { in bind() method in OldServerSocketTest.MockSocketImpl
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | ServerSocket.annotated.java | 43 public void bind(java.net.SocketAddress endpoint) throws java.io.IOException { throw new RuntimeExc… in bind() method in ServerSocket 45 public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOException { throw n… in bind() method in ServerSocket
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | ServerSocket.java | 70 public void bind(java.net.SocketAddress endpoint) throws java.io.IOException { in bind() method in ServerSocket 74 public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOException { in bind() method in ServerSocket
|