| /system/nfc/src/adaptation/ |
| NfcAdaptation.cc | 317 GKI_create_task((TASKPTR)Thread, MMI_TASK, (int8_t*)"NFCA_THREAD", 0, 0, 375 ** Description: signal the CondVar to release the thread that is waiting 401 ** Function: NfcAdaptation::Thread() 408 uint32_t NfcAdaptation::Thread(__attribute__((unused)) uint32_t arg) { 409 const char* func = "NfcAdaptation::Thread";
|
| /test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
| ProcessHelper.java | 57 * A thread that keeps reading string from an input stream. 59 static class ReaderThread extends Thread { 74 * @param name the name of the thread. 129 private Thread mExecutionThread = null; 140 mExecutionThread = Thread.currentThread(); 164 CLog.i("Attempt to interrupt execution thread."); 171 CLog.i("Execution thread has not started."); 174 CLog.i("Execution thread has been cancelled."); 180 * @return the thread of {@link #run()}; null if the thread has not started [all...] |
| /art/test/989-method-trace-throw/src/art/ |
| Test989.java | 59 Trace.disableTracing(Thread.currentThread()); 161 Trace.disableTracing(Thread.currentThread()); 178 Thread.currentThread()); 182 Trace.disableTracing(Thread.currentThread()); 277 Trace.disableTracing(Thread.currentThread());
|
| /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
| GlesStubActivity.java | 83 new Thread() {
|
| /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
| AccessibilityTextActionTest.java | 305 // Make the extra data request in another thread 307 new Thread() { 355 // Make the extra data request in another thread 357 new Thread() {
|
| /cts/tests/tests/media/src/android/media/cts/ |
| MediaDrmMockTest.java | 34 import java.lang.Thread; 650 new Thread() { 656 // Save the looper so that we can terminate this thread 719 new Thread() { 725 // Save the looper so that we can terminate this thread 796 new Thread() { 802 // Save the looper so that we can terminate this thread 869 new Thread() { 875 // Save the looper so that we can terminate this thread [all...] |
| /development/samples/Vault/src/com/example/android/vault/ |
| VaultProvider.java | 520 * Kick off a thread to handle a read request for the given document. 529 new Thread() { 550 * Kick off a thread to handle a write request for the given document. 559 new Thread() {
|
| /external/compiler-rt/test/tsan/ |
| deadlock_detector_stress_test.cc | 163 // CHECK-SECOND: Mutex [[M1]] previously acquired by the same thread here: 169 // CHECK-SECOND: Mutex [[M2]] previously acquired by the same thread here: 231 // CHECK: Mutex [[M2]] acquired here while holding mutex [[M1]] in thread [[T1:T[0-9]+]] 232 // CHECK: Mutex [[M1]] acquired here while holding mutex [[M2]] in thread [[T2:T[0-9]+]] 233 // CHECK: Thread [[T1]] {{.*}} created by main thread 234 // CHECK: Thread [[T2]] {{.*}} created by main thread 440 // CHECK-SECOND: previously acquired by the same thread here 446 // CHECK-SECOND: previously acquired by the same thread her [all...] |
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ComputingConcurrentHashMapTest.java | 268 new Thread() {
|
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| FuturesTest.java | 104 Thread.interrupted(); [all...] |
| /external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
| MockWebServerTest.java | 121 new Thread() { 124 Thread.sleep(1000);
|
| /external/python/cpython2/Lib/ |
| threading.py | 0 """Thread module emulating a subset of Java's threading model.""" 6 import thread 32 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 35 _start_new_thread = thread.start_new_thread 36 _allocate_lock = thread.allocate_lock 37 _get_ident = thread.get_ident 38 ThreadError = thread.error 39 del thread 73 name = "<OS thread %d>" % ident 93 The func will be passed to sys.setprofile() for each thread, before it [all...] |
| /external/python/cpython3/Lib/ |
| threading.py | 0 """Thread module emulating a subset of Java's threading model.""" 27 'Event', 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 53 The func will be passed to sys.setprofile() for each thread, before its 63 The func will be passed to sys.settrace() for each thread, before its run() 77 A reentrant lock must be released by the thread that acquired it. Once a 78 thread has acquired a reentrant lock, the same thread may acquire it again 79 without blocking; the thread must release it once for each time it has 90 A reentrant lock must be released by the thread that acquired it. Once a 91 thread has acquired a reentrant lock, the same thread may acquire i [all...] |
| /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
| ShadowActivity.java | 153 Thread.dumpStack();
|
| /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
| ParallelUniverse.java | 74 RuntimeEnvironment.setMainThread(Thread.currentThread()); 106 // Looper needs to be prepared before the activity thread is created 321 public Thread getMainThread() { 326 public void setMainThread(Thread newMainThread) {
|
| /external/tensorflow/tensorflow/core/platform/ |
| env.cc | 376 Thread::~Thread() {}
|
| /frameworks/base/core/java/android/os/ |
| ZygoteProcess.java | 190 * <p>If processes are not enabled, a new thread in the caller's 564 Preconditions.checkState(Thread.holdsLock(mLock), "ZygoteProcess lock not held"); 676 Thread.sleep(1000);
|
| /frameworks/base/core/java/com/android/internal/os/ |
| RuntimeInit.java | 66 * Logs a message when a thread encounters an uncaught exception. By 70 private static class LoggingHandler implements Thread.UncaughtExceptionHandler { 74 public void uncaughtException(Thread t, Throwable e) { 108 private static class KillApplicationHandler implements Thread.UncaughtExceptionHandler { 113 * If {@link #uncaughtException(Thread, Throwable) uncaughtException} is called 115 * {@link LoggingHandler#uncaughtException(Thread, Throwable) 119 * this instance's {@link #uncaughtException(Thread, Throwable) uncaughtException} 127 public void uncaughtException(Thread t, Throwable e) { 167 * {@code thread.getUncaughtExceptionHandler().uncaughtException(thread, e); [all...] |
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
| MediaVisualizerTest.java | 268 Thread.sleep(500); 378 Thread.sleep(500); 475 Thread.sleep(500); 487 Thread.sleep(500); 571 new Thread() { 577 // Save the looper so that we can terminate this thread 621 * Terminates the listener looper thread.
|
| /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
| TestDocumentsProvider.java | 259 new Thread(task).start(); 262 new Thread() { 373 final Thread blocked = Thread.currentThread(); 384 Thread.sleep(timeoutMillis);
|
| /frameworks/base/tests/net/java/com/android/server/connectivity/ |
| IpConnectivityMetricsTest.java | 121 new Thread() {
|
| /libcore/jsr166-tests/src/test/java/jsr166/ |
| JSR166TestCase.java | 85 * them. These methods are used to clear and check for thread 92 * small amounts of computation (creating a thread, calling a few 247 Thread thread = new Thread(checkForWedgedTest, "checkForWedgedTest"); external variable declarations 248 thread.setDaemon(true); 249 thread.start(); 622 * harness thread, triggering a test case failure. Only the first 646 * Triggers test case failure if any thread assertions have failed, 647 * by rethrowing, in the test harness thread, any exception recorde 682 Thread thread = survivors[i]; local [all...] |
| /libcore/luni/src/test/java/libcore/java/util/concurrent/ |
| CopyOnWriteArrayListTest.java | 186 Thread.yield(); 196 Thread.yield();
|
| /libcore/ojluni/src/main/java/java/util/concurrent/ |
| PriorityBlockingQueue.java | 309 if (newArray == null) // back off if another thread is allocating 310 Thread.yield(); [all...] |
| ThreadLocalRandom.java | 52 * A random number generator isolated to the current thread. Like the 61 * in parallel in thread pools. 86 * number state held in class Thread (primarily, field 91 * field to also use it as a "probe" -- a self-adjusting thread 106 * Because this class is in a different package than class Thread, 151 * Initialize Thread fields for the current thread. Called only 152 * when Thread.threadLocalRandomProbe is zero, indicating that a 153 * thread local seed value needs to be generated. Note that even 154 * though the initialization is purely thread-local, we need t [all...] |