Searched refs:SO_KEEPALIVE (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 38 public static final int SO_KEEPALIVE = 7; field in OldSocketTestCase 71 case SO_KEEPALIVE: in getOptionIsSupported() 144 case SO_KEEPALIVE: in getSocketOptionString()
|
D | OldSocketTest.java | 238 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/ |
D | SocketOptions.java | 131 public static final int SO_KEEPALIVE = 8; field
|
D | Socket.java | 371 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/ |
D | IoBridge.java | 284 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/ |
D | OsConstants.java | 420 public static final int SO_KEEPALIVE = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 473 initConstant(env, c, "SO_KEEPALIVE", SO_KEEPALIVE); in OsConstants_initConstants()
|