Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/net/SocketOptions/
DTcpKeepAliveTest.java47 private static final int DEFAULT_KEEP_ALIVE_INTVL = 53; field in TcpKeepAliveTest
69 ss.setOption(ExtendedSocketOptions.TCP_KEEPINTERVAL, DEFAULT_KEEP_ALIVE_INTVL); in testTcpKeepAlive()
70 … if (ss.getOption(ExtendedSocketOptions.TCP_KEEPINTERVAL) != DEFAULT_KEEP_ALIVE_INTVL) { in testTcpKeepAlive()
71 … Assert.fail("Test failed, TCP_KEEPINTERVAL should have been " + DEFAULT_KEEP_ALIVE_INTVL); in testTcpKeepAlive()
87 s.setOption(ExtendedSocketOptions.TCP_KEEPINTERVAL, DEFAULT_KEEP_ALIVE_INTVL); in testTcpKeepAlive()
88 … if (s.getOption(ExtendedSocketOptions.TCP_KEEPINTERVAL) != DEFAULT_KEEP_ALIVE_INTVL) { in testTcpKeepAlive()
89 … Assert.fail("Test failed, TCP_KEEPINTERVAL should have been " + DEFAULT_KEEP_ALIVE_INTVL); in testTcpKeepAlive()