Home
last modified time | relevance | path

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

123

/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/luni/src/test/java/libcore/java/lang/
DThreadTest.java169 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
DOldThreadTest.java158 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
DThreadGroupTest.java95 Thread thread = createHangThread(threadGroup); in suspend_shouldThrowUnsupportedOperationException() local
112 Thread thread = createHangThread(threadGroup); in stop_shouldThrowUnsupportedOperationException() local
DOldInheritableThreadLocalTest.java38 Thread thread = new Thread() { in test_Ljava_lang_InheritableThreadLocal() local
DOldThreadGroupTest.java281 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/
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()
DObjectTest.java148 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
DProcessManagerTest.java31 Thread thread = null; field in ProcessManagerTest
140 Thread thread = new Thread() { in logErrors() 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/util/concurrent/
DTestUtils.java28 public static void joinThreadOrFail(long timeoutMillis, Thread thread) { in joinThreadOrFail()
DReentrantReadWriteLockTest.java79 private void waitForQueuedThread(DefaultReentrantReadWriteLock lock, Thread thread) { in waitForQueuedThread()
/libcore/ojluni/src/main/java/java/io/
DSerialCallbackContext.java46 private Thread thread; field in SerialCallbackContext
/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/libart/src/main/java/java/lang/
DDaemons.java100 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/
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/libcore/java/util/logging/
DOldLogRecordTest.java53 MockThread thread = new MockThread(); in testGetSetThreadID_DifferentThread() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DTestThread.java34 Thread thread = null; in launcher() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java283 private final Thread thread; field in ThreadsTest.WaitAndUnpark
285 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

123