/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TimeUnitTest.java | 25 TimeUnit.SECONDS.convert(t, in testConvert() 28 TimeUnit.SECONDS.convert(t, in testConvert() 31 TimeUnit.SECONDS.convert(t, in testConvert() 34 TimeUnit.SECONDS.convert(t, in testConvert() 35 TimeUnit.SECONDS)); in testConvert() 37 TimeUnit.SECONDS.convert(1000L*t, in testConvert() 40 TimeUnit.SECONDS.convert(1000000L*t, in testConvert() 43 TimeUnit.SECONDS.convert(1000000000L*t, in testConvert() 57 TimeUnit.SECONDS)); in testConvert() 79 TimeUnit.SECONDS)); in testConvert() [all …]
|
D | RecursiveTaskTest.java | 18 import static java.util.concurrent.TimeUnit.SECONDS; 68 a.get(5L, SECONDS); in checkNotDone() 75 a.get(0L, SECONDS); in checkNotDone() 95 assertSame(expected, a.get(5L, SECONDS)); in checkCompletedNormally() 140 a.get(5L, SECONDS); in checkCancelled() 171 a.get(5L, SECONDS); in checkCompletedAbnormally() 292 Integer r = f.get(5L, SECONDS); in testForkTimedGet() 416 Integer r = f.get(5L, SECONDS); in testAbnormalForkTimedGet() 513 Integer r = f.get(5L, SECONDS); in testCancelledForkTimedGet()
|
D | RecursiveActionTest.java | 20 import static java.util.concurrent.TimeUnit.SECONDS; 70 a.get(5L, SECONDS); in checkNotDone() 77 a.get(0L, SECONDS); in checkNotDone() 97 assertNull(a.get(5L, SECONDS)); in checkCompletedNormally() 122 a.get(5L, SECONDS); in checkCancelled() 153 a.get(5L, SECONDS); in checkCompletedAbnormally() 451 assertNull(f.get(5L, SECONDS)); in testForkTimedGet() 584 f.get(5L, TimeUnit.SECONDS); in testAbnormalForkTimedGet() 676 f.get(5L, SECONDS); in testCancelledForkTimedGet()
|
D | ExecutorCompletionServiceTest.java | 168 1, 1, 30L, TimeUnit.SECONDS, in testNewTaskForCallable() 200 1, 1, 30L, TimeUnit.SECONDS, in testNewTaskForRunnable()
|
D | FutureTaskTest.java | 21 import static java.util.concurrent.TimeUnit.SECONDS; 100 assertSame(expected, f.get(5L, SECONDS)); in checkCompletedNormally() 115 f.get(5L, SECONDS); in checkCancelled() 141 f.get(5L, SECONDS); in checkCompletedAbnormally()
|
D | ForkJoinTaskTest.java | 19 import static java.util.concurrent.TimeUnit.SECONDS; 74 a.get(0L, SECONDS); in checkNotDone() 114 assertSame(expected, a.get(5L, SECONDS)); in checkCompletedNormally() 149 a.get(5L, SECONDS); 188 a.get(5L, SECONDS);
|
D | AbstractExecutorServiceTest.java | 177 = new ThreadPoolExecutor(1,1,60, TimeUnit.SECONDS, in testInterruptedSubmit() 208 60, TimeUnit.SECONDS, in testSubmitEE()
|
D | CountedCompleterTest.java | 22 import static java.util.concurrent.TimeUnit.SECONDS; 77 a.get(0L, SECONDS); in checkNotDone() 113 assertNull(a.get(5L, SECONDS)); in checkCompletedNormally() 148 a.get(5L, SECONDS); 187 a.get(5L, SECONDS);
|
D | ThreadPoolExecutorTest.java | 194 assertEquals(1, p.getKeepAliveTime(TimeUnit.SECONDS)); in testGetKeepAliveTime() 997 60, TimeUnit.SECONDS, in testInterruptedSubmit() 1991 new ThreadPoolExecutor(1, 30, 60, TimeUnit.SECONDS,
|
D | ThreadPoolExecutorSubclassTest.java | 322 assertEquals(1, p.getKeepAliveTime(TimeUnit.SECONDS)); in testGetKeepAliveTime()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Exec.java | 95 out = outFuture.get(30, TimeUnit.SECONDS); in execAndGetOutput() 96 String err = errFuture.get(30, TimeUnit.SECONDS); in execAndGetOutput() 131 assertEquals(expectedOut, outFuture.get(10, TimeUnit.SECONDS)); in execAndCheckOutput() 132 assertEquals(expectedErr, errFuture.get(10, TimeUnit.SECONDS)); in execAndCheckOutput()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 104 s.get(30, TimeUnit.SECONDS); in connect() 112 c.get(30, TimeUnit.SECONDS); in connect()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 163 boolean secondSet = isSet(DatatypeConstants.SECONDS); in getXMLSchemaType() 299 return getFieldValueAsInt(DatatypeConstants.SECONDS); in getSeconds() 909 BigDecimal seconds = (BigDecimal) getField(DatatypeConstants.SECONDS); in toString()
|
D | DatatypeConstants.java | 154 public static final Field SECONDS = new Field("SECONDS", 5); field in DatatypeConstants
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
D | ThreadsTest.java | 178 barrier.await(60, TimeUnit.SECONDS); in run() 272 barrier.await(60, TimeUnit.SECONDS); in run()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Executors.java | 190 60L, TimeUnit.SECONDS, in newCachedThreadPool() 205 60L, TimeUnit.SECONDS, in newCachedThreadPool()
|
D | TimeUnit.java | 76 SECONDS { enumConstant
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 131 assertFalse(selectReturned.await(2, TimeUnit.SECONDS)); in testManyWakeupCallsTriggerOnlyOneWakeup()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 1554 byte[] clientHello = readFirstReceivedChunkFuture.get(10, TimeUnit.SECONDS); in test_SSLSocket_ClientHello_size() 1569 if (!executorService.awaitTermination(5, TimeUnit.SECONDS)) { in test_SSLSocket_ClientHello_size() 1772 c.get(5, TimeUnit.SECONDS); in test_SSLSocket_ClientGetsAlertDuringHandshake_HasGoodExceptionMessage() 1773 s.get(5, TimeUnit.SECONDS); in test_SSLSocket_ClientGetsAlertDuringHandshake_HasGoodExceptionMessage() 1867 c.get(5, TimeUnit.SECONDS); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage() 1868 s.get(5, TimeUnit.SECONDS); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarFileTest.java | 704 foundCerts = future.get(10, TimeUnit.SECONDS); in checkSignedJar()
|