| /external/mesa3d/src/util/ |
| u_thread.h | 42 thrd_t thread; local 49 ret = thrd_create( &thread, routine, param ); 53 ret = thrd_create( &thread, routine, param ); 58 return thread; 74 * Thread statistics. 77 /* Return the time of a thread's CPU time clock. */ 79 u_thread_get_time_nano(thrd_t thread) 85 pthread_getcpuclockid(thread, &cid); 93 static inline bool u_thread_is_self(thrd_t thread) 98 return pthread_equal(pthread_self(), thread); [all...] |
| /external/oj-libjdwp/src/share/back/ |
| StackFrameImpl.c | 34 validateThreadFrame(jthread thread, FrameID frame) 39 error = threadControl_suspendCount(thread, &count); 42 serror = validateFrameID(thread, frame); 53 writeVariableValue(JNIEnv *env, PacketOutputStream *out, jthread thread, 64 (gdata->jvmti, thread, fnum, slot, &value.l); 84 (gdata->jvmti, thread, fnum, slot, &intValue); 92 (gdata->jvmti, thread, fnum, slot, &intValue); 99 (gdata->jvmti, thread, fnum, slot, &value.f); 105 (gdata->jvmti, thread, fnum, slot, &value.d); 111 (gdata->jvmti, thread, fnum, slot, &value.i) 223 jthread thread; local 281 jthread thread; local 342 jthread thread; local 424 jthread thread; local [all...] |
| /external/python/cpython2/Lib/test/ |
| test_capi.py | 12 import thread 15 thread = None variable 31 #this function can be interrupted by thread switching so let's 50 #main thread 64 #do every callback on a separate thread 70 context.n = 2 #submits per thread 76 threads = [threading.Thread(target=self.pendingcalls_thread, 95 #again, just using the main thread, likely they will all be dispatched at 119 @unittest.skipUnless(threading and thread, 'Threading required for this test.') 124 # some extra thread-state tests driven via _testcap [all...] |
| /external/strace/tests/ |
| threads-execve.c | 2 * Check decoding of threads when a non-leader thread invokes execve. 117 thread(void *arg) function 209 errno = pthread_create(&t, NULL, thread, av);
|
| /external/strace/tests-m32/ |
| threads-execve.c | 2 * Check decoding of threads when a non-leader thread invokes execve. 117 thread(void *arg) function 209 errno = pthread_create(&t, NULL, thread, av);
|
| /external/strace/tests-mx32/ |
| threads-execve.c | 2 * Check decoding of threads when a non-leader thread invokes execve. 117 thread(void *arg) function 209 errno = pthread_create(&t, NULL, thread, av);
|
| /external/tensorflow/tensorflow/c/ |
| env_test.cc | 122 TF_Thread* thread = local 124 TF_JoinThread(thread);
|
| /external/tensorflow/tensorflow/core/lib/core/ |
| threadpool_test.cc | 27 namespace thread { namespace in namespace:tensorflow 171 // Store true for the current thread, and assert that another thread 274 } // namespace thread
|
| /external/testng/src/test/java/test/thread/ |
| MultiThreadedDependentSampleTest.java | 1 package test.thread; 125 long id = Thread.currentThread().getId();
|
| MultiThreadedDependentTest.java | 1 package test.thread;
|
| ParallelSuiteTest.java | 1 package test.thread; 58 "Thread count expected:" + expectedThreadCount
|
| SequentialTest.java | 1 package test.thread;
92 ppp("COUNT:" + threadCount + " THREAD ID'S:" + ids[0] + " " + ids[1] + " " + ids[2]);
|
| /external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
| ThreadUtils.java | 39 * Utility class to be used for checking that a method is called on the correct thread. 42 private Thread thread = Thread.currentThread(); field in class:ThreadUtils.ThreadChecker 45 if (thread == null) { 46 thread = Thread.currentThread(); 48 if (Thread.currentThread() != thread) { 49 throw new IllegalStateException("Wrong thread"); [all...] |
| /external/webrtc/webrtc/common_video/ |
| incoming_video_stream.cc | 163 rtc::PlatformThread* thread = NULL; local 167 // Setting the incoming render thread to NULL marks that we're performing 169 thread = incoming_render_thread_.release(); 171 // Set the event to allow the thread to wake up and shut down without 176 if (thread) { 177 thread->Stop(); 178 delete thread;
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
| NativeAudioThread.java | 33 * A thread/audio track based audio synth. 35 public class NativeAudioThread extends Thread { 99 setPriority(Thread.MAX_PRIORITY); 209 //start thread 213 Thread thread = new Thread(new Runnable() { local 224 thread.start(); 278 } //end thread.
|
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| RenderTarget.java | 61 HandlerThread thread = new HandlerThread("RenderTarget-GL"); external variable declarations 62 thread.start(); 63 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
|
| /cts/tests/tests/security/src/android/security/cts/ |
| RenderTarget.java | 64 HandlerThread thread = new HandlerThread("RenderTarget-GL"); external variable declarations 65 thread.start(); 66 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
|
| /cts/tests/tests/view/src/android/view/cts/ |
| FrameMetricsListenerTest.java | 153 final HandlerThread thread = new HandlerThread("Listener"); local 154 thread.start(); 164 new Handler(thread.getLooper())));
|
| /development/samples/ApiDemos/src/com/example/android/apis/app/ |
| ServiceStartArguments.java | 52 * work of creating the extra thread and dispatching commands to it. 113 // Start up the thread running the service. Note that we create a 114 // separate thread because the service normally runs in the process's 115 // main thread, which we don't want to block. We also make it 117 HandlerThread thread = new HandlerThread("ServiceStartArguments", local 119 thread.start(); 121 mServiceLooper = thread.getLooper();
|
| /development/samples/ToyVpn/src/com/example/android/toyvpn/ |
| ToyVpnService.java | 47 private static class Connection extends Pair<Thread, ParcelFileDescriptor> { 48 public Connection(Thread thread, ParcelFileDescriptor pfd) { 49 super(thread, pfd); 53 private final AtomicReference<Thread> mConnectingThread = new AtomicReference<>(); 119 // Replace any existing connecting thread with the new one. 120 final Thread thread = new Thread(connection, "ToyVpnThread"); local 121 setConnectingThread(thread); [all...] |
| /development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
| MissileLauncherActivity.java | 139 Thread thread = new Thread(this); local 140 thread.start(); 238 Thread.sleep(100);
|
| /development/samples/training/threadsample/src/com/example/android/threadsample/ |
| PhotoManager.java | 49 * thread to change the bitmap to reflect the state. 65 // Sets the amount of time an idle thread will wait for a task before terminating 106 // An object that manages Messages in a Thread 122 * Constructs the work queues and thread pools used to download and decode images. 127 * Creates a work queue for the pool of Thread objects used for downloading, using a linked 133 * Creates a work queue for the pool of Thread objects used for decoding, using a linked 145 * Creates a new pool of Thread objects for the download work queue 151 * Creates a new pool of Thread objects for the decoding work queue 171 * handleMessage() method. The Handler *must* run on the UI thread, because it moves photo 173 * To force the Handler to run on the UI thread, it's defined as part of the PhotoManage 335 Thread thread = taskArray[taskArrayIndex].mThreadThis; local 362 Thread thread = downloaderTask.getCurrentThread(); local [all...] |
| /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
| SoundLevelCalibration.java | 40 // used to run the callback on the UI thread 89 mNativeAudioThread = new NativeAudioThread(mNativeAudioThread); // generate fresh thread 104 private double runAudioThread(NativeAudioThread thread) { 105 // runs the native audio thread and returns the average amplitude 106 thread.start(); 108 thread.join(); 112 double[] data = thread.getWaveData();
|
| /external/ims/rcs/rcsservice/src/com/android/service/ims/ |
| RcsService.java | 294 Thread thread = new Thread(new Runnable() { local 306 }, "onMobileDataEnabled thread"); 308 thread.start();
|
| /external/mockito/src/main/java/org/mockito/internal/util/concurrent/ |
| WeakConcurrentMap.java | 19 * A thread-safe map with weak keys. Entries are based on a key's system hash code and keys are considered 31 private final Thread thread; field in class:WeakConcurrentMap 34 * @param cleanerThread {@code true} if a thread should be started that removes stale entries. 39 thread = new Thread(this); 40 thread.setName("weak-ref-cleaner-" + ID.getAndIncrement()); 41 thread.setPriority(Thread.MIN_PRIORITY); 42 thread.setDaemon(true) [all...] |