Home
last modified time | relevance | path

Searched defs:t1 (Results 1 – 25 of 42) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DCyclicBarrierTest.java132 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
DExchangerTest.java37 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
DAbstractQueuedLongSynchronizerTest.java310 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
DAbstractQueuedSynchronizerTest.java313 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
DReentrantReadWriteLockTest.java499 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 …]
DReentrantLockTest.java246 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
DFutureTaskTest.java555 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
DSemaphoreTest.java287 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/
DCyclicBarrierTest.java153 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
DExchangerTest.java60 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
DAbstractQueuedLongSynchronizerTest.java338 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
DAbstractQueuedSynchronizerTest.java341 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
DReentrantReadWriteLockTest.java522 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 …]
DReentrantLockTest.java269 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
DFutureTaskTest.java578 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
DSemaphoreTest.java310 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/
DTimestampTest.java32 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/
DFileTimeTest.java278 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/
DTestInstant.java94 Instant t1 = Instant.ofEpochMilli(millis); in test_epochMillis() local
/libcore/luni/src/test/java/libcore/java/lang/
DEnumTest.java89 Thread t1 = new Thread() { in testDeadlock() local
DOldThreadGroupTest.java78 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/
DDigestTest.java75 long t1 = System.nanoTime(); in doTestMessageDigest() local
/libcore/luni/src/test/java/libcore/java/util/regex/
DOldAndroidRegexTest.java262 long t1 = System.currentTimeMillis(); in testMonsterRegexPerformance() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStressTest.java52 long t1 = System.currentTimeMillis(); in checkJarCertificates() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashtableTest.java391 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

12