/libcore/luni/src/main/java/java/lang/ |
InheritableThreadLocal.java | 22 * A thread-local variable whose value is passed from parent to child thread. By 23 * default, the value of an inheritable thread-local variable of a child thread 24 * is initialized with the value of the parent thread's variable at thread 27 * thread-local variable to the child's thread-local variable. 29 * @see java.lang.Thread 35 * Creates a new inheritable thread-local variable [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
PriorityThreadFactory.java | 24 * A thread factory that creates threads with a given thread priority. 31 * Creates a new thread factory. 33 * @param priority The thread priority of the threads created by this factory. 40 public Thread newThread(Runnable r) { 41 return new Thread(r) {
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
SamplingProfiler.java | 30 * Thread.getStackTrace} to collect samples. As such, the overhead is 38 * SamplingProfiler}. It samples the current thread's stack to a depth 44 * ThreadSet threadSet = SamplingProfiler.newArrayThreadSet(Thread.currentThread()); 94 * Real hprof output examples don't start the thread and trace 105 * thread start and end events. 107 private Thread[] currentThreads = new Thread[0]; 114 private final Map<Thread, Integer> threadIds = new HashMap<Thread, Integer>(); 120 * be thread safe, have a single mutable instance would need to b [all...] |
/external/valgrind/main/helgrind/ |
hg_errors.h | 51 void HG_(record_error_Race) ( Thread* thr, 53 Thread* h1_confthr, 56 void HG_(record_error_UnlockUnlocked) ( Thread*, Lock* ); 57 void HG_(record_error_UnlockForeign) ( Thread*, Thread*, Lock* ); 58 void HG_(record_error_UnlockBogus) ( Thread*, Addr ); 59 void HG_(record_error_PthAPIerror) ( Thread*, HChar*, Word, HChar* ); 60 void HG_(record_error_LockOrder) ( Thread*, Addr, Addr, 62 void HG_(record_error_Misc_w_aux) ( Thread*, HChar* errstr, 64 void HG_(record_error_Misc) ( Thread* thr, HChar* errstr ) [all...] |
/dalvik/vm/mterp/common/ |
asm-constants.h | 148 /* Thread fields */ 149 MTERP_OFFSET(offThread_pc, Thread, interpSave.pc, 0) 150 MTERP_OFFSET(offThread_curFrame, Thread, interpSave.curFrame, 4) 151 MTERP_OFFSET(offThread_method, Thread, interpSave.method, 8) 152 MTERP_OFFSET(offThread_methodClassDex, Thread, interpSave.methodClassDex, 12) 154 MTERP_OFFSET(offThread_retval, Thread, interpSave.retval, 16) 155 MTERP_OFFSET(offThread_retval_z, Thread, interpSave.retval.z, 16) 156 MTERP_OFFSET(offThread_retval_i, Thread, interpSave.retval.i, 16) 157 MTERP_OFFSET(offThread_retval_j, Thread, interpSave.retval.j, 16) 158 MTERP_OFFSET(offThread_retval_l, Thread, interpSave.retval.l, 16 [all...] |
/external/valgrind/main/helgrind/tests/ |
bar_bad.stderr.exp | 3 Thread #x is the program's root thread 5 Thread #x: pthread_barrier_init: 'count' argument is zero 9 Thread #x's call to pthread_barrier_init failed 16 Thread #x: pthread_barrier_init: barrier is already initialised 22 Thread #x: pthread_barrier_init: barrier is already initialised 26 Thread #x: pthread_barrier_init: threads are waiting at barrier 32 Thread #x: pthread_barrier_destroy: threads are waiting at barrier 36 Thread #x's call to pthread_barrier_destroy failed 43 Thread #x: pthread_barrier_destroy: barrier was never initialise [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
mediamonitor.cc | 42 MediaMonitor::MediaMonitor(talk_base::Thread* worker_thread, 43 talk_base::Thread* monitor_thread) 71 ASSERT(talk_base::Thread::Current() == worker_thread_); 79 ASSERT(talk_base::Thread::Current() == worker_thread_); 87 ASSERT(talk_base::Thread::Current() == worker_thread_); 92 ASSERT(talk_base::Thread::Current() == monitor_thread_); 100 ASSERT(talk_base::Thread::Current() == worker_thread_); 104 // Signal the monitoring thread, start another poll timer
|
/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); 127 Object* dvmDecodeIndirectRef(Thread* self, jobject jobj); 133 jobjectRefType dvmGetJNIRefType(Thread* self, jobject jobj); 142 * Create/destroy a JNIEnv for the current thread. 144 JNIEnv* dvmCreateJNIEnv(Thread* self); 148 * Find the JNIEnv associated with the current thread [all...] |
Thread.h | 18 * VM thread support. 53 THREAD_STARTING = 6, /* started, not yet on thread list */ 59 /* thread priorities, from java.lang.Thread */ 101 * Our per-thread data. 105 struct Thread { 109 * element in Thread. 118 * be located towards the beginning of the Thread structure for 124 * a count of the number of times the thread has been suspended. When 125 * the count drops to zero, the thread resumes [all...] |
/dalvik/vm/interp/ |
Jit.h | 66 void* dvmSelfVerificationShadowSpaceAlloc(Thread* self); 67 void dvmSelfVerificationShadowSpaceFree(Thread* self); 69 Thread* self, 73 Thread *self); 74 void dvmCheckSelfVerification(const u2* pc, Thread* self); 149 void dvmCheckJit(const u2* pc, Thread* self); 152 void* dvmJitGetTraceAddrThread(const u2* dPC, Thread* self); 153 void* dvmJitGetMethodAddrThread(const u2* dPC, Thread* self); 154 void dvmJitCheckTraceRequest(Thread* self); 169 void dvmJitEndTraceSelect(Thread* self, const u2* dPC) [all...] |
Stack.h | 33 determined when the thread is created. 176 * setting thread->interpStackStart). 178 bool dvmInitInterpStack(Thread* thread, int stackSize); 182 * "fake" native frames at the top of each thread stack. 184 bool dvmPushJNIFrame(Thread* thread, const Method* method); 189 bool dvmPushLocalFrame(Thread* thread, const Method* method); 190 bool dvmPopLocalFrame(Thread* thread) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
basicpacketsocketfactory.h | 38 class Thread; 42 explicit BasicPacketSocketFactory(Thread* thread); 61 Thread* thread_;
|
/external/webkit/Source/JavaScriptCore/heap/ |
MachineStackMarker.h | 54 class Thread; 59 void gatherFromOtherThread(ConservativeRoots&, Thread*); 66 Thread* m_registeredThreads;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
TonesAutoTest.java | 44 Thread.sleep(200); 46 Thread.sleep(100); 69 Thread.sleep(2000); 71 Thread.sleep(200); 81 Thread.sleep(5000); 83 Thread.sleep(200); 105 Thread.sleep(1000); 107 Thread.sleep(100); 130 Thread.sleep(100); 132 Thread.sleep(500) [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
ThreadingTest.java | 29 public void startThread(Thread thread) { 30 thread.start(); 40 Thread.sleep(50); // give threads a chance to finish 53 Thread.sleep(10);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadGroupTest.java | 27 public class OldThreadGroupTest extends TestCase implements Thread.UncaughtExceptionHandler { 29 class MyThread extends Thread { 42 Thread.sleep(50); 58 Thread.yield(); 75 Thread t1 = new Thread(tg, new Runnable() { 95 ThreadGroup tg = new ThreadGroup("thread suspension"); 96 assertTrue("Thread suspention can not be changed", 98 assertTrue("Thread suspention can not be changed", 103 * Checks whether the current Thread is in the given list 286 Thread thread = launchFiveSecondDummyThread(group); local 302 Thread thread = new Thread(group, "Bar") { local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
LoadGenerator.java | 24 public class LoadGenerator extends Thread { 29 start(); // Begin thread
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/monitorenter/jm/ |
T_monitorenter_1.java | 25 Thread.sleep(500);
|
T_monitorenter_2.java | 29 Thread.sleep(500);
|
/cts/tools/vm-tests/src/dot/junit/opcodes/monitor_enter/d/ |
T_monitor_enter_1.java | 25 Thread.sleep(500);
|
T_monitor_enter_2.java | 29 Thread.sleep(500);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
T_monitor_enter_1.java | 25 Thread.sleep(500);
|
T_monitor_enter_2.java | 29 Thread.sleep(500);
|
/development/tools/emulator/opengl/host/libs/libOpenglRender/ |
RenderServer.h | 22 class RenderServer : public osUtils::Thread
|
RenderThread.h | 24 class RenderThread : public osUtils::Thread
|