Home
last modified time | relevance | path

Searched defs:done (Results 1 – 25 of 45) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java96 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
109 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
114 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
336 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
341 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
380 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
385 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
404 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
409 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
494 final CountDownLatch done = new CountDownLatch(1); in testIsTerminated() local
[all …]
DScheduledExecutorTest.java55 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
70 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
91 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
111 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
133 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
164 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
195 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
340 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
342 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
405 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
[all …]
DThreadPoolExecutorSubclassTest.java57 boolean done; field in ThreadPoolExecutorSubclassTest.CustomTask
243 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
256 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
261 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
483 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
488 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
527 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
532 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
551 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
556 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
[all …]
DScheduledExecutorSubclassTest.java112 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
124 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
126 try (PoolCleaner cleaner = cleaner(p, done)) { in testSchedule1() argument
147 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
167 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
189 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
220 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
251 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
396 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
398 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
[all …]
DExecutorCompletionServiceTest.java162 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForCallable() local
165 protected void done() { done.set(true); } in testNewTaskForCallable() method in ExecutorCompletionServiceTest.MyCallableFuture
193 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForRunnable() local
196 protected void done() { done.set(true); } in testNewTaskForRunnable() method in ExecutorCompletionServiceTest.MyRunnableFuture
DCollection8Test.java79 final AtomicBoolean done = new AtomicBoolean(false); in testForEachConcurrentStressTest() local
83 try (PoolCleaner cleaner = cleaner(pool, done)) { in testForEachConcurrentStressTest() argument
DExecutorsTest.java309 final CountDownLatch done = new CountDownLatch(1); in testDefaultThreadFactory() local
342 final CountDownLatch done = new CountDownLatch(1); in testPrivilegedThreadFactory() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorTest.java118 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
131 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
136 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
358 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
363 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
402 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
407 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
426 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
431 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
516 final CountDownLatch done = new CountDownLatch(1); in testIsTerminated() local
[all …]
DScheduledExecutorTest.java79 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
94 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
115 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
135 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
157 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
188 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
219 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
364 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
366 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
429 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
[all …]
DThreadPoolExecutorSubclassTest.java79 boolean done; field in ThreadPoolExecutorSubclassTest.CustomTask
265 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
278 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
283 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
505 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
510 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
549 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
554 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
573 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
578 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
[all …]
DScheduledExecutorSubclassTest.java136 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
148 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
150 try (PoolCleaner cleaner = cleaner(p, done)) { in testSchedule1() argument
171 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
191 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
213 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
244 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
275 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
420 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
422 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
[all …]
DExecutorCompletionServiceTest.java223 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForCallable() local
226 @Override protected void done() { done.set(true); } in testNewTaskForCallable() method in ExecutorCompletionServiceTest.MyCallableFuture
253 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForRunnable() local
256 @Override protected void done() { done.set(true); } in testNewTaskForRunnable() method in ExecutorCompletionServiceTest.MyRunnableFuture
DExecutorsTest.java332 final CountDownLatch done = new CountDownLatch(1); in testDefaultThreadFactory() local
365 final CountDownLatch done = new CountDownLatch(1); in testPrivilegedThreadFactory() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFutureLikeCompletionHandler.java24 boolean done; field in FutureLikeCompletionHandler
/libcore/ojluni/src/test/java/util/Properties/
DConcurrentLoadAndStoreXML.java45 static volatile boolean done; field in ConcurrentLoadAndStoreXML
/libcore/ojluni/src/main/java/sun/util/locale/
DStringTokenIterator.java41 private boolean done; field in StringTokenIterator
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java120 protected void done() { completionQueue.add(task); } in done() method in ExecutorCompletionService.QueueingFuture
DFutureTask.java217 protected void done() { } in done() method in FutureTask
/libcore/ojluni/src/main/java/javax/crypto/
DCipherInputStream.java84 private boolean done = false; field in CipherInputStream
DExemptionMechanism.java64 private boolean done = false; field in ExemptionMechanism
/libcore/ojluni/src/test/java/util/Timer/
DDelayOverflow.java76 final CountDownLatch done = new CountDownLatch(1); in test() local
/libcore/luni/src/test/java/libcore/java/lang/
DSystemTest.java135 final AtomicBoolean done = new AtomicBoolean(); in testArrayCopyConcurrentModification() local
DThreadTest.java578 public volatile boolean done; field in WakeupTestThread
607 public volatile boolean done = false; field in SpinWaitThread
/libcore/ojluni/src/test/java/lang/invoke/
DPermuteArgsTest.java236 HashSet<String> done = new HashSet<>(); in testPermutations() local
271 Set<String> done) throws Throwable { in testPermutations()
296 Set<String> done) throws Throwable { in testRotations()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java77 protected void done() { in done() method in FutureTask

12