Lines Matching refs:Thread
25 import java.lang.Thread.UncaughtExceptionHandler;
44 @Override public void uncaughtException(Thread t, Throwable e) {
58 Thread thread = threadFactory.newThread(monitoredRunnable);
61 Thread defaultThread =
76 Thread thread2 = threadFactory.newThread(monitoredRunnable);
84 Thread thread3 = threadFactory2.newThread(monitoredRunnable);
92 private static void checkThreadPoolName(Thread thread, int threadId) {
107 Thread thread = factory.newThread(monitoredRunnable);
113 Thread thread = factory.newThread(monitoredRunnable);
118 for (int i = Thread.MIN_PRIORITY; i <= Thread.MAX_PRIORITY; i++) {
120 Thread thread = factory.newThread(monitoredRunnable);
127 builder.setPriority(Thread.MIN_PRIORITY - 1);
135 builder.setPriority(Thread.MAX_PRIORITY + 1);
174 @Override public Thread newThread(Runnable r) {
175 Thread thread = new Thread(r);
184 Thread thread = builder.setThreadFactory(backingThreadFactory).build()
192 assertSame(Thread.State.NEW, thread.getState());