| /external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
| SDL_ps3video.h | 73 /* SPU thread data */ 76 pthread_t thread; member in struct:spu_data
|
| /external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
| SDL_QuartzVideo.h | 121 SDL_Thread *thread; /* thread for async updates to the screen */ member in struct:SDL_PrivateVideoData 124 BOOL quit_thread; /* used to quit the async blitting thread */ 164 #define thread (this->hidden->thread) macro
|
| /external/qemu/include/qom/ |
| cpu.h | 27 #include "qemu/thread.h" 60 struct QemuThread *thread; member in struct:CPUState 62 uint32_t host_tid; /* host thread ID */ 166 * Checks whether the caller is executing on the vCPU thread. 168 * Returns: %true if called from @cpu's thread, %false otherwise. 176 * Kicks @cpu's thread.
|
| /external/smack/src/org/jivesoftware/smack/packet/ |
| Message.java | 44 * <tr><td><i>thread</i></td> <td>OPTIONAL</td><td>SHOULD</td><td>OPTIONAL</td><td>OPTIONAL</td><td>SHOULD NOT</td></tr> 54 private String thread = null; field in class:Message 350 * Returns the thread id of the message, which is a unique identifier for a sequence 351 * of "chat" messages. If no thread id is set, <tt>null</tt> will be returned. 353 * @return the thread id of the message, or <tt>null</tt> if it doesn't exist. 356 return thread; 360 * Sets the thread id of the message, which is a unique identifier for a sequence 363 * @param thread the thread id of the message. 365 public void setThread(String thread) { [all...] |
| /external/sonivox/jet_tools/JetCreator/ |
| JetAudition.py | 27 import thread
namespace 58 """ Initializes Audition window controls, then spawns off a thread to be ready for playback commands """
168 thread.start_new_thread(self.PlaySegs, ())
295 """ Set a flag to shutdown thread """
300 """ Gets the thread shutdown flag """
443 """ All UI needed from within thread called via postevent otherwise mac crashes """
496 """ When exiting the audition window, shut down jet play thread """
499 #Make sure we shutdown the playing thread, but don't wait forever
|
| JetDialogs.py | 24 import thread
namespace 327 """ Get midi info in thread so UI smoother """
328 thread.start_new_thread(self.UpdateMaxMbtThread, ())
331 """ Thread to get midi file info """
436 self.PlayerThread = thread.start_new_thread(self.Player .Start, ())
452 self.PlayerThread = thread.start_new_thread(self.Player .Start, ())
483 """ All UI needed by thread must be called via Postevent or OS X crashes """
597 """ Updates to UI needed by play thread come through here otherwise OS X crashes """
623 """ Called back from player thread to update the graph """
[all...] |
| /frameworks/av/services/audioflinger/ |
| PatchPanel.cpp | 230 sp<ThreadBase> thread = local 232 newPatch->mPlaybackThread = (MixerThread *)thread.get(); 233 if (thread == 0) { 234 ALOGW("createAudioPatch() cannot get playback thread"); 286 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 288 if (thread == 0) { 294 status = thread->sendCreateAudioPatchConfigEvent(patch, &halHandle); 305 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 307 if (thread == 0) { 329 status = thread->setParameters(param.toString()) 356 sp<ThreadBase> thread = local 588 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 602 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 625 sp<ThreadBase> thread = local [all...] |
| /frameworks/base/core/java/android/content/ |
| AbstractThreadedSyncAdapter.java | 30 * An abstract implementation of a SyncAdapter that spawns a thread to invoke a sync operation. 33 * When a startSync() is received and there is no sync operation in progress then a thread 34 * will be started to run the operation and {@link #onPerformSync} will be invoked on that thread. 35 * If a cancelSync() is received that matches an existing sync operation then the thread 36 * that is running that sync operation will be interrupted, which will indicate to the thread 125 * at the same time, each in their own thread. This must be consistent with the setting 221 * The thread that invokes {@link AbstractThreadedSyncAdapter#onPerformSync}. It also acquires 223 * this thread in order to cancel the sync. 225 private class SyncThread extends Thread { 282 return Thread.currentThread().isInterrupted() [all...] |
| /frameworks/base/libs/hwui/renderthread/ |
| RenderProxy.cpp | 55 CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent, 57 return new CanvasContext(*args->thread, args->translucent, 67 args->thread = &mRenderThread; 94 CREATE_BRIDGE2(setFrameInterval, RenderThread* thread, nsecs_t frameIntervalNanos) { 95 args->thread->timeLord().setFrameInterval(args->frameIntervalNanos); 101 args->thread = &mRenderThread; 207 // the render thread. 211 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { 212 CanvasContext::invokeFunctor(*args->thread, args->functor); 218 RenderThread& thread = RenderThread::getInstance() local 339 RenderThread& thread = RenderThread::getInstance(); local [all...] |
| /frameworks/base/tests/touchlag/ |
| touchlag.cpp | 141 class EventThread : public Thread { 167 EventThread() : Thread(false), 173 sp<EventThread> thread; member in class:TouchEvents 177 thread = new EventThread(); 178 thread->run("EventThread", PRIORITY_URGENT_DISPLAY); 182 *x = thread->x; 183 *y = thread->y; 184 return thread->down;
|
| /frameworks/native/libs/gui/tests/ |
| SurfaceTextureClient_test.cpp | 28 #include <utils/Thread.h> 498 class MyThread : public Thread { 538 MyThread* thread = new MyThread(mST); local 539 sp<Thread> threadBase(thread); 543 thread->run(); 548 thread->bufferDequeued(); 549 thread->requestExitAndWait();
|
| /frameworks/volley/src/com/android/volley/ |
| VolleyLog.java | 76 * calling thread ID and method name. 97 Thread.currentThread().getId(), caller, msg); 101 * A simple event log with records containing a name, thread ID, and timestamp. 111 public final long thread; field in class:VolleyLog.MarkerLog.Marker 114 public Marker(String name, long thread, long time) { 116 this.thread = thread; 150 d("(+%-4d) [%2d] %s", (thisTime - prevTime), marker.thread, marker.name);
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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/luni/src/main/java/java/util/concurrent/ |
| FutureTask.java | 76 /** The thread running the callable; CASed during run() */ 77 private volatile Thread runner; 143 Thread t = runner; 229 null, Thread.currentThread())) 271 null, Thread.currentThread())) 307 Thread.yield(); // wait out pending interrupt 317 // Thread.interrupted(); 326 volatile Thread thread; field in class:FutureTask.WaitNode 328 WaitNode() { thread = Thread.currentThread(); [all...] |
| TimeUnit.java | 298 * Performs a timed {@link Thread#join(long, int) Thread.join} 301 * form required by the {@code Thread.join} method. 303 * @param thread the thread to wait for 308 public void timedJoin(Thread thread, long timeout) 313 thread.join(ms, ns); 318 * Performs a {@link Thread#sleep(long, int) Thread.sleep} usin [all...] |
| /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...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
| run.py | 7 import thread namespace 44 # Thread shared globals: Establish a queue between a subthread (which handles 45 # the socket) and the main thread (which runs user code), plus global 46 # completion, exit and interruptable (the main thread) flags: 82 sockthread = threading.Thread(target=manage_socket, 240 thread.interrupt_main() 245 print>>erf, 'Thread: %s' % threading.currentThread().getName() 252 thread.interrupt_main() 280 "Override SocketIO method - terminate wait on callback and exit thread" 283 thread.interrupt_main( [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
| forking.py | 45 # Check that the current thread is spawning a child process 185 import thread namespace 247 _tls = thread._local()
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
| run.py | 7 import thread namespace 44 # Thread shared globals: Establish a queue between a subthread (which handles 45 # the socket) and the main thread (which runs user code), plus global 46 # completion, exit and interruptable (the main thread) flags: 82 sockthread = threading.Thread(target=manage_socket, 240 thread.interrupt_main() 245 print>>erf, 'Thread: %s' % threading.currentThread().getName() 252 thread.interrupt_main() 280 "Override SocketIO method - terminate wait on callback and exit thread" 283 thread.interrupt_main( [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
| forking.py | 45 # Check that the current thread is spawning a child process 185 import thread namespace 247 _tls = thread._local()
|
| /sdk/emulator/opengl/tests/ut_renderer/ |
| RenderingThread.cpp | 279 return self->thread(); 290 void *RenderingThread::thread() function in class:RenderingThread
|
| /system/core/libutils/ |
| Threads.cpp | 58 * Thread wrappers 69 * Create and run a new thread. 161 pthread_t thread; local 162 int result = pthread_create(&thread, &attr, 176 *threadId = (android_thread_id_t)thread; // XXX: this is not portable 182 static pthread_t android_thread_id_t_to_pthread(android_thread_id_t thread) 184 return (pthread_t) thread; 215 ALOG(LOG_VERBOSE, "thread", "thread exiting\n"); 220 * Create and run a new thread [all...] |
| /system/netd/server/ |
| DnsProxyListener.cpp | 72 pthread_t thread; local 73 pthread_create(&thread, NULL, 75 pthread_detach(thread); 292 pthread_t thread; local 293 pthread_create(&thread, NULL, 295 pthread_detach(thread); 409 pthread_t thread; local 410 pthread_create(&thread, NULL, 412 pthread_detach(thread);
|
| /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
| Camera2VideoFragment.java | 151 * An additional thread for running tasks that shouldn't block the UI. 312 * Starts a background thread and its {@link Handler}. 321 * Stops the background thread and its {@link Handler}. 451 HandlerThread thread = new HandlerThread("CameraPreview"); local 452 thread.start();
|
| /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
| Camera2VideoFragment.java | 151 * An additional thread for running tasks that shouldn't block the UI. 312 * Starts a background thread and its {@link Handler}. 321 * Stops the background thread and its {@link Handler}. 451 HandlerThread thread = new HandlerThread("CameraPreview"); local 452 thread.start();
|