Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectorTest.java49 NULL, TIMEOUT, NOW enumConstant
235 assert_select_OP_ACCEPT(SelectType.TIMEOUT, 0); in test_selectJ()
236 assert_select_OP_CONNECT(SelectType.TIMEOUT, 0); in test_selectJ()
237 assert_select_OP_READ(SelectType.TIMEOUT, 0); in test_selectJ()
238 assert_select_OP_WRITE(SelectType.TIMEOUT, 0); in test_selectJ()
240 assert_select_OP_ACCEPT(SelectType.TIMEOUT, WAIT_TIME); in test_selectJ()
241 assert_select_OP_CONNECT(SelectType.TIMEOUT, WAIT_TIME); in test_selectJ()
242 assert_select_OP_READ(SelectType.TIMEOUT, WAIT_TIME); in test_selectJ()
243 assert_select_OP_WRITE(SelectType.TIMEOUT, WAIT_TIME); in test_selectJ()
250 assert_select_SelectorClosed(SelectType.TIMEOUT, 0); in test_selectJ_SelectorClosed()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousChannelGroupTest.java34 private static final int TIMEOUT = 2; field in AsynchronousChannelGroupTest
150 assertTrue(acg.awaitTermination(TIMEOUT, TimeUnit.SECONDS)); in test_isTerminated()
163 assertFalse(acg.awaitTermination(TIMEOUT, TimeUnit.SECONDS)); in test_awaitTermination()
167 assertTrue(acg.awaitTermination(TIMEOUT, TimeUnit.SECONDS)); in test_awaitTermination()
DOldSocketChannelTest.java53 private final static int TIMEOUT = 60000; field in OldSocketChannelTest
267 assertTimeout(startTime, TIMEOUT); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java84 private static final int TIMEOUT = 20 * 1000; field in ExpatParser
767 urlConnection.setConnectTimeout(TIMEOUT); in openUrl()
768 urlConnection.setReadTimeout(TIMEOUT); in openUrl()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java89 private static final int TIMEOUT = 5000; field in HttpsURLConnectionTest
964 connection.setConnectTimeout(TIMEOUT); in executeClientRequest()
965 connection.setReadTimeout(TIMEOUT); in executeClientRequest()