| /dalvik/vm/ |
| Exception.h | 24 * Create a Throwable and throw an exception in the current thread (where 25 * "throwing" just means "set the thread's exception pointer"). 90 * Return the exception being thrown in the current thread, or NULL if 93 INLINE Object* dvmGetException(Thread* self) { 98 * Set the exception being thrown in the current thread. 100 INLINE void dvmSetException(Thread* self, Object* exception) 113 INLINE void dvmClearException(Thread* self) { 122 void dvmClearOptException(Thread* self); 128 INLINE bool dvmCheckException(Thread* self) { 170 * If "doUnroll" is set, we unroll "thread"s stack as we go (and updat [all...] |
| /external/chromium/chrome/browser/ |
| browser_process.h | 47 class Thread; 74 // NOT THREAD SAFE, call only from the main thread. 110 // Returns the thread that we perform I/O coordination on (network requests, 115 // that a thread is still alive, race conditions, lifetime differences etc. 119 // Returns the thread that we perform random file operations on. For code 121 // requests), this is the thread to use to avoid blocking the UI thread. 122 // It might be nicer to have a thread pool for this kind of thing. 123 virtual base::Thread* file_thread() = 0 [all...] |
| /external/valgrind/main/helgrind/tests/ |
| tc10_rec_lock.stderr.exp | 9 Thread #x is the program's root thread 11 Thread #x unlocked a not-locked lock at 0x........ 20 Thread #x's call to pthread_mutex_unlock failed
|
| /libcore/luni/src/main/java/java/util/concurrent/locks/ |
| ReentrantReadWriteLock.java | 36 * is released either the longest-waiting single writer thread will 41 * <p>A thread that tries to acquire a fair read lock (non-reentrantly) 43 * writer thread. The thread will not acquire the read lock until 44 * after the oldest currently waiting writer thread has acquired and 50 * <p>A thread that tries to acquire a fair write lock (non-reentrantly) 64 * thread have been released. 121 * // Recheck state because another thread might have 247 * A counter for per-thread read hold counts. 253 final long tid = Thread.currentThread().getId() [all...] |
| /cts/tools/cts-reference-app-lib/src/android/cts/refapp/ |
| ReferenceAppTestCase.java | 24 import java.lang.Thread; 83 Thread.sleep(SNAPSHOT_TIMEOUT_MS);
|
| /dalvik/dx/src/junit/extensions/ |
| ActiveTestSuite.java | 7 * test in a separate thread and waits until all 36 Thread t= new Thread() {
|
| /dalvik/tests/059-finalizer-throw/src/ |
| Main.java | 33 Thread.sleep(500); 41 Thread.sleep(750);
|
| /dalvik/vm/alloc/ |
| Alloc.h | 73 extern "C" void dvmAddTrackedAlloc(Object* obj, Thread* self); 82 extern "C" void dvmReleaseTrackedAlloc(Object* obj, Thread* self);
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/process/ |
| SystemProcessTest.java | 31 Thread.currentThread().interrupt(); 46 Thread.sleep(1000);
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
| PipedOutputStreamTest.java | 55 Thread.sleep(1000); 56 Thread.yield(); 74 Thread rt; 100 rt = new Thread(reader = new PReader(out)); 126 rt = new Thread(reader = new PReader(out)); 140 rt = new Thread(reader = new PReader(out)); 153 rt = new Thread(reader = new PReader(out)); 214 rt = new Thread(reader = new PReader(out));
|
| /external/chromium/third_party/libjingle/source/talk/p2p/base/ |
| p2ptransport.h | 39 P2PTransport(talk_base::Thread* signaling_thread, 40 talk_base::Thread* worker_thread,
|
| rawtransport.h | 42 RawTransport(talk_base::Thread* signaling_thread, 43 talk_base::Thread* worker_thread,
|
| /external/guava/src/com/google/common/util/concurrent/ |
| NamingThreadFactory.java | 25 * each thread created. 39 * Creates a new factory that delegates to the default thread factory for 40 * thread creation, then uses {@code format} to construct a name for the new 41 * thread. 53 * Creates a new factory that delegates to {@code backingFactory} for thread 54 * creation, then uses {@code format} to construct a name for the new thread. 68 public Thread newThread(Runnable r) { 69 Thread t = backingFactory.newThread(r);
|
| /external/junit/src/junit/extensions/ |
| ActiveTestSuite.java | 9 * test in a separate thread and waits until all 38 Thread t= new Thread() {
|
| /external/valgrind/main/helgrind/ |
| hg_lock_n_thread.h | 50 encode thread-sets and lock-sets in 32-bit shadow words. */ 57 /* Thr, libhb's private thread record, exported abstractly */ 61 /* Stores information about a thread. Addresses of these also serve 62 as unique thread identifiers and so are never freed, so they should 63 be as small as possible. Freeing Thread structures makes the 69 core's ThreadId associated with this Thread whilst it is alive. 70 Once the thread finishes, the ThreadId is set to 74 completely different thread, which of course must have a different 75 Thread structure. */ 84 WordSetID locksetA; /* WordSet of Lock* currently held by thread */ [all...] |
| /frameworks/base/core/java/com/android/server/ |
| ResettableTimeout.java | 59 // By starting the thread first and waiting, we ensure that if the 60 // thread to stop it can't start, we don't turn the vibrator on 73 // poke the thread so it gets the new timeout. 98 private class T extends Thread 129 private Thread mThread;
|
| /frameworks/base/media/java/android/mtp/ |
| MtpServer.java | 36 Thread thread = new Thread(this, "MtpServer"); local 37 thread.start();
|
| /frameworks/base/services/java/com/android/server/ |
| MasterClearReceiver.java | 41 // The reboot call is blocking, so we need to do it on another thread. 42 Thread thr = new Thread("Reboot") {
|
| /libcore/junit/src/main/java/junit/extensions/ |
| ActiveTestSuite.java | 7 * test in a separate thread and waits until all 36 Thread t= new Thread() {
|
| /libcore/luni/src/main/java/java/nio/channels/spi/ |
| AbstractInterruptibleChannel.java | 68 * one thread will run the closure code and the others will be blocked until 92 Thread.currentThread().pushInterruptAction$(interruptAndCloseRunnable); 103 * if this channel is closed by another thread while this method 106 * if another thread interrupts the calling thread while this 110 Thread.currentThread().popInterruptAction$(interruptAndCloseRunnable); 125 * is thread-safe.
|
| /libcore/luni/src/main/java/org/xml/sax/helpers/ |
| NewInstance.java | 24 * class from an explicit class name. It tries to use the thread's context 63 m = Thread.class.getMethod("getContextClassLoader"); 70 return (ClassLoader) m.invoke(Thread.currentThread());
|
| /libcore/luni/src/test/java/libcore/java/io/ |
| OldPipedOutputStreamTest.java | 53 Thread.sleep(1000); 54 Thread.yield(); 67 + Thread.currentThread().getName() + "): " 79 Thread rt; 117 rt = new Thread(reader = new PReader(out)); 159 rt = new Thread(reader = new PReader(out)); 204 rt = new Thread(reader = new PReader(out)); 234 rt = new Thread(reader = new PReader(out));
|
| /libcore/luni/src/test/java/libcore/java/lang/ |
| OldInheritableThreadLocalTest.java | 38 Thread thread = new Thread() { local 43 thread.start(); 44 thread.join();
|
| ThreadTest.java | 50 private Thread newThread(final AtomicInteger finalizedThreadsCount, final int size) { 51 return new Thread() {
|
| /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/ |
| ProgressTask.java | 36 * The given task will execute in a separate thread (not the UI thread).
38 * This blocks till the thread ends.
48 * Creates a thread to run the task. The thread has not been started yet.
51 * @return A new thread that will run the task. The thread has not been started yet.
53 private Thread createTaskThread(String title, final ITask task) {
55 return new Thread(title) {
|