Home
last modified time | relevance | path

Searched refs:SO_REUSEADDR (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java40 public static final int SO_REUSEADDR = 8; field in OldSocketTestCase
72 case SO_REUSEADDR: in getOptionIsSupported()
146 case SO_REUSEADDR: in getSocketOptionString()
DOldSocketTest.java1538 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_REUSEADDR); in test_setReuseAddressZ()
1541 handleException(e, SO_REUSEADDR); in test_setReuseAddressZ()
1565 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_REUSEADDR); in test_getReuseAddress()
1567 handleException(e, SO_REUSEADDR); in test_getReuseAddress()
/libcore/luni/src/main/java/java/net/
DSocketOptions.java102 public static final int SO_REUSEADDR = 4; field
DPlainServerSocketImpl.java40 setOption(SocketOptions.SO_REUSEADDR, Boolean.TRUE); in create()
DServerSocket.java395 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress()
407 return ((Boolean) impl.getOption(SocketOptions.SO_REUSEADDR)).booleanValue(); in getReuseAddress()
DDatagramSocket.java616 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress()
628 return ((Boolean) impl.getOption(SocketOptions.SO_REUSEADDR)).booleanValue(); in getReuseAddress()
DMulticastSocket.java333 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.TRUE); in createSocket()
DSocket.java932 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress()
940 return (Boolean) impl.getOption(SocketOptions.SO_REUSEADDR); in getReuseAddress()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java292 case SocketOptions.SO_REUSEADDR: in getSocketOptionErrno()
293 return booleanFromInt(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_REUSEADDR)); in getSocketOptionErrno()
371 case SocketOptions.SO_REUSEADDR: in setSocketOptionErrno()
372 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_REUSEADDR, booleanToInt((Boolean) value)); in setSocketOptionErrno()
/libcore/luni/src/main/java/android/system/
DOsConstants.java451 public static final int SO_REUSEADDR = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp512 initConstant(env, c, "SO_REUSEADDR", SO_REUSEADDR); in OsConstants_initConstants()