/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 81 if (!ssc.isBound()) in getInetAddress() 88 if (!ssc.isBound()) in getLocalPort() 96 if (!ssc.isBound()) in accept() 144 public boolean isBound() { in isBound() method in ServerSocketAdaptor 145 return ssc.isBound(); in isBound() 178 if (!isBound()) in toString()
|
D | ServerSocketChannelImpl.java | 198 public boolean isBound() { in isBound() method in ServerSocketChannelImpl 215 if (isBound()) in bind() 236 if (!isBound()) in accept()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ServerSocket.java | 362 if (!oldImpl && isBound()) in bind() 408 if (!isBound()) in getInetAddress() 437 if (!isBound()) in getLocalPort() 476 if (!isBound()) in getLocalSocketAddress() 512 if (!isBound()) in accept() 618 public boolean isBound() { in isBound() method in ServerSocket 749 if (!isBound()) in toString()
|
D | DatagramSocket.java | 153 if (!isBound()) in connectInternal() 264 if (!isBound()) in DatagramSocket() 395 if (isBound()) in bind() 550 public boolean isBound() { in isBound() method in DatagramSocket 632 if (!isBound()) in getLocalSocketAddress() 718 if (!isBound()) in send() 758 if (!isBound()) in receive()
|
D | Socket.java | 658 if (!oldImpl && isBound()) in bind() 747 if (!isBound()) in getLocalAddress() 798 if (!isBound()) in getLocalPort() 862 if (!isBound()) in getLocalSocketAddress() 1649 public boolean isBound() { in isBound() method in Socket
|
D | AbstractPlainSocketImpl.java | 381 if (!closePending && (socket == null || !socket.isBound())) { in doConnect() 423 if (!closePending && (socket == null || !socket.isBound())) { in bind()
|
D | MulticastSocket.java | 176 if (!isBound()) in MulticastSocket()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 149 assertFalse(socket.isBound()); in test_open_initialState() 188 assertFalse(socket.isBound()); in test_bind_socketStateSync() 196 assertTrue(socket.isBound()); in test_bind_socketStateSync() 222 assertTrue(socket.isBound()); in test_bind_socketObjectCreationAfterBind() 243 assertTrue(sc.socket().isBound()); in test_connect_blocking() 264 assertTrue(sc.socket().isBound()); in test_connect_nonBlocking() 270 assertTrue(sc.socket().isBound()); in test_connect_nonBlocking()
|
D | ServerSocketChannelTest.java | 56 assertFalse(socket.isBound()); in test_open_initialState()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | ServerSocketTest.java | 60 assertFalse(ss.isBound()); in testInitialState() 78 assertTrue(ss.isBound()); in testStateAfterClose()
|
D | DatagramSocketTest.java | 41 assertTrue(ds.isBound()); in testInitialState() 63 assertTrue(ds.isBound()); in testStateAfterClose()
|
D | SocketTest.java | 157 assertTrue(ssc.socket().isBound()); in checkSocketLocalAndRemoteAddresses() 168 assertTrue(ssc.socket().isBound()); in checkSocketLocalAndRemoteAddresses() 355 assertFalse(s.isBound()); in testInitialState() 377 assertTrue(s.isBound()); in testStateAfterClose()
|
D | OldSocketTest.java | 67 assertFalse("new socket should not be bound", s.isBound()); in test_Constructor() 736 theSocket.isBound()); in test_isBound() 744 .isBound()); in test_isBound() 749 theSocket.isBound()); in test_isBound() 756 .isBound()); in test_isBound() 759 theSocket.isBound()); in test_isBound() 762 theSocket.isBound()); in test_isBound() 975 .isBound()); in test_connectLjava_net_SocketAddress() 1194 .isBound()); in test_connectLjava_net_SocketAddressI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ServerSocketTest.java | 427 .isBound()); in test_bindLjava_net_SocketAddress() 511 .isBound()); in test_bindLjava_net_SocketAddressI() 640 serverSocket.isBound()); in test_isBound() 645 serverSocket.isBound()); in test_isBound() 651 serverSocket.isBound()); in test_isBound() 656 serverSocket.isBound()); in test_isBound() 661 serverSocket.isBound()); in test_isBound()
|
D | DatagramSocketTest.java | 674 assertTrue(theSocket.isBound()); in test_isBound() 678 assertTrue(theSocket.isBound()); in test_isBound() 682 assertFalse(theSocket.isBound()); in test_isBound() 688 assertTrue(theSocket.isBound()); in test_isBound() 694 assertFalse(theSocket.isBound()); in test_isBound() 696 assertTrue(theSocket.isBound()); in test_isBound() 698 assertTrue(theSocket.isBound()); in test_isBound()
|
D | MulticastSocketTest.java | 791 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 793 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 798 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 803 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 825 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_getLoopbackMode() 827 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_getLoopbackMode()
|
D | SocketTest.java | 353 assertTrue("Wrong bound status", client.isBound()); in test_connectLjava_net_SocketAddress() 454 assertTrue("Wrong bound status", client.isBound()); in test_connectLjava_net_SocketAddressI() 502 assertFalse("new socket should not be bound", s.isBound()); in test_Constructor() 1014 .isBound()); in test_isBound() 1021 .isBound()); in test_isBound() 1030 .isBound()); in test_isBound() 1040 .isBound()); in test_isBound() 1043 .isBound()); in test_isBound() 1046 .isBound()); in test_isBound()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | ServerSocket.annotated.java | 64 public boolean isBound() { throw new RuntimeException("Stub!"); } in isBound() method in ServerSocket
|
D | DatagramSocket.annotated.java | 54 public boolean isBound() { throw new RuntimeException("Stub!"); } in isBound() method in DatagramSocket
|
D | Socket.annotated.java | 130 public boolean isBound() { throw new RuntimeException("Stub!"); } in isBound() method in Socket
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | ServerSocket.java | 106 public boolean isBound() { in isBound() method in ServerSocket
|
D | DatagramSocket.java | 91 public boolean isBound() { in isBound() method in DatagramSocket
|
D | Socket.java | 269 public boolean isBound() { in isBound() method in Socket
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ServerSocketChannelTest.java | 186 assertFalse(socket.isBound()); in test_bind_socketSync() 194 assertTrue(socket.isBound()); in test_bind_socketSync() 215 assertTrue(socket.isBound()); in test_bind_socketSyncAfterBind() 309 assertFalse(s.isBound()); in assertSocketNotAccepted()
|
D | DatagramChannelTest.java | 271 assertFalse(s1.isBound()); in testSocket_BasicStatusBeforeConnect() 326 assertTrue(s.isBound()); in assertSocketAfterConnect() 574 assertTrue(this.datagramSocket1.isBound()); in connectLocalServer() 710 assertFalse(dc.socket().isBound()); in testReceive_UnboundBufZero() 720 assertFalse(dc.socket().isBound()); in testReceive_UnboundBufNotEmpty() 735 assertFalse(dc.socket().isBound()); in testReceive_UnboundBufFull() 2395 assertTrue(client.socket().isBound()); in test_bounded_harmony6493() 2466 assertFalse(socket.isBound()); in test_bind_socketSync() 2474 assertTrue(socket.isBound()); in test_bind_socketSync() 2500 assertTrue(socket.isBound()); in test_bind_socketSyncAfterBind()
|