Home
last modified time | relevance | path

Searched refs:ThreadGroup (Results 1 – 22 of 22) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java25 private ThreadGroup rootThreadGroup;
26 private ThreadGroup initialThreadGroup;
56 ThreadGroup initial = initialThreadGroup; in test_ConstructorLjava_lang_String()
58 ThreadGroup newGroup = new ThreadGroup(name); in test_ConstructorLjava_lang_String()
71 ThreadGroup newGroup = null; in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
73 newGroup = new ThreadGroup(null, null); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
78 newGroup = new ThreadGroup(initialThreadGroup, null); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
85 newGroup = new ThreadGroup(rootThreadGroup, "a name here"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
93 newGroup = new ThreadGroup(newGroup, "a name here"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
102 ThreadGroup tg = new ThreadGroup("activeCount"); in test_activeCount()
[all …]
DThreadTest.java160 ThreadGroup tg = new ThreadGroup("Test Group1"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_Runnable()
178 ThreadGroup tg = new ThreadGroup("Test Group2"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
194 ThreadGroup foo = null; in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
196 new Thread(foo = new ThreadGroup("foo"), r, null); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
241 ThreadGroup tg = new ThreadGroup("Test Group3"); in test_checkAccess()
292 MyThread(ThreadGroup tg, String name) { in test_enumerate$Ljava_lang_Thread()
302 ThreadGroup mytg = null; in test_enumerate$Ljava_lang_Thread()
310 mytg = new ThreadGroup("jp"); in test_enumerate$Ljava_lang_Thread()
357 ThreadGroup tg = new ThreadGroup("tg"); in test_enumerate$Ljava_lang_Thread()
413 ThreadGroup tg = new ThreadGroup("Test Group4"); in test_getThreadGroup()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadGroupTest.java32 public MyThread(ThreadGroup group, String name) in MyThread()
69 private ThreadGroup initialThreadGroup = null;
72 ThreadGroup tg = new ThreadGroup("group count"); in test_activeGroupCount()
85 new ThreadGroup(tg, "test group 1"); in test_activeGroupCount()
88 new ThreadGroup(tg, "test group 2"); in test_activeGroupCount()
95 ThreadGroup tg = new ThreadGroup("thread suspension"); in test_allowThreadSuspensionZ()
134 ThreadGroup group = new ThreadGroup(initialThreadGroup, "enumerateThreadArray"); in test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ()
166 ThreadGroup childGroup = new ThreadGroup(initialThreadGroup, "child group"); in test_enumerateLThreadGroupArray()
170 ThreadGroup[] listOfGroups = new ThreadGroup[numChildGroupsAfter]; in test_enumerateLThreadGroupArray()
176 ThreadGroup[] listOfGroups1 = new ThreadGroup[numChildGroupsAfter + 1]; in test_enumerateLThreadGroupArray()
[all …]
DThreadTest.java160 ThreadGroup group = new ThreadGroup("1"); in testGetAllStackTracesIncludesAllGroups()
DOldThreadTest.java50 ThreadGroup tg = new ThreadGroup("Test Group2"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_StringL$L()
/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java58 class ThreadGroup implements Thread.UncaughtExceptionHandler { class
60 static final ThreadGroup systemThreadGroup = new ThreadGroup();
62 static final ThreadGroup mainThreadGroup = new ThreadGroup(systemThreadGroup, "main");
64 private final ThreadGroup parent;
76 ThreadGroup groups[];
82 private ThreadGroup() { // called from C code in ThreadGroup() method in ThreadGroup
101 public ThreadGroup(String name) { in ThreadGroup() method in ThreadGroup
122 public ThreadGroup(ThreadGroup parent, String name) { in ThreadGroup() method in ThreadGroup
126 private ThreadGroup(Void unused, ThreadGroup parent, String name) { in ThreadGroup() method in ThreadGroup
140 private static Void checkParentAccess(ThreadGroup parent) { in checkParentAccess()
[all …]
DThread.java174 private ThreadGroup group;
397 private void init(ThreadGroup g, Runnable target, String name, long stackSize) { in init()
480 public Thread(ThreadGroup group, Runnable target) { in Thread()
516 public Thread(ThreadGroup group, String name) { in Thread()
523 Thread(ThreadGroup group, String name, int priority, boolean daemon) { in Thread()
611 public Thread(ThreadGroup group, Runnable target, String name) { in Thread()
689 public Thread(ThreadGroup group, Runnable target, String name, in Thread()
1111 ThreadGroup g; in setPriority()
1184 public final ThreadGroup getThreadGroup() { in getThreadGroup()
1437 ThreadGroup group = getThreadGroup(); in toString()
[all …]
DUNIXProcess.java93 private final static ThreadGroup group = getRootThreadGroup();
95 private static ThreadGroup getRootThreadGroup() { in getRootThreadGroup()
96 return doPrivileged(new PrivilegedAction<ThreadGroup> () { in getRootThreadGroup()
97 public ThreadGroup run() { in getRootThreadGroup()
98 ThreadGroup root = Thread.currentThread().getThreadGroup(); in getRootThreadGroup()
DSecurityManager.java129 public void checkAccess(ThreadGroup g) { } in checkAccess()
192 public ThreadGroup getThreadGroup() { in getThreadGroup()
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java63 ForkJoinWorkerThread(ForkJoinPool pool, ThreadGroup threadGroup, in ForkJoinWorkerThread()
183 private static final ThreadGroup innocuousThreadGroup =
220 private static ThreadGroup createThreadGroup() { in createThreadGroup()
226 (ThreadGroup.class.getDeclaredField("parent")); in createThreadGroup()
227 ThreadGroup group = (ThreadGroup) in createThreadGroup()
230 ThreadGroup parent = (ThreadGroup)u.getObject(group, gp); in createThreadGroup()
232 return new ThreadGroup(group, in createThreadGroup()
DExecutors.java518 private final ThreadGroup group;
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DSamplingProfiler.java221 public static ThreadSet newThreadGroupThreadSet(ThreadGroup threadGroup) { in newThreadGroupThreadSet()
230 private final ThreadGroup threadGroup;
234 public ThreadGroupThreadSet(ThreadGroup threadGroup) { in ThreadGroupThreadSet()
464 ThreadGroup group = thread.getThreadGroup(); in addStartThread()
466 ThreadGroup parentGroup = group == null ? null : group.getParent(); in addStartThread()
/libcore/ojluni/src/main/java/sun/net/www/http/
DKeepAliveStream.java179 ThreadGroup grp = Thread.currentThread().getThreadGroup(); in queueForCleanup()
180 ThreadGroup parent = null; in queueForCleanup()
DKeepAliveCache.java100 ThreadGroup grp = Thread.currentThread().getThreadGroup(); in put()
101 ThreadGroup parent = null; in put()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadTest.java39 ThreadGroup tg = current.getThreadGroup(); in testGetAndSetUncaughtExceptionHandler()
DExecutorsTest.java308 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testDefaultThreadFactory()
316 ThreadGroup g = current.getThreadGroup(); in testDefaultThreadFactory()
345 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testPrivilegedThreadFactory()
354 ThreadGroup g = current.getThreadGroup(); in testPrivilegedThreadFactory()
DCompletableFutureTest.java553 static final ThreadGroup tg = new ThreadGroup("ThreadExecutor");
/libcore/luni/src/test/java/tests/support/
DThreadPool.java22 public class ThreadPool extends ThreadGroup {
/libcore/ojluni/src/main/java/sun/misc/
DVM.java51 public static boolean allowThreadSuspension(ThreadGroup g, boolean b) { in allowThreadSuspension()
/libcore/libart/src/main/java/java/lang/
DDaemons.java73 thread = new Thread(ThreadGroup.systemThreadGroup, this, name); in start()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java1544 final ThreadGroup clientGroup = new ThreadGroup("client"); in test_SSLSocket_interrupt_read()
/libcore/
Dopenjdk_java_files.mk224 ojluni/src/main/java/java/lang/ThreadGroup.java \