| /libcore/ojluni/src/main/java/sun/nio/ch/ |
| UnixAsynchronousSocketChannelImpl.java | 152 assert Thread.holdsLock(updateLock); 213 * Invoked by event handler thread when file descriptor is polled 504 // or, we are using a fixed thread pool and the completion handler may 505 // not be invoked directly (because the thread is not a pooled thread or 516 // okay to attempt read with user thread pool 702 !port.isFixedThreadPool(); // okay to attempt write with user thread pool
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/ |
| threading.py | 0 """Thread module emulating a subset of Java's threading model.""" 6 import thread 31 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 34 _start_new_thread = thread.start_new_thread 35 _allocate_lock = thread.allocate_lock 36 _get_ident = thread.get_ident 37 ThreadError = thread.error 38 del thread 72 name = "<OS thread %d>" % ident 92 The func will be passed to sys.setprofile() for each thread, before it [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/ |
| threading.py | 0 """Thread module emulating a subset of Java's threading model.""" 6 import thread 31 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 34 _start_new_thread = thread.start_new_thread 35 _allocate_lock = thread.allocate_lock 36 _get_ident = thread.get_ident 37 ThreadError = thread.error 38 del thread 72 name = "<OS thread %d>" % ident 92 The func will be passed to sys.setprofile() for each thread, before it [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| threading.py | 0 """Thread module emulating a subset of Java's threading model.""" 6 import thread 31 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 34 _start_new_thread = thread.start_new_thread 35 _allocate_lock = thread.allocate_lock 36 _get_ident = thread.get_ident 37 ThreadError = thread.error 38 del thread 72 name = "<OS thread %d>" % ident 92 The func will be passed to sys.setprofile() for each thread, before it [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| threading.py | 0 """Thread module emulating a subset of Java's threading model.""" 6 import thread 31 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 34 _start_new_thread = thread.start_new_thread 35 _allocate_lock = thread.allocate_lock 36 _get_ident = thread.get_ident 37 ThreadError = thread.error 38 del thread 72 name = "<OS thread %d>" % ident 92 The func will be passed to sys.setprofile() for each thread, before it [all...] |
| /tools/tradefederation/contrib/src/com/android/media/tests/ |
| VideoMultimeterTest.java | 154 new Thread() {
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
| RunUtilTest.java | 217 // override parent with simple version that doesn't create a thread 242 mRunUtil.interrupt(Thread.currentThread(), message); 258 mRunUtil.interrupt(Thread.currentThread(), message); 277 mRunUtil.interrupt(Thread.currentThread(), message1); 278 mRunUtil.interrupt(Thread.currentThread(), message2); 279 mRunUtil.interrupt(Thread.currentThread(), message3); 389 final Thread test = 390 new Thread( 396 mRunUtil.setInterruptibleInFuture(Thread.currentThread(), 10); 424 mRunUtil.setInterruptibleInFuture(Thread.currentThread(), LONG_TIMEOUT_MS) [all...] |
| /external/guava/guava-tests/test/com/google/common/cache/ |
| CacheLoadingTest.java | 24 import static java.lang.Thread.currentThread; 77 // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status 2104 Thread thread = new Thread(new Runnable() { local [all...] |
| CacheBuilderTest.java | 410 new Thread(new Runnable() { 441 * a black-box test that tries to create lots of different thread-interleavings, and asserts that 493 Thread.yield(); 548 Thread.sleep(5);
|
| /external/v8/src/base/platform/ |
| platform-win32.cc | 426 // Returns the accumulated user time for thread. 431 // Get the amount of time that the thread has executed in user mode. 1326 Thread* thread = reinterpret_cast<Thread*>(arg); local [all...] |
| /libcore/ojluni/src/main/java/java/lang/ |
| Thread.java | 48 * A <i>thread</i> is a thread of execution in a program. The Java 52 * Every thread has a priority. Threads with higher priority are 53 * executed in preference to threads with lower priority. Each thread 55 * some thread creates a new <code>Thread</code> object, the new 56 * thread has its priority initially set equal to the priority of the 57 * creating thread, and is a daemon thread if and only if the 58 * creating thread is a daemon [all...] |
| /art/test/004-ThreadStress/src-art/ |
| Main.java | 40 // -t X .............. number of operations per thread 64 * Perform the action represented by this operation. Returns true if the thread should 65 * continue when executed by a runner (non-daemon) thread. 187 Thread.currentThread().getStackTrace(); 207 Thread.sleep(SLEEP_TIME); 265 Thread.sleep((int)(Math.random() * 50 + 50)); 293 Thread.sleep(SLEEP_TIME); 521 // the actual test later (including having a thread blocking on 530 // Let the main (current) thread acquire all permits from 531 // `semaphore`. Then create an auxiliary thread acquiring [all...] |
| /art/test/064-field-access/src/ |
| Main.java | 111 Thread.dumpStack(); 689 Thread.dumpStack(); 717 Thread.dumpStack();
|
| /art/test/082-inline-execute/src/ |
| Main.java | 96 * Will test inlining Thread.currentThread(). 100 Thread.currentThread(); 103 Assert.assertNotNull(Thread.currentThread()); [all...] |
| /art/test/913-heaps/src/art/ |
| Test913.java | 36 // Run the follow-references tests on a dedicated thread so we know the specific Thread type. 37 Thread t = new Thread() { 356 setTag(Thread.currentThread(), 3000);
|
| /art/test/956-methodhandles/src/ |
| Main.java | 677 Thread.dumpStack(); 682 Thread.dumpStack(); [all...] |
| /art/test/957-methodhandle-transforms/src/ |
| Main.java | [all...] |
| /cts/tests/app/src/android/app/cts/ |
| PendingIntentTest.java | 71 new Thread() { 81 Thread.sleep(50);
|
| /cts/tests/tests/media/src/android/media/cts/ |
| AudioEffectTest.java | [all...] |
| /cts/tests/tests/mediastress/src/android/mediastress/cts/ |
| CodecTest.java | 108 Thread.sleep(10000); 110 Thread.sleep(PAUSE_WAIT_TIME); 135 Thread.sleep(WAIT_TIME); 164 Thread.sleep(5000); 167 Thread.sleep(20000); 200 Thread.sleep(5000); 202 Thread.sleep(PAUSE_WAIT_TIME); 328 Thread.sleep(5000); 332 Thread.sleep(PAUSE_WAIT_TIME); 335 Thread.sleep(1000) [all...] |
| /external/google-breakpad/src/tools/linux/md2core/ |
| minidump-2-core.cc | 142 typedef struct prstatus { /* Information about thread; includes CPU reg*/ 209 struct Thread { 222 std::vector<Thread> threads; 252 ParseThreadRegisters(CrashedProcess::Thread* thread, 256 thread->regs.ebx = rawregs->ebx; 257 thread->regs.ecx = rawregs->ecx; 258 thread->regs.edx = rawregs->edx; 259 thread->regs.esi = rawregs->esi; 260 thread->regs.edi = rawregs->edi 407 CrashedProcess::Thread thread; local 904 const CrashedProcess::Thread& thread = crashinfo->threads[i]; local [all...] |
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| AbstractServiceTest.java | 20 import static java.lang.Thread.currentThread; 31 import java.lang.Thread.UncaughtExceptionHandler; 48 private Thread executionThread; 150 Thread.interrupted(); // clear interrupt for future tests 179 service.notifyStarted(); // usually this would be invoked by another thread 188 service.notifyStopped(); // usually this would be invoked by another thread 349 Thread waiter = new Thread() { 358 waiter.join(LONG_TIMEOUT_MILLIS); // ensure that the await in the other thread is triggered 365 Thread waiter = new Thread() 691 Thread thread = new Thread() { local 722 Thread thread = new Thread() { local [all...] |
| ServiceManagerTest.java | 74 new Thread() { 83 new Thread() { 381 new Thread() { 384 // We need to wait for the main thread to leave the ServiceManager.startAsync call to 385 // ensure that the thread running the failure callbacks is not the main thread. 407 // we really just want to wait for the thread to be in the failure callback so we wait for that 412 Thread stoppingThread = new Thread() { 421 failLeave.countDown(); // release the background thread [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| ICUResourceBundle.java | 594 Thread.dumpStack(); [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
| LanguageTestFmwk.java | 81 Thread.dumpStack();
|