HomeSort by relevance Sort by last modified time
    Searched refs:Thread (Results 151 - 175 of 2880) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/remoting/client/
client_context.h 10 #include "base/threading/thread.h"
22 // |main_task_runner| is the task runner for the main plugin thread
37 // A thread that handles all video decode operations.
38 base::Thread decode_thread_;
40 // A thread that handles all audio decode operations.
41 base::Thread audio_decode_thread_;
  /external/jmonkeyengine/engine/src/test/jme3test/app/
TestContextRestart.java 47 Thread.sleep(3000);
54 Thread.sleep(3000);
  /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...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
ClassCacheTest.java 15 Thread locker = new Thread() {
20 Thread.sleep(Long.MAX_VALUE);
54 Thread locker = new Thread() {
59 Thread.sleep(Long.MAX_VALUE);
88 class TestThreadIsWriting extends Thread {
106 class TestThreadSaveAllClassesToCache extends Thread {
  /frameworks/base/core/java/android/os/
SystemClock.java 46 * such as {@link Thread#sleep(long) Thread.sleep(millls)},
64 * <li> <p> Standard functions like {@link Thread#sleep(long)
65 * Thread.sleep(millis)} and {@link Object#wait(long) Object.wait(millis)}
69 * be interrupted with {@link Thread#interrupt Thread.interrupt()}, and
73 * very similar to {@link Thread#sleep(long) Thread.sleep(millis)}, but it
75 * 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);
  /packages/apps/LegacyCamera/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);
  /art/runtime/entrypoints/portable/
portable_alloc_entrypoints.cc 25 Thread* thread)
27 return AllocObjectFromCode(type_idx, referrer, thread, false);
32 Thread* thread)
34 return AllocObjectFromCode(type_idx, referrer, thread, true);
40 Thread* self)
48 Thread* self)
56 Thread* thread)
    [all...]
portable_jni_entrypoints.cc 20 #include "thread-inl.h"
25 extern "C" uint32_t art_portable_jni_method_start(Thread* self)
34 extern "C" uint32_t art_portable_jni_method_start_synchronized(jobject to_lock, Thread* self)
40 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) {
46 extern "C" void art_portable_jni_method_end(uint32_t saved_local_ref_cookie, Thread* self)
55 Thread* self)
64 Thread* self)
82 Thread* self)
  /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.
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
mediamonitor.h 35 #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.
  /external/valgrind/main/helgrind/tests/
tc12_rwl_trivial.stderr.exp 2 ---Thread-Announcement------------------------------------------
4 Thread #x is the program's root thread
8 Thread #x unlocked a not-locked lock at 0x........
  /art/runtime/entrypoints/quick/
quick_entrypoints.h 26 ThreadOffset(static_cast<uintptr_t>(OFFSETOF_MEMBER(Thread, quick_entrypoints_)) + \
37 class Thread;
39 // Pointers to functions that are called by quick compiler generated code via thread-local storage.
78 uint32_t (*pJniMethodStart)(Thread*);
79 uint32_t (*pJniMethodStartSynchronized)(jobject to_lock, Thread* self);
80 void (*pJniMethodEnd)(uint32_t cookie, Thread* self);
81 void (*pJniMethodEndSynchronized)(uint32_t cookie, jobject locked, Thread* self);
82 mirror::Object* (*pJniMethodEndWithReference)(jobject result, uint32_t cookie, Thread* self);
84 jobject locked, Thread* self);
128 // Thread
    [all...]
quick_jni_entrypoints.cc 26 #include "thread.h"
31 extern uint32_t JniMethodStart(Thread* self) {
40 extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) {
45 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) {
52 extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) {
59 Thread* self) {
66 Thread* self) {
82 jobject locked, Thread* self) {
quick_throw_entrypoints.cc 21 #include "thread.h"
26 // Deliver an exception that's pending on thread helping set up a callee save frame on the way.
27 extern "C" void artDeliverPendingExceptionFromCode(Thread* thread, mirror::ArtMethod** sp)
29 FinishCalleeSaveFrameSetup(thread, sp, Runtime::kSaveAll);
30 thread->QuickDeliverException();
34 extern "C" void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self,
42 * exception_ in thread and delivering the exception.
56 extern "C" void artThrowNullPointerExceptionFromCode(Thread* self,
66 extern "C" void artThrowDivZeroFromCode(Thread* self
    [all...]
  /art/runtime/
thread_list.h 28 class Thread;
43 void DumpLocked(std::ostream& os) // For thread suspend timeout dumps.
48 // Thread suspension support.
53 void Resume(Thread* thread, bool for_debugger = false)
82 void ForEach(void (*callback)(Thread*, void*), void* context)
85 // Add/remove current thread from list.
86 void Register(Thread* self)
89 void Unregister(Thread* self) LOCKS_EXCLUDED(Locks::mutator_lock_, Locks::thread_list_lock_);
97 // Return a copy of the thread list
    [all...]
thread_pool.h 65 // Returns the number of threads in the thread pool.
71 void StartWorkers(Thread* self);
74 void StopWorkers(Thread* self);
78 void AddTask(Thread* self, Task* task);
84 void Wait(Thread* self, bool do_work, bool may_hold_locks);
86 size_t GetTaskCount(Thread* self);
94 // thread count of the thread pool.
99 virtual Task* GetTask(Thread* self);
102 Task* TryGetTask(Thread* self)
    [all...]
  /external/chromium_org/media/audio/
audio_device_thread.cc 22 // The actual worker thread implementation. It's very bare bones and much
24 // joining the thread handle asynchronously via a provided message loop even
25 // after the Thread object itself has been deleted.
26 class AudioDeviceThread::Thread
28 public base::RefCountedThreadSafe<AudioDeviceThread::Thread> {
30 Thread(AudioDeviceThread::Callback* callback,
36 // Stops the thread. If |loop_for_join| is non-NULL, the function posts
37 // a task to join (close) the thread handle later instead of waiting for
38 // the thread. If loop_for_join is NULL, then the function waits
39 // synchronously for the thread to terminate
119 base::PlatformThreadHandle thread = base::PlatformThreadHandle(); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedSetTest.java 67 assertTrue(Thread.holdsLock(mutex));
72 assertTrue(Thread.holdsLock(mutex));
77 assertTrue(Thread.holdsLock(mutex));
82 assertTrue(Thread.holdsLock(mutex));
87 assertTrue(Thread.holdsLock(mutex));
92 assertTrue(Thread.holdsLock(mutex));
97 assertTrue(Thread.holdsLock(mutex));
102 assertTrue(Thread.holdsLock(mutex));
107 assertTrue(Thread.holdsLock(mutex));
114 assertTrue(Thread.holdsLock(mutex))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
Profile.java 26 // The Profile class is used to collect profiling information for a thread. It
27 // samples stack traces for a thread periodically. enable() and disable() is
28 // used to enable and disable profiling for the calling thread. The profiling
39 // This is a watchdog entry for one thread.
40 // For every cycleTime period, we dump the stack of the thread.
42 Thread thread; field in class:Profile.WatchEntry
52 // This is a watchdog thread which dumps stacks of other threads periodically.
77 public synchronized void addWatchEntry(Thread thread, int cycleTime)
112 Thread thread = entry.thread; local
126 Thread thread = entry.thread; local
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
thread_unittest.cc 33 #include "talk/base/thread.h"
70 Thread* post_thread, MessageHandler* phandler)
95 Thread* post_thread_;
102 MessageClient(Thread* pth, Socket* socket)
118 Thread* thread_;
122 class CustomThread : public talk_base::Thread {
130 // A thread that does nothing when it runs and signals an event
132 class SignalWhenDestroyedThread : public Thread {
150 // Function objects to test Thread::Invoke.
166 // Create the messaging client on its own thread
208 Thread *thread; local
230 Thread *thread; local
274 Thread* thread = new SignalWhenDestroyedThread(event.get()); local
287 Thread thread; local
322 Thread* thread = new ComThread(); local
    [all...]
  /libcore/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/
ThreadsTest.java 54 Thread parkerThread = new Thread(parker);
55 Thread waiterThread =
56 new Thread(new WaitAndUnpark(barrier, 1000, parkerThread));
69 Thread parkerThread = new Thread(parker);
70 Thread waiterThread =
71 new Thread(new WaitAndUnpark(barrier, 300, parkerThread));
80 /** Test the case where the thread is preemptively unparked. */
84 Thread parkerThread = new Thread(parker)
262 private final Thread thread; field in class:ThreadsTest.WaitAndUnpark
    [all...]
  /libcore/libart/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...]
  /libcore/libdvm/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...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDecodeRunnable.java 62 * Sets the Thread that this instance is running on
63 * @param currentThread the current Thread
65 void setImageDecodeThread(Thread currentThread);
109 * Defines this object's task, which is a set of instructions designed to be run on a Thread.
115 * Stores the current Thread in the the PhotoTask instance, so that the instance
116 * can interrupt the Thread.
118 mPhotoTask.setImageDecodeThread(Thread.currentThread());
126 // Defines the Bitmap object that this thread will create
152 // Before continuing, checks to see that the Thread hasn't
154 if (Thread.interrupted())
    [all...]

Completed in 927 milliseconds

1 2 3 4 5 67 8 91011>>