Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java120 Thread thread = interruptMeLater(); in testInterruptInputStream() local
131 Thread thread = interruptMeLater(); in testInterruptReader() local
142 Thread thread = interruptMeLater(); in testInterruptReadableChannel() local
153 Thread thread = interruptMeLater(); in testInterruptOutputStream() local
166 Thread thread = interruptMeLater(); in testInterruptWriter() local
179 Thread thread = interruptMeLater(); in testInterruptWritableChannel() local
194 Thread thread = new Thread(new Runnable () { in interruptMeLater() local
207 private static void waitForInterrupt(Thread thread) throws Exception { in waitForInterrupt()
/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/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java157 Thread thread = new Thread() { in launchFiveSecondDummyThread() local
390 Thread thread = launchFiveSecondDummyThread(); in test_stop() local
417 Thread thread = new Thread() { in test_stopLjava_lang_Throwable_subtest0() local
443 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/luni/src/test/java/libcore/java/net/
DOldDatagramPacketTest.java32 Thread thread = new Thread(new Runnable() { in test_getPort() local
DOldCookieHandlerTest.java61 TestThread thread = new TestThread(); in test_get_put() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldServerSocketChannelTest.java97 MyThread thread = new MyThread(); in test_accept_Block_NoConnect_interrupt() local
DSelectorTest.java114 Thread thread = new Thread(new Runnable() { in testManyWakeupCallsTriggerOnlyOneWakeup() local
/libcore/luni/src/test/java/tests/api/java/lang/
DProcessManagerTest.java33 Thread thread = null; field in ProcessManagerTest
140 Thread thread = new Thread() { in logErrors() 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/luni/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()
DVMThread.java20 Thread thread; field in VMThread
DThread.java510 Thread thread = Thread.currentThread(); in enumerate() local
607 VMThread thread = vmThread; in getState() local
1136 void uncaughtException(Thread thread, Throwable ex); in uncaughtException()
DDaemons.java56 private Thread thread; field in Daemons.Daemon
/libcore/luni/src/test/java/tests/api/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.java123 public static void unpark(Thread thread) { in unpark()
DAbstractQueuedSynchronizer.java442 volatile Thread thread; field in AbstractQueuedSynchronizer.Node
481 Node(Thread thread, Node mode) { // Used by addWaiter in Node()
486 Node(Thread thread, int waitStatus) { // Used by Condition in Node()
1418 public final boolean isQueued(Thread thread) { in isQueued()
DAbstractQueuedLongSynchronizer.java213 volatile Thread thread; field in AbstractQueuedLongSynchronizer.Node
252 Node(Thread thread, Node mode) { // Used by addWaiter in Node()
257 Node(Thread thread, int waitStatus) { // Used by Condition in Node()
1189 public final boolean isQueued(Thread thread) { in isQueued()
DReentrantLock.java620 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread()

12