Home
last modified time | relevance | path

Searched refs:newSocket (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldServerSocketTest.java258 ServerSocket newSocket = new ServerSocket(); in test_setReuseAddressZ() local
259 newSocket.close(); in test_setReuseAddressZ()
261 newSocket.setReuseAddress(true); in test_setReuseAddressZ()
268 ServerSocket newSocket = new ServerSocket(); in test_getReuseAddress() local
269 newSocket.close(); in test_getReuseAddress()
271 newSocket.getReuseAddress(); in test_getReuseAddress()
279 ServerSocket newSocket = new ServerSocket(); in test_setReceiveBufferSizeI() local
280 newSocket.close(); in test_setReceiveBufferSizeI()
282 newSocket.setReceiveBufferSize(10); in test_setReceiveBufferSizeI()
290 ServerSocket newSocket = new ServerSocket(); in test_getReceiveBufferSize() local
[all …]
DOldSocketTest.java357 Socket newSocket = new Socket(); in test_getReceiveBufferSize() local
358 newSocket.close(); in test_getReceiveBufferSize()
360 newSocket.getReceiveBufferSize(); in test_getReceiveBufferSize()
1492 Socket newSocket = new Socket(); in test_getReuseAddress() local
1493 newSocket.close(); in test_getReuseAddress()
1495 newSocket.getReuseAddress(); in test_getReuseAddress()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketImplTest.java91 protected void accept(SocketImpl newSocket) throws IOException { in accept() argument