/libcore/luni/src/test/java/libcore/java/io/ |
D | InterruptedStreamTest.java | 121 Thread thread = interruptMeLater(); in testInterruptInputStream() local 132 Thread thread = interruptMeLater(); in testInterruptReader() local 143 Thread thread = interruptMeLater(); in testInterruptReadableChannel() local 154 Thread thread = interruptMeLater(); in testInterruptOutputStream() local 167 Thread thread = interruptMeLater(); in testInterruptWriter() local 180 Thread thread = interruptMeLater(); in testInterruptWritableChannel() local 195 Thread thread = new Thread(new Runnable () { in interruptMeLater() local 208 private static void confirmInterrupted(Thread thread) throws InterruptedException { in confirmInterrupted()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 169 Thread thread = new Thread(); in setPriority_unstarted() local 177 Thread thread = new Thread("starting thread") { in setPriority_starting() local 220 private static void checkSetPriority_inBounds_succeeds(Thread thread) { in checkSetPriority_inBounds_succeeds() 233 private static void checkSetPriority_outOfBounds_fails(Thread thread) { in checkSetPriority_outOfBounds_fails() 240 private static void checkSetPriority_outOfBounds_fails(Thread thread, int invalidPriority) { in checkSetPriority_outOfBounds_fails() 506 Thread thread = new Thread() { in threadDoubleStart() local 538 Thread thread = new Thread(); in threadRestart() local 553 Thread thread = new Thread(); in resume_shouldThrowUnsupportedOperationException() local
|
D | OldThreadTest.java | 158 Thread thread = new Thread() { in launchFiveSecondFakeThread() local 392 Thread thread = launchFiveSecondFakeThread(); in test_stop() local 419 Thread thread = new Thread() { in test_stopLjava_lang_Throwable_subtest0() local 445 Thread thread = launchFiveSecondFakeThread(); in test_suspend() local
|
D | ThreadGroupTest.java | 95 Thread thread = createHangThread(threadGroup); in suspend_shouldThrowUnsupportedOperationException() local 112 Thread thread = createHangThread(threadGroup); in stop_shouldThrowUnsupportedOperationException() local
|
D | OldInheritableThreadLocalTest.java | 38 Thread thread = new Thread() { in test_Ljava_lang_InheritableThreadLocal() local
|
D | OldThreadGroupTest.java | 281 Thread thread = launchFiveSecondFakeThread(group); in test_resume() local 297 Thread thread = new Thread(group, "Bar") { in launchFiveSecondFakeThread() local 376 MyThread thread = new MyThread(group, "MyThread " + i + " of " + threadCount); in populateGroupsWithThreads() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadGroupTest.java | 512 Thread thread = new Thread(testRoot, null, "suicidal thread") { in test_uncaughtException_threadDeath() local 546 Thread thread = new Thread(testRoot, null, "no-op thread"); in test_uncaughtException_naturalDeath() local 580 Thread thread = new Thread(testRoot, null, "RuntimeException thread") { in test_uncaughtException_runtimeException() local 617 Thread thread = new Thread(testRoot, null, "RuntimeException thread") { in test_uncaughtException_exceptionHandledByHandler() local 649 Thread thread = new Thread(testRoot, null, "no-op thread") { in test_uncaughtException_exceptionInUncaughtException() local 763 private static void waitForThreadToDieUninterrupted(Thread thread) { in waitForThreadToDieUninterrupted() 776 private Thread thread; field in ThreadGroupTest.TestThreadDefaultUncaughtExceptionHandler 779 public void uncaughtException(Thread thread, Throwable ex) { in uncaughtException() 785 public void assertWasCalled(Thread thread, Throwable ex) { in assertWasCalled()
|
D | ObjectTest.java | 148 TestThread thread = new TestThread("TestThread " + i); in test_notify() local 293 TestThread thread = new TestThread(); in test_wait() local 402 TestThread thread = new TestThread(); in test_waitJI() local
|
D | ProcessManagerTest.java | 31 Thread thread = null; field in ProcessManagerTest 140 Thread thread = new Thread() { in logErrors() local
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractOwnableSynchronizer.java | 73 protected final void setExclusiveOwnerThread(Thread thread) { in setExclusiveOwnerThread()
|
D | LockSupport.java | 154 public static void unpark(Thread thread) { in unpark()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | LoadLocaleProviderTestHelper.java | 29 Thread thread = new Thread(this); in LoadLocaleProviderTestHelper() local
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | TestUtils.java | 28 public static void joinThreadOrFail(long timeoutMillis, Thread thread) { in joinThreadOrFail()
|
D | ReentrantReadWriteLockTest.java | 79 private void waitForQueuedThread(DefaultReentrantReadWriteLock lock, Thread thread) { in waitForQueuedThread()
|
/libcore/ojluni/src/main/java/java/io/ |
D | SerialCallbackContext.java | 46 private Thread thread; field in SerialCallbackContext
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramPacketTest.java | 32 Thread thread = new Thread(new Runnable() { in test_getPort() local
|
D | SocketTimeoutTest.java | 122 Thread thread = new Thread(() -> { in testSocketWriteNeverTimeouts() local
|
/libcore/libart/src/main/java/java/lang/ |
D | Daemons.java | 100 private Thread thread; field in Daemons.Daemon 157 public synchronized void interrupt(Thread thread) { in interrupt() 516 public synchronized void interrupt(Thread thread) { in interrupt()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldServerSocketChannelTest.java | 97 MyThread thread = new MyThread(); in test_accept_Block_NoConnect_interrupt() local
|
D | SelectorTest.java | 81 Thread thread = new Thread(new Runnable() { in testManyWakeupCallsTriggerOnlyOneWakeup() local
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLogRecordTest.java | 53 MockThread thread = new MockThread(); in testGetSetThreadID_DifferentThread() local
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | TestThread.java | 34 Thread thread = null; in launcher() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
D | ThreadsTest.java | 283 private final Thread thread; field in ThreadsTest.WaitAndUnpark 285 public WaitAndUnpark(CyclicBarrier barrier, long waitMillis, Thread thread) { in WaitAndUnpark()
|
/libcore/ojluni/src/main/native/ |
D | NativeThread.c | 99 NativeThread_signal(JNIEnv *env, jclass cl, jlong thread) in NativeThread_signal()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SourceChannelImpl.java | 51 private volatile long thread = 0; field in SourceChannelImpl
|