/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CyclicBarrierTest.java | 126 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testAwait1_Interrupted_BrokenBarrier() local 152 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testAwait2_Interrupted_BrokenBarrier() local 197 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwait4_Timeout_BrokenBarrier() local 225 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwait5_Timeout_BrokenBarrier() local 252 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier() local 280 Thread t2 = newStartedThread(new CheckedRunnable() { in testReset_NoBrokenBarrier() local 332 Thread t2 = newStartedThread(new CheckedRunnable() { in testResetWithoutBreakage() local 363 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterInterrupt() local 397 Thread t2 = newStartedThread(new CheckedRunnable() { in testResetAfterTimeout() local 435 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException() local
|
D | ExchangerTest.java | 30 Thread t2 = newStartedThread(new CheckedRunnable() { in testExchange() local 50 Thread t2 = newStartedThread(new CheckedRunnable() { in testTimedExchange() local 125 Thread t2 = newStartedThread(new CheckedRunnable() { in testReplacementAfterExchange() local
|
D | AbstractQueuedLongSynchronizerTest.java | 287 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasQueuedThreads() local 315 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testIsQueued() local 347 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetFirstQueuedThread() local 369 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasContended() local 386 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetQueuedThreads() local 414 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local 447 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local 470 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetSharedQueuedThreads_Shared() local
|
D | AbstractQueuedSynchronizerTest.java | 290 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasQueuedThreads() local 318 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testIsQueued() local 350 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetFirstQueuedThread() local 372 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasContended() local 389 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetQueuedThreads() local 417 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local 450 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local 473 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetSharedQueuedThreads_Shared() local
|
D | ReentrantReadWriteLockTest.java | 488 Thread t2 = newStartedThread(new CheckedRunnable() { in testWriteAfterMultipleReadLocks() local 525 Thread t2 = newStartedThread(new CheckedRunnable() { in testReaderWriterReaderFairFifo() local 557 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadAfterWriteLock() local 602 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadTryLockBarging() local 644 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock2() local 678 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock3() local 713 Thread t2 = newStartedThread(new CheckedRunnable() { in testWriteHoldingWriteLock4() local 1024 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local 1116 Thread t2 = newStartedThread(new Awaiter()); in testSignalAll() local 1150 Thread t2 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local [all …]
|
D | ReentrantLockTest.java | 229 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThreads() local 255 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueueLength() local 293 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThread() local 323 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueuedThreads() local 780 Thread t2 = new Thread(new CheckedRunnable() { in testGetWaitQueueLength() local 837 Thread t2 = new Thread(new CheckedRunnable() { in testGetWaitingThreads() local 899 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local 989 Thread t2 = newStartedThread(new Awaiter()); in testSignalAll() local 1022 Thread t2 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local 1069 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwaitLockCount() local
|
D | FutureTaskTest.java | 543 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetRun() local 582 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetSet() local 635 Thread t2 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation() local
|
D | SemaphoreTest.java | 283 Thread t2 = newStartedThread(new CheckedRunnable() { in testUninterruptible() local 317 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testHasQueuedThreads() local 340 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testGetQueueLength() local 364 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testGetQueuedThreads() local
|
D | AtomicLongArrayTest.java | 305 Thread t2 = new Thread(c2); in testCountingInMultipleThreads() local
|
D | AtomicIntegerArrayTest.java | 305 Thread t2 = new Thread(c2); in testCountingInMultipleThreads() local
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | TimestampTest.java | 35 Timestamp t2 = new Timestamp(Long.MIN_VALUE + 1); in testToString() local 58 Timestamp t2 = Timestamp.valueOf("2001-01-02 01:05:07.123"); in testValueOf() local
|
D | OldResultSetGetterTests.java | 948 Time t2 = new java.sql.Time(millis2); in testGetTimeInt() local 1005 Time t2 = new java.sql.Time(millis2); in testGetTimeIntCalendar() local 1078 Time t2 = new java.sql.Time(millis2); in testGetTimeString() local 1130 Time t2 = new java.sql.Time(millis2); in testGetTimeStringCalendar() local 1177 Timestamp t2 = new Timestamp(millis); in testGetTimestampInt() local 1234 Timestamp t2 = new Timestamp(millis); in testGetTimestampIntCalendar() local 1297 Timestamp t2 = new Timestamp(millis); in testGetTimestampString() local 1357 Timestamp t2 = new Timestamp(millis); in testGetTimestampStringCalendar() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 106 WakeupTestThread t2 = new WakeupTestThread(); in testThreadWakeup() local 158 Thread t2 = new Thread(group, "t2") { in testGetAllStackTracesIncludesAllGroups() local
|
/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/ |
D | DigestTest.java | 70 long t2 = System.currentTimeMillis(); in doTestMessageDigest() local
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ForkJoinTask.java | 716 public static void invokeAll(ForkJoinTask<?> t1, ForkJoinTask<?> t2) { in invokeAll()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectOutputStreamTest.java | 708 ExternalTest t2 = (ExternalTest) ois.readObject(); in test_useProtocolVersionI() local
|