/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 43 public static final int SO_KEEPALIVE = 7; field in OldSocketTestCase 76 case SO_KEEPALIVE: in getOptionIsSupported() 149 case SO_KEEPALIVE: in getSocketOptionString()
|
D | OldSocketTest.java | 244 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_KEEPALIVE); in test_getKeepAlive() 246 handleException(e, SO_KEEPALIVE); in test_getKeepAlive() 443 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_KEEPALIVE); in test_setKeepAliveZ() 445 handleException(e, SO_KEEPALIVE); in test_setKeepAliveZ()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketImpl.java | 369 if (name == StandardSocketOptions.SO_KEEPALIVE) { in setOption() 370 setOption(SocketOptions.SO_KEEPALIVE, value); in setOption() 389 if (name == StandardSocketOptions.SO_KEEPALIVE) { in getOption() 390 return (T)getOption(SocketOptions.SO_KEEPALIVE); in getOption()
|
D | SocketOptions.java | 319 @Native public final static int SO_KEEPALIVE = 0x0008; field
|
D | StandardSocketOptions.java | 84 public static final SocketOption<Boolean> SO_KEEPALIVE = field in StandardSocketOptions
|
D | Socket.java | 1349 getImpl().setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(on)); in setKeepAlive() 1365 return ((Boolean) getImpl().getOption(SocketOptions.SO_KEEPALIVE)).booleanValue(); in getKeepAlive()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketAdaptor.java | 387 setBooleanOption(StandardSocketOptions.SO_KEEPALIVE, on); in setKeepAlive() 391 return getBooleanOption(StandardSocketOptions.SO_KEEPALIVE); in getKeepAlive()
|
D | SocketOptionRegistry.java | 62 … map.put(new RegistryKey(StandardSocketOptions.SO_KEEPALIVE, Net.UNSPEC), new OptionKey(1, 9)); in options()
|
D | AsynchronousSocketChannelImpl.java | 509 set.add(StandardSocketOptions.SO_KEEPALIVE); in defaultOptions()
|
D | SocketChannelImpl.java | 276 set.add(StandardSocketOptions.SO_KEEPALIVE); in defaultOptions()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 334 case SocketOptions.SO_KEEPALIVE: in getSocketOptionErrno() 335 return booleanFromInt(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_KEEPALIVE)); in getSocketOptionErrno() 423 case SocketOptions.SO_KEEPALIVE: in setSocketOptionErrno() 424 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_KEEPALIVE, booleanToInt((Boolean) value)); in setSocketOptionErrno()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 357 set.add(StandardSocketOptions.SO_KEEPALIVE); in initOptionSets()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousSocketChannelTest.java | 845 asc.setOption(StandardSocketOptions.SO_KEEPALIVE, true); in test_options() 846 assertTrue(asc.getOption(StandardSocketOptions.SO_KEEPALIVE)); in test_options() 876 assertTrue(supportedOptions.contains(StandardSocketOptions.SO_KEEPALIVE)); in test_supportedOptions()
|
D | AsynchronousServerSocketChannelTest.java | 222 assc.setOption(StandardSocketOptions.SO_KEEPALIVE, true); in test_options_iae()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 571 public static final int SO_KEEPALIVE = placeholder(); field in OsConstants
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 919 { java_net_SocketOptions_SO_KEEPALIVE, SOL_SOCKET, SO_KEEPALIVE },
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 531 initConstant(env, c, "SO_KEEPALIVE", SO_KEEPALIVE); in OsConstants_initConstants()
|