Searched refs:TIMEOUT (Results 1 – 6 of 6) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectorTest.java | 49 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 …]
|
D | SocketChannelTest.java | 67 private final static int TIMEOUT = 60000; field in SocketChannelTest 1937 assertTimeout(startTime, TIMEOUT); in test_readLjava_nio_ByteBuffer_Blocking() 1980 assertTimeout(startTime, TIMEOUT); in test_readLjava_nio_ByteBuffer_Nonblocking() 2022 acceptedSocket.setSoTimeout(TIMEOUT); in test_writeLjava_nio_ByteBuffer_Blocking() 2068 assertTimeout(startTime, TIMEOUT); in test_writeLjava_nio_ByteBuffer_NonBlocking() 2083 acceptedSocket.setSoTimeout(TIMEOUT); in test_writeLjava_nio_ByteBuffer_NonBlocking() 2703 assertTimeout(startTime, TIMEOUT); in assert_read$LByteBuffer() 2771 acceptedSocket.setSoTimeout(TIMEOUT); in assert_write$LByteBuffer()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousChannelGroupTest.java | 34 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()
|
D | OldSocketChannelTest.java | 53 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/ |
D | ExpatParser.java | 84 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/ |
D | HttpsURLConnectionTest.java | 89 private static final int TIMEOUT = 5000; field in HttpsURLConnectionTest 964 connection.setConnectTimeout(TIMEOUT); in executeClientRequest() 965 connection.setReadTimeout(TIMEOUT); in executeClientRequest()
|