Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 49) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java121 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java512 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()
DProcessManagerTest.java31 Thread thread = null; field in ProcessManagerTest
140 Thread thread = new Thread() { in logErrors() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java158 Thread thread = new Thread() { in launchFiveSecondDummyThread() local
392 Thread thread = launchFiveSecondDummyThread(); in test_stop() local
419 Thread thread = new Thread() { in test_stopLjava_lang_Throwable_subtest0() local
445 Thread thread = launchFiveSecondDummyThread(); in test_suspend() local
DOldInheritableThreadLocalTest.java38 Thread thread = new Thread() { in test_Ljava_lang_InheritableThreadLocal() local
DOldThreadGroupTest.java281 Thread thread = launchFiveSecondDummyThread(group); in test_resume() local
297 Thread thread = new Thread(group, "Bar") { in launchFiveSecondDummyThread() local
376 MyThread thread = new MyThread(group, "MyThread " + i + " of " + threadCount); in populateGroupsWithThreads() local
DThreadTest.java269 Thread thread = new Thread() { in testThreadDoubleStart() local
300 Thread thread = new Thread(); in testThreadRestart() local
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractOwnableSynchronizer.java73 protected final void setExclusiveOwnerThread(Thread thread) { in setExclusiveOwnerThread()
DLockSupport.java154 public static void unpark(Thread thread) { in unpark()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DLoadLocaleProviderTestHelper.java29 Thread thread = new Thread(this); in LoadLocaleProviderTestHelper() local
/libcore/luni/src/test/java/libcore/java/net/
DOldDatagramPacketTest.java32 Thread thread = new Thread(new Runnable() { in test_getPort() local
DSocketTimeoutTest.java122 Thread thread = new Thread(() -> { in testSocketWriteNeverTimeouts() local
/libcore/ojluni/src/main/java/java/io/
DSerialCallbackContext.java46 private Thread thread; field in SerialCallbackContext
/libcore/libart/src/main/java/java/lang/
DDaemons.java98 private Thread thread; field in Daemons.Daemon
155 public synchronized void interrupt(Thread thread) { in interrupt()
508 public synchronized void interrupt(Thread thread) { in interrupt()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldServerSocketChannelTest.java97 MyThread thread = new MyThread(); in test_accept_Block_NoConnect_interrupt() local
DSelectorTest.java81 Thread thread = new Thread(new Runnable() { in testManyWakeupCallsTriggerOnlyOneWakeup() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DTestThread.java34 Thread thread = null; in launcher() local
DCipherThread.java75 Thread thread = null; in launcher() local
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogRecordTest.java53 MockThread thread = new MockThread(); in testGetSetThreadID_DifferentThread() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java262 private final Thread thread; field in ThreadsTest.WaitAndUnpark
264 public WaitAndUnpark(CyclicBarrier barrier, long waitMillis, Thread thread) { in WaitAndUnpark()
/libcore/ojluni/src/main/native/
DNativeThread.c99 NativeThread_signal(JNIEnv *env, jclass cl, jlong thread) in NativeThread_signal()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSourceChannelImpl.java51 private volatile long thread = 0; field in SourceChannelImpl
DSinkChannelImpl.java50 private volatile long thread = 0; field in SinkChannelImpl
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java174 volatile java.lang.Thread thread; field in FutureTask.WaitNode
/libcore/ojluni/src/main/java/java/util/
DTimer.java108 private final TimerThread thread = new TimerThread(queue); field in Timer

12