/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 | 247 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_KEEPALIVE); in test_getKeepAlive() 249 handleException(e, SO_KEEPALIVE); in test_getKeepAlive() 446 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_KEEPALIVE); in test_setKeepAliveZ() 448 handleException(e, SO_KEEPALIVE); in test_setKeepAliveZ()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketImpl.java | 373 if (name == StandardSocketOptions.SO_KEEPALIVE) { in setOption() 374 setOption(SocketOptions.SO_KEEPALIVE, value); in setOption() 393 if (name == StandardSocketOptions.SO_KEEPALIVE) { in getOption() 394 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 | 400 case SocketOptions.SO_KEEPALIVE: in getSocketOptionErrno() 401 return booleanFromInt(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_KEEPALIVE)); in getSocketOptionErrno() 491 case SocketOptions.SO_KEEPALIVE: in setSocketOptionErrno() 492 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/ojluni/src/main/native/ |
D | net_util_md.c | 919 { java_net_SocketOptions_SO_KEEPALIVE, SOL_SOCKET, SO_KEEPALIVE },
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 706 public static final int SO_KEEPALIVE = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 543 initConstant(env, c, "SO_KEEPALIVE", SO_KEEPALIVE); in OsConstants_initConstants()
|
/libcore/api/ |
D | current.txt | 490 field public static final int SO_KEEPALIVE; 5460 field public static final int SO_KEEPALIVE = 8; // 0x8 5492 field public static final java.net.SocketOption<java.lang.Boolean> SO_KEEPALIVE;
|