Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 42) 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.java511 Thread thread = new Thread(testRoot, null, "suicidal thread") { in test_uncaughtException_threadDeath() local
545 Thread thread = new Thread(testRoot, null, "no-op thread"); in test_uncaughtException_naturalDeath() local
579 Thread thread = new Thread(testRoot, null, "RuntimeException thread") { in test_uncaughtException_runtimeException() local
616 Thread thread = new Thread(testRoot, null, "RuntimeException thread") { in test_uncaughtException_exceptionHandledByHandler() local
648 Thread thread = new Thread(testRoot, null, "no-op thread") { in test_uncaughtException_exceptionInUncaughtException() local
762 private static void waitForThreadToDieUninterrupted(Thread thread) { in waitForThreadToDieUninterrupted()
775 private Thread thread; field in ThreadGroupTest.TestThreadDefaultUncaughtExceptionHandler
778 public void uncaughtException(Thread thread, Throwable ex) { in uncaughtException()
784 public void assertWasCalled(Thread thread, Throwable ex) { in assertWasCalled()
DProcessManagerTest.java31 Thread thread = null; field in ProcessManagerTest
138 Thread thread = new Thread() { in logErrors() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java157 Thread thread = new Thread() { in launchFiveSecondDummyThread() local
391 Thread thread = launchFiveSecondDummyThread(); in test_stop() local
418 Thread thread = new Thread() { in test_stopLjava_lang_Throwable_subtest0() local
444 Thread thread = launchFiveSecondDummyThread(); in test_suspend() local
DOldInheritableThreadLocalTest.java38 Thread thread = new Thread() { in test_Ljava_lang_InheritableThreadLocal() local
DOldThreadGroupTest.java286 Thread thread = launchFiveSecondDummyThread(group); in test_resume() local
302 Thread thread = new Thread(group, "Bar") { in launchFiveSecondDummyThread() local
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DThreadSampler.java43 public StackTraceElement[] getStackTrace(Thread thread); in getStackTrace()
DPortableThreadSampler.java33 @Override public StackTraceElement[] getStackTrace(Thread thread) { in getStackTrace()
DDalvikThreadSampler.java39 @Override public StackTraceElement[] getStackTrace(Thread thread) { in getStackTrace()
DSamplingProfiler.java394 private void recordStackTrace(Thread thread, StackTraceElement[] stackFrames) { in recordStackTrace()
452 private void addStartThread(Thread thread) { in addStartThread()
478 private void addEndThread(Thread thread) { in addEndThread()
/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
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldServerSocketChannelTest.java97 MyThread thread = new MyThread(); in test_accept_Block_NoConnect_interrupt() local
DSelectorTest.java119 Thread thread = new Thread(new Runnable() { in testManyWakeupCallsTriggerOnlyOneWakeup() local
/libcore/libart/src/main/java/java/lang/
DThreadGroup.java342 Thread thread = threadRefs.get(i).get(); in enumerateGeneric() local
703 final void addThread(Thread thread) throws IllegalThreadStateException { in addThread()
715 final void removeThread(Thread thread) throws IllegalThreadStateException { in removeThread()
DDaemons.java61 private Thread thread; field in Daemons.Daemon
/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/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java213 Thread thread = survivors[i]; in checkForkJoinPoolThreadLeaks() local
401 void assertThreadStaysAlive(Thread thread) { in assertThreadStaysAlive()
408 void assertThreadStaysAlive(Thread thread, long millis) { in assertThreadStaysAlive()
597 void waitForThreadToEnterWaitState(Thread thread, long timeoutMillis) { in waitForThreadToEnterWaitState()
619 void waitForThreadToEnterWaitState(Thread thread) { in waitForThreadToEnterWaitState()
/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/luni/src/main/java/java/util/concurrent/locks/
DLockSupport.java121 public static void unpark(Thread thread) { in unpark()
DAbstractQueuedSynchronizer.java445 volatile Thread thread; field in AbstractQueuedSynchronizer.Node
484 Node(Thread thread, Node mode) { // Used by addWaiter in Node()
489 Node(Thread thread, int waitStatus) { // Used by Condition in Node()
1420 public final boolean isQueued(Thread thread) { in isQueued()
DAbstractQueuedLongSynchronizer.java215 volatile Thread thread; field in AbstractQueuedLongSynchronizer.Node
254 Node(Thread thread, Node mode) { // Used by addWaiter in Node()
259 Node(Thread thread, int waitStatus) { // Used by Condition in Node()
1190 public final boolean isQueued(Thread thread) { in isQueued()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DBufferedInputStreamTest.java222 Thread thread = new Thread(new Runnable() { in test_close() local

12