/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadGroupTest.java | 511 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()
|
D | ProcessManagerTest.java | 31 Thread thread = null; field in ProcessManagerTest 138 Thread thread = new Thread() { in logErrors() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 157 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
|
D | OldInheritableThreadLocalTest.java | 38 Thread thread = new Thread() { in test_Ljava_lang_InheritableThreadLocal() local
|
D | OldThreadGroupTest.java | 286 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/ |
D | ThreadSampler.java | 43 public StackTraceElement[] getStackTrace(Thread thread); in getStackTrace()
|
D | PortableThreadSampler.java | 33 @Override public StackTraceElement[] getStackTrace(Thread thread) { in getStackTrace()
|
D | DalvikThreadSampler.java | 39 @Override public StackTraceElement[] getStackTrace(Thread thread) { in getStackTrace()
|
D | SamplingProfiler.java | 394 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/ |
D | LoadLocaleProviderTestHelper.java | 29 Thread thread = new Thread(this); in LoadLocaleProviderTestHelper() local
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramPacketTest.java | 32 Thread thread = new Thread(new Runnable() { in test_getPort() local
|
/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 | 119 Thread thread = new Thread(new Runnable() { in testManyWakeupCallsTriggerOnlyOneWakeup() local
|
/libcore/libart/src/main/java/java/lang/ |
D | ThreadGroup.java | 342 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()
|
D | Daemons.java | 61 private Thread thread; field in Daemons.Daemon
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | TestThread.java | 34 Thread thread = null; in launcher() local
|
D | CipherThread.java | 75 Thread thread = null; in launcher() local
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLogRecordTest.java | 53 MockThread thread = new MockThread(); in testGetSetThreadID_DifferentThread() local
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 213 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/ |
D | ThreadsTest.java | 262 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/ |
D | LockSupport.java | 121 public static void unpark(Thread thread) { in unpark()
|
D | AbstractQueuedSynchronizer.java | 445 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()
|
D | AbstractQueuedLongSynchronizer.java | 215 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/ |
D | BufferedInputStreamTest.java | 222 Thread thread = new Thread(new Runnable() { in test_close() local
|