/art/test/1929-exception-catch-exception/src/art/ |
Exceptions.java | 29 public static native void enableExceptionCatchEvent(Thread thr); 30 public static native void enableExceptionEvent(Thread thr); 31 public static native void disableExceptionCatchEvent(Thread thr); 32 public static native void disableExceptionEvent(Thread thr);
|
/external/testng/src/test/java/test/timeout/ |
InvocationTimeOutSampleTest.java | 10 Thread.sleep(250); 12 Thread.currentThread().interrupt(); 19 Thread.sleep(250); 21 Thread.currentThread().interrupt();
|
/external/valgrind/drd/tests/ |
boost_thread.stderr.exp | 2 Thread 1. 3 Thread 2.
|
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
thread.h | 2 * thread.h, thread class 32 class Thread : public RunnableInterface { 34 Thread(); 35 Thread(RunnableInterface *r); 36 ~Thread(); 44 * when the class is derived from Thread class
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
ThreadFactory.java | 39 * An object that creates new threads on demand. Using thread factories 40 * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread}, 41 * enabling applications to use special thread subclasses, priorities, etc. 47 * public Thread newThread(Runnable r) { 48 * return new Thread(r); 53 * useful simple implementation, that sets the created thread context 61 * Constructs a new {@code Thread}. Implementations may also initialize 64 * @param r a runnable to be executed by new thread instanc [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
Interruptible.java | 27 * An object that interrupts a thread blocked in an I/O operation. 34 public void interrupt(Thread t);
|
/external/mockito/src/test/java/org/mockitoutil/ |
ConcurrentTesting.java | 16 * Executes given runnable in thread and waits for completion 19 Thread t = new Thread(r); 29 List<Thread> threads = new LinkedList<Thread>(); 31 Thread t = new Thread(r); 36 for (Thread t : threads) {
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadTest.java | 25 static class MyHandler implements Thread.UncaughtExceptionHandler { 26 public void uncaughtException(Thread t, Throwable e) { 38 Thread current = Thread.currentThread(); 59 // assertEquals(null, Thread.getDefaultUncaughtExceptionHandler()); 62 Thread.UncaughtExceptionHandler defaultHandler 63 = Thread.getDefaultUncaughtExceptionHandler(); 66 Thread.setDefaultUncaughtExceptionHandler(eh); 68 assertSame(eh, Thread.getDefaultUncaughtExceptionHandler()); 70 Thread.setDefaultUncaughtExceptionHandler(defaultHandler) [all...] |
/art/test/129-ThreadGetId/src/ |
Main.java | 25 final Thread[] threads = new Thread[numberOfThreads]; 27 threads[t] = new Thread(new Main()); 30 for (Thread t : threads) { 39 static Thread getHeapTaskDaemon() throws Exception { 46 Thread[] array = new Thread[activeCount]; 48 for (Thread thread : array) { 49 if (thread.getName().equals("HeapTaskDaemon") & 67 Thread thread = pair.getKey(); local [all...] |
/external/compiler-rt/lib/tsan/dd/ |
dd_rtl.h | 27 struct Thread { 35 Thread *thr; 37 Callback(Thread *thr); 58 void ThreadInit(Thread *thr); 59 void ThreadDestroy(Thread *thr); 61 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 63 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 64 void MutexDestroy(Thread *thr, uptr m);
|
/system/extras/memory_replay/ |
Thread.cpp | 20 #include "Thread.h" 22 Thread::Thread() { 26 Thread::~Thread() { 30 void Thread::WaitForReady() { 38 void Thread::WaitForPending() { 46 void Thread::SetPending() { 53 void Thread::ClearPending() { 60 Action* Thread::CreateAction(uintptr_t key_pointer, const char* type, const char* line) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE, 24 Thread.State.BLOCKED, Thread.State.WAITING, 25 Thread.State.TIMED_WAITING, Thread.State.TERMINATED }; 32 assertEquals(exStates[i], Thread.State.valueOf(spNames[i])); 38 Thread.State.valueOf(s); 47 Thread.State [] thStates = Thread.State.values() [all...] |
/external/valgrind/helgrind/tests/ |
tc22_exit_w_lock.stderr.exp | 2 ---Thread-Announcement------------------------------------------ 4 Thread #x was created 11 Thread #x: Exiting thread still holds 2 locks 14 ---Thread-Announcement------------------------------------------ 16 Thread #x was created 23 Thread #x: Exiting thread still holds 1 lock 30 ---Thread-Announcement------------------------------------------ 32 Thread #x is the program's root threa [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
ThreadControllerWrapper.java | 33 public static Thread runThread(Runnable runnable, int priority) 38 public static void waitThread(Thread worker, Runnable task) 45 * Thread controller utility class for incremental SAX source. Must 46 * be overriden with a derived class to support thread pooling. 48 * All thread-related stuff is in this class. 54 * Will get a thread from the pool, execute the task 55 * and return the thread to the pool. 63 * @return The thread that is running the task, can be used 66 public Thread run(Runnable task, int priority) 69 Thread t = new Thread(task) [all...] |
/art/runtime/interpreter/ |
interpreter_mterp_impl.h | 29 class Thread; 34 extern "C" bool ExecuteMterpImpl(Thread* self,
|
/art/test/1923-frame-pop/src/art/ |
FramePop.java | 22 public static native void enableFramePopEvent(Class klass, Method method, Thread thr) 24 public static native void notifyFramePop(Thread target, int depth) throws Exception;
|
/art/test/1924-frame-pop-toggle/src/art/ |
FramePop.java | 22 public static native void enableFramePopEvent(Class klass, Method method, Thread thr) 24 public static native void notifyFramePop(Thread target, int depth) throws Exception;
|
/art/test/1925-self-frame-pop/src/art/ |
FramePop.java | 22 public static native void enableFramePopEvent(Class klass, Method method, Thread thr) 24 public static native void notifyFramePop(Thread target, int depth) throws Exception;
|
/art/test/1926-missed-frame-pop/src/art/ |
FramePop.java | 22 public static native void enableFramePopEvent(Class klass, Method method, Thread thr) 24 public static native void notifyFramePop(Thread target, int depth) throws Exception;
|
/art/test/1936-thread-end-events/src/art/ |
Test1936.java | 22 public static void NotifyThreadEnd(Thread me) { 29 Thread me = Thread.currentThread(); 31 "Thread: %s\n" + 40 private static void setupTracing(Thread target) throws Exception { 50 Test1936.class.getDeclaredMethod("NotifyThreadEnd", Thread.class), 56 Thread t = new Thread(() -> { 58 setupTracing(Thread.currentThread()); 64 }, "test-thread"); [all...] |
/art/test/607-daemon-stress/src/ |
Main.java | 17 public class Main extends Thread { 25 Thread.sleep(1000);
|
/external/compiler-rt/test/tsan/ |
atomic_free3.cc | 6 void *Thread(void *a) { 14 pthread_create(&t, 0, Thread, a); 28 // CHECK: #1 Thread
|
sleep_sync2.cc | 6 void *Thread(void *p) { 16 pthread_create(&t, 0, Thread, 0);
|
stack_race.cc | 4 void *Thread(void *a) { 14 pthread_create(&t, 0, Thread, &Var); 21 // CHECK: Location is stack of main thread.
|
thread_detach.c | 4 void *Thread(void *x) { 12 pthread_create(&t, 0, Thread, 0); 19 // CHECK-NOT: WARNING: ThreadSanitizer: thread leak
|