Home
last modified time | relevance | path

Searched refs:SO_KEEPALIVE (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java38 public static final int SO_KEEPALIVE = 7; field in OldSocketTestCase
71 case SO_KEEPALIVE: in getOptionIsSupported()
144 case SO_KEEPALIVE: in getSocketOptionString()
DOldSocketTest.java238 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_KEEPALIVE); in test_getKeepAlive()
240 handleException(e, SO_KEEPALIVE); in test_getKeepAlive()
443 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_KEEPALIVE); in test_setKeepAliveZ()
445 handleException(e, SO_KEEPALIVE); in test_setKeepAliveZ()
/libcore/luni/src/main/java/java/net/
DSocketOptions.java131 public static final int SO_KEEPALIVE = 8; field
DSocket.java371 return (Boolean) impl.getOption(SocketOptions.SO_KEEPALIVE); in getKeepAlive()
475 impl.setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(keepAlive)); in setKeepAlive()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java284 case SocketOptions.SO_KEEPALIVE: in getSocketOptionErrno()
285 return booleanFromInt(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_KEEPALIVE)); in getSocketOptionErrno()
356 case SocketOptions.SO_KEEPALIVE: in setSocketOptionErrno()
357 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_KEEPALIVE, booleanToInt((Boolean) value)); in setSocketOptionErrno()
/libcore/luni/src/main/java/android/system/
DOsConstants.java420 public static final int SO_KEEPALIVE = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp473 initConstant(env, c, "SO_KEEPALIVE", SO_KEEPALIVE); in OsConstants_initConstants()