Searched refs:SO_REUSEADDR (Results 1 – 11 of 11) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 40 public static final int SO_REUSEADDR = 8; field in OldSocketTestCase 72 case SO_REUSEADDR: in getOptionIsSupported() 146 case SO_REUSEADDR: in getSocketOptionString()
|
D | OldSocketTest.java | 1538 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/ |
D | SocketOptions.java | 102 public static final int SO_REUSEADDR = 4; field
|
D | PlainServerSocketImpl.java | 40 setOption(SocketOptions.SO_REUSEADDR, Boolean.TRUE); in create()
|
D | ServerSocket.java | 395 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress() 407 return ((Boolean) impl.getOption(SocketOptions.SO_REUSEADDR)).booleanValue(); in getReuseAddress()
|
D | DatagramSocket.java | 616 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress() 628 return ((Boolean) impl.getOption(SocketOptions.SO_REUSEADDR)).booleanValue(); in getReuseAddress()
|
D | MulticastSocket.java | 333 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.TRUE); in createSocket()
|
D | Socket.java | 932 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/ |
D | IoBridge.java | 292 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/ |
D | OsConstants.java | 451 public static final int SO_REUSEADDR = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 512 initConstant(env, c, "SO_REUSEADDR", SO_REUSEADDR); in OsConstants_initConstants()
|