/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CyclicBarrierTest.java | 132 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait1_Interrupted_BrokenBarrier() local 158 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait2_Interrupted_BrokenBarrier() local 201 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait4_Timeout_BrokenBarrier() local 229 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait5_Timeout_BrokenBarrier() local 258 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier() local 287 Thread t1 = newStartedThread(new CheckedRunnable() { in testReset_NoBrokenBarrier() local 337 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetWithoutBreakage() local 368 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testResetAfterInterrupt() local 401 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetAfterTimeout() local 440 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException() local
|
D | ExchangerTest.java | 37 Thread t1 = newStartedThread(new CheckedRunnable() { in testExchange() local 57 Thread t1 = newStartedThread(new CheckedRunnable() { in testTimedExchange() local 131 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testReplacementAfterExchange() local
|
D | AbstractQueuedLongSynchronizerTest.java | 310 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local 340 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local 370 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local 392 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local 411 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local 439 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local 470 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local 490 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
|
D | AbstractQueuedSynchronizerTest.java | 313 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local 343 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local 373 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local 395 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local 414 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local 442 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local 473 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local 493 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
|
D | ReentrantReadWriteLockTest.java | 499 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteAfterMultipleReadLocks() local 534 Thread t1 = newStartedThread(new CheckedRunnable() { in testReaderWriterReaderFairFifo() local 571 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadAfterWriteLock() local 613 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadTryLockBarging() local 658 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock2() local 692 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock3() local 727 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteHoldingWriteLock4() local 1024 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local 1126 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local 1151 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local [all …]
|
D | ReentrantLockTest.java | 246 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads() local 272 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength() local 310 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread() local 340 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads() local 778 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitQueueLength() local 836 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitingThreads() local 896 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local 996 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local 1020 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local 1065 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitLockCount() local
|
D | FutureTaskTest.java | 555 Thread t1 = newStartedThread(new CheckedRunnable() { in testGetRun() local 594 Thread t1 = newStartedThread(new CheckedRunnable() { in testGetSet() local 648 Thread t1 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation() local
|
D | SemaphoreTest.java | 287 Thread t1 = newStartedThread(new CheckedRunnable() { in testUninterruptible() local 327 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads() local 350 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueueLength() local 374 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CyclicBarrierTest.java | 153 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait1_Interrupted_BrokenBarrier() local 179 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait2_Interrupted_BrokenBarrier() local 222 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait4_Timeout_BrokenBarrier() local 250 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait5_Timeout_BrokenBarrier() local 279 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier() local 308 Thread t1 = newStartedThread(new CheckedRunnable() { in testReset_NoBrokenBarrier() local 358 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetWithoutBreakage() local 389 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testResetAfterInterrupt() local 422 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetAfterTimeout() local 461 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException() local
|
D | ExchangerTest.java | 60 Thread t1 = newStartedThread(new CheckedRunnable() { in testExchange() local 80 Thread t1 = newStartedThread(new CheckedRunnable() { in testTimedExchange() local 154 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testReplacementAfterExchange() local
|
D | AbstractQueuedLongSynchronizerTest.java | 338 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local 368 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local 398 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local 420 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local 439 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local 467 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local 498 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local 518 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
|
D | AbstractQueuedSynchronizerTest.java | 341 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local 371 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local 401 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local 423 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local 442 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local 470 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local 501 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local 521 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
|
D | ReentrantReadWriteLockTest.java | 522 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteAfterMultipleReadLocks() local 557 Thread t1 = newStartedThread(new CheckedRunnable() { in testReaderWriterReaderFairFifo() local 594 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadAfterWriteLock() local 636 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadTryLockBarging() local 681 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock2() local 715 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock3() local 750 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteHoldingWriteLock4() local 1044 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local 1146 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local 1171 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local [all …]
|
D | ReentrantLockTest.java | 269 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads() local 295 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength() local 333 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread() local 363 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads() local 801 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitQueueLength() local 859 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitingThreads() local 919 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local 1019 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local 1043 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local 1088 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitLockCount() local
|
D | FutureTaskTest.java | 578 Thread t1 = newStartedThread(new CheckedRunnable() { in testGetRun() local 617 Thread t1 = newStartedThread(new CheckedRunnable() { in testGetSet() local 671 Thread t1 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation() local
|
D | SemaphoreTest.java | 310 Thread t1 = newStartedThread(new CheckedRunnable() { in testUninterruptible() local 350 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads() local 373 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueueLength() local 397 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads() local
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | TimestampTest.java | 32 Timestamp t1 = new Timestamp(Long.MIN_VALUE); in testToString() local 54 Timestamp t1 = Timestamp.valueOf("2001-12-31 21:45:57.123456789"); in testValueOf() local
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 278 FileTime t1 = FileTime.from(v1, u1); in eq() local 287 FileTime t1 = FileTime.from(ins); in eq() local 309 FileTime t1 = FileTime.from(v1, u1); in neq() local 316 FileTime t1 = FileTime.from(ins); in neq() local
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestInstant.java | 94 Instant t1 = Instant.ofEpochMilli(millis); in test_epochMillis() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | EnumTest.java | 89 Thread t1 = new Thread() { in testDeadlock() local
|
D | OldThreadGroupTest.java | 78 Thread t1 = new Thread(tg, new Runnable() { in test_activeGroupCount() local 245 Thread t1 = new Thread(tg, new Runnable() { in test_interrupt() local
|
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/crypto/digests/ |
D | DigestTest.java | 75 long t1 = System.nanoTime(); in doTestMessageDigest() local
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldAndroidRegexTest.java | 262 long t1 = System.currentTimeMillis(); in testMonsterRegexPerformance() local
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldAndroidZipStressTest.java | 52 long t1 = System.currentTimeMillis(); in checkJarCertificates() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | HashtableTest.java | 391 Thread t1 = new Thread() { in test_isEmpty() local 524 Thread t1 = new Thread() { in test_keySet_subtest0() local 702 Thread t1 = new Thread() { in test_size() local
|