| /external/valgrind/main/helgrind/tests/ |
| tc23_bogus_condwait.stderr.exp | 2 Thread #x is the program's root thread 4 Thread #x: pthread_cond_{timed}wait called with invalid mutex 9 Thread #x: pthread_cond_{timed}wait called with un-held mutex 14 Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex 19 Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t* 24 Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex 29 Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread 34 Thread #x: pthread_cond_{timed}wait: cond is associated with a different mute [all...] |
| /frameworks/base/tests/CoreTests/android/core/ |
| LowLevelNetRunner.java | 22 public class LowLevelNetRunner extends Thread {
|
| /cts/tools/dx-tests/src/dxc/junit/opcodes/monitorenter/ |
| Test_monitorenter.java | 37 Thread tr1 = new Thread(r1); 38 Thread tr2 = new Thread(r2); 48 * @title Tests behavior when monitor owned by current thread. 57 Thread tr1 = new Thread(r1); 58 Thread tr2 = new Thread(r2);
|
| /external/guava/src/com/google/common/util/concurrent/ |
| DaemonThreadFactory.java | 39 public Thread newThread(Runnable r) { 40 Thread t = factory.newThread(r);
|
| /external/nist-sip/java/gov/nist/core/ |
| ThreadAuditor.java | 6 * Thread Auditor class: 15 * the thread can periodically ping the auditor. 25 private Map<Thread,ThreadHandle> threadHandles = new HashMap<Thread,ThreadHandle>(); 32 /// Set to true when the thread pings, periodically reset to false by the auditor 35 /// Thread being monitored 36 private Thread thread; field in class:ThreadAuditor.ThreadHandle 38 /// Thread auditor monitoring this thread 142 Thread thread = threadHandle.getThread(); local [all...] |
| /frameworks/base/core/java/android/os/ |
| SystemClock.java | 46 * such as {@link Thread#sleep(long) Thread.sleep(millls)}, 63 * <li> <p> Standard functions like {@link Thread#sleep(long) 64 * Thread.sleep(millis)} and {@link Object#wait(long) Object.wait(millis)} 68 * be interrupted with {@link Thread#interrupt Thread.interrupt()}, and 72 * very similar to {@link Thread#sleep(long) Thread.sleep(millis)}, but it 74 * you do not use {@link Thread#interrupt Thread.interrupt()}, as it wil [all...] |
| /packages/apps/Camera/tests/src/com/android/camera/power/ |
| ImageAndVideoCapture.java | 67 Thread.sleep(WAIT_FOR_STABLE_STATE); 80 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); 83 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); 85 Thread.sleep(WAIT_FOR_STABLE_STATE); 103 Thread.sleep(WAIT_FOR_PREVIEW); 106 Thread.sleep(WAIT_FOR_VIDEO_CAPTURE_TO_BE_TAKEN); 108 Thread.sleep(WAIT_FOR_PREVIEW); 110 Thread.sleep(WAIT_FOR_STABLE_STATE);
|
| /external/chromium/third_party/libjingle/source/talk/session/phone/ |
| mediamonitor.h | 33 #include "talk/base/thread.h" 44 MediaMonitor(talk_base::Thread* worker_thread, 45 talk_base::Thread* monitor_thread); 58 talk_base::Thread* worker_thread_; 59 talk_base::Thread* monitor_thread_; 68 MediaMonitorT(MC* media_channel, talk_base::Thread* worker_thread, 69 talk_base::Thread* monitor_thread) 75 // These routines assume the crit_ lock is held by the calling thread.
|
| audiomonitor.cc | 40 talk_base::Thread *monitor_thread) { 67 assert(talk_base::Thread::Current() == voice_channel_->worker_thread()); 75 assert(talk_base::Thread::Current() == voice_channel_->worker_thread()); 83 assert(talk_base::Thread::Current() == voice_channel_->worker_thread()); 89 assert(talk_base::Thread::Current() == monitoring_thread_); 101 assert(talk_base::Thread::Current() == voice_channel_->worker_thread()); 108 // Signal the monitoring thread, start another poll timer 117 talk_base::Thread *AudioMonitor::monitor_thread() {
|
| audiomonitor.h | 31 #include "talk/base/thread.h" 50 AudioMonitor(VoiceChannel* voice_channel, talk_base::Thread *monitor_thread); 57 talk_base::Thread *monitor_thread(); 67 talk_base::Thread* monitoring_thread_;
|
| /libcore/luni/src/main/java/java/lang/ |
| ThreadGroup.java | 28 * This class is obsolete. See <i>Effective Java</i> Item 73, "Avoid thread groups" for details. 29 * @see Thread 31 public class ThreadGroup implements Thread.UncaughtExceptionHandler { 38 private int maxPriority = Thread.MAX_PRIORITY; 48 private final List<WeakReference<Thread>> threadRefs = new ArrayList<WeakReference<Thread>>(5); 54 private final Iterable<Thread> threads = CollectionUtils.dereferenceIterable(threadRefs, true); 57 * Thread groups. Access is guarded by synchronizing on this field. 73 * will be child of the {@code ThreadGroup} to which the calling thread belongs. 76 * @see Thread#currentThrea 342 Thread thread = threadRefs.get(i).get(); local [all...] |
| Thread.java | 43 * A {@code Thread} is a concurrent unit of execution. It has its own call stack 45 * machine instance has at least one main {@code Thread} running when it is 47 * application might decide to launch additional {@code Thread}s for specific 50 * {@code Thread}s in the same VM interact and synchronize by the use of shared 52 * part of the API in {@link Object} also allow {@code Thread}s to cooperate. 54 * There are basically two main ways of having a {@code Thread} execute 55 * application code. One is providing a new class that extends {@code Thread} 57 * {@code Thread} instance with a {@link Runnable} object during its creation. 59 * the new {@code Thread}. 61 * Each {@code Thread} has an integer priority that basically determines th 510 Thread thread = Thread.currentThread(); local 607 VMThread thread = vmThread; local [all...] |
| /dalvik/vm/ |
| JniInternal.h | 41 Thread* self; 92 INLINE void dvmPopJniLocals(Thread* self, StackSaveArea* saveArea) 100 INLINE void dvmSetJniEnvThreadId(JNIEnv* pEnv, Thread* self) 107 const Method* method, Thread* self); 109 const Method* method, Thread* self); 142 * Create/destroy a JNIEnv for the current thread. 144 JNIEnv* dvmCreateJNIEnv(Thread* self); 148 * Find the JNIEnv associated with the current thread. 161 void dvmReleaseJniMonitors(Thread* self);
|
| /libcore/luni/src/main/java/java/util/concurrent/locks/ |
| ReentrantLock.java | 18 * <p>A {@code ReentrantLock} is <em>owned</em> by the thread last 19 * successfully locking, but not yet unlocking it. A thread invoking 21 * the lock is not owned by another thread. The method will return 22 * immediately if the current thread already owns the lock. This can 29 * thread. Otherwise this lock does not guarantee any particular 35 * fairness of thread scheduling. Thus, one of many threads using a 74 * the same thread. Attempts to exceed this limit result in 105 final Thread current = Thread.currentThread(); 125 if (Thread.currentThread() != getExclusiveOwnerThread() [all...] |
| /external/chromium/chrome/browser/sync/ |
| profile_sync_test_util.h | 23 class Thread; 48 explicit ThreadNotificationService(base::Thread* notification_thread); 61 base::Thread* notification_thread_; 68 explicit ThreadNotifier(base::Thread* notify_thread); 85 base::Thread* notify_thread_;
|
| /external/chromium/third_party/libjingle/source/talk/p2p/client/ |
| socketmonitor.h | 35 #include "talk/base/thread.h" 62 talk_base::Thread* worker_thread, 63 talk_base::Thread* monitor_thread); 69 talk_base::Thread *monitor_thread() { return monitoring_thread_; } 82 talk_base::Thread* channel_thread_; 83 talk_base::Thread* monitoring_thread_;
|
| /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
| FileClientSessionCacheTest.java | 35 Thread[] threads = new Thread[10]; 39 threads[i] = new Thread() { 48 for (Thread thread : threads) { 49 thread.start(); 51 for (Thread thread : threads) { 52 thread.join();
|
| /external/chromium/third_party/libjingle/source/talk/base/ |
| thread.cc | 28 #include "talk/base/thread.h" 76 Thread *ThreadManager::CurrentThread() { 77 return static_cast<Thread *>(pthread_getspecific(key_)); 80 void ThreadManager::SetCurrent(Thread *thread) { 81 pthread_setspecific(key_, thread); 98 Thread *ThreadManager::CurrentThread() { 99 return static_cast<Thread *>(TlsGetValue(key_)); 102 void ThreadManager::SetCurrent(Thread *thread) { 165 Thread* thread; member in struct:talk_base::ThreadInit 388 AutoThread thread; local [all...] |
| /dalvik/vm/interp/ |
| InterpDefs.h | 41 extern void dvmInterpretPortable(Thread* self); 46 extern void dvmMterpStd(Thread* self); 56 void dvmInterpCheckTrackedRefs(Thread* self, const Method* method,
|
| /dalvik/vm/mterp/cstubs/ |
| entry.cpp | 20 void dvmMterpStdRun(Thread* self) 34 typedef void (*Handler)(Thread* self); 57 void dvmMterpStdBail(Thread* self)
|
| /external/chromium/third_party/libjingle/source/talk/examples/call/ |
| console.h | 33 #include "talk/base/thread.h" 41 Console(talk_base::Thread *thread, CallClient *client); 79 talk_base::Thread *client_thread_; 80 talk_base::scoped_ptr<talk_base::Thread> console_thread_;
|
| /packages/apps/Gallery/src/com/android/camera/ |
| BitmapManager.java | 33 * decoding if another thread wants to cancel it, it calls the function 34 * cancelThreadDecoding() specifying the Thread which is in decoding. 55 s = "thread state = " + s + ", options = " + mOptions; 60 private final WeakHashMap<Thread, ThreadStatus> mThreadStatus = 61 new WeakHashMap<Thread, ThreadStatus>(); 69 * Get thread status and create one if specified. 71 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { 84 private synchronized void setDecodingOptions(Thread t, 89 synchronized void removeDecodingOptions(Thread t) { 95 * The following three methods are used to keep track of which thread 183 Thread thread = Thread.currentThread(); local [all...] |
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
| ThreadGroupTest.java | 24 class MyThread extends Thread { 37 Thread.sleep(50); 52 Thread.yield(); 112 newGroup.getParent() == Thread.currentThread().getThreadGroup()); 140 Thread t1 = new Thread(tg, new Runnable() { 143 Thread.sleep(5000); 226 Thread noOp = new Thread(testRoot, null, "no-op thread") { 627 Thread thread; local [all...] |
| /cts/tools/vm-tests/src/dot/junit/opcodes/monitor_enter/ |
| Test_monitor_enter.java | 37 Thread tr1 = new Thread(r1); 38 Thread tr2 = new Thread(r2); 48 * @title Tests behavior when monitor owned by current thread. 57 Thread tr1 = new Thread(r1); 58 Thread tr2 = new Thread(r2);
|
| /cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/ |
| Test_monitor_enter.java | 37 Thread tr1 = new Thread(r1); 38 Thread tr2 = new Thread(r2); 48 * @title Tests behavior when monitor owned by current thread. 57 Thread tr1 = new Thread(r1); 58 Thread tr2 = new Thread(r2);
|