Home
last modified time | relevance | path

Searched refs:ThreadGroup (Results 1 – 25 of 25) 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()
179 ThreadGroup tg = new ThreadGroup("Test Group2"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
195 ThreadGroup foo = null; in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
197 new Thread(foo = new ThreadGroup("foo"), r, null); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
242 ThreadGroup tg = new ThreadGroup("Test Group3"); in test_checkAccess()
293 MyThread(ThreadGroup tg, String name) { in test_enumerate$Ljava_lang_Thread()
303 ThreadGroup mytg = null; in test_enumerate$Ljava_lang_Thread()
311 mytg = new ThreadGroup("jp"); in test_enumerate$Ljava_lang_Thread()
358 ThreadGroup tg = new ThreadGroup("tg"); in test_enumerate$Ljava_lang_Thread()
414 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;
75 ThreadGroup tg = new ThreadGroup("group count"); in test_activeGroupCount()
88 new ThreadGroup(tg, "test group 1"); in test_activeGroupCount()
91 new ThreadGroup(tg, "test group 2"); in test_activeGroupCount()
98 ThreadGroup tg = new ThreadGroup("thread suspension"); in test_allowThreadSuspensionZ()
124 ThreadGroup group = new ThreadGroup(initialThreadGroup, "enumerateThreadArray"); in test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ()
156 ThreadGroup childGroup = new ThreadGroup(initialThreadGroup, "child group"); in test_enumerateLThreadGroupArray()
160 ThreadGroup[] listOfGroups = new ThreadGroup[numChildGroupsAfter]; in test_enumerateLThreadGroupArray()
166 ThreadGroup[] listOfGroups1 = new ThreadGroup[numChildGroupsAfter + 1]; in test_enumerateLThreadGroupArray()
[all …]
DThreadTest.java208 ThreadGroup group = new ThreadGroup("1"); in testGetAllStackTracesIncludesAllGroups()
DOldThreadTest.java51 ThreadGroup tg = new ThreadGroup("Test Group2"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_StringL$L()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThreadGroup.java32 public class ThreadGroup implements java.lang.Thread.UncaughtExceptionHandler { class
34 private ThreadGroup() { in ThreadGroup() method in ThreadGroup
38 public ThreadGroup(java.lang.String name) { in ThreadGroup() method in ThreadGroup
42 public ThreadGroup(java.lang.ThreadGroup parent, java.lang.String name) { in ThreadGroup() method in ThreadGroup
46 private ThreadGroup( in ThreadGroup() method in ThreadGroup
47 java.lang.Void unused, java.lang.ThreadGroup parent, java.lang.String name) { in ThreadGroup()
51 private static java.lang.Void checkParentAccess(java.lang.ThreadGroup parent) { in checkParentAccess()
59 public final java.lang.ThreadGroup getParent() { in getParent()
83 public final boolean parentOf(java.lang.ThreadGroup g) { in parentOf()
111 public int enumerate(java.lang.ThreadGroup[] list) { in enumerate()
[all …]
DThread.java46 public Thread(java.lang.ThreadGroup group, java.lang.Runnable target) { in Thread()
54 public Thread(java.lang.ThreadGroup group, java.lang.String name) { in Thread()
59 Thread(java.lang.ThreadGroup group, java.lang.String name, int priority, boolean daemon) { in Thread()
67 public Thread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name) { in Thread()
72 java.lang.ThreadGroup group, in Thread()
107 java.lang.ThreadGroup g, in init()
115 java.lang.ThreadGroup g, in init()
198 public final java.lang.ThreadGroup getThreadGroup() { in getThreadGroup()
382 private java.lang.ThreadGroup group;
DUNIXProcess.java162 private static java.lang.ThreadGroup getRootThreadGroup() { in getRootThreadGroup()
170 private static final java.lang.ThreadGroup group;
/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.java185 private ThreadGroup group;
462 private void init(ThreadGroup g, Runnable target, String name, in init()
478 private void init(ThreadGroup g, Runnable target, String name, in init()
625 public Thread(ThreadGroup group, Runnable target) { in Thread()
661 public Thread(ThreadGroup group, String name) { in Thread()
667 Thread(ThreadGroup group, String name, int priority, boolean daemon) { in Thread()
756 public Thread(ThreadGroup group, Runnable target, String name) { in Thread()
834 public Thread(ThreadGroup group, Runnable target, String name, in Thread()
1229 ThreadGroup g; in setPriority()
1306 public final ThreadGroup getThreadGroup() { in getThreadGroup()
[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.java139 public void checkAccess(ThreadGroup g) { } in checkAccess()
202 public ThreadGroup getThreadGroup() { in getThreadGroup()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java92 ForkJoinWorkerThread(ForkJoinPool pool, ThreadGroup threadGroup, in ForkJoinWorkerThread()
212 private static final ThreadGroup innocuousThreadGroup =
249 private static ThreadGroup createThreadGroup() { in createThreadGroup()
255 (ThreadGroup.class.getDeclaredField("parent")); in createThreadGroup()
256 ThreadGroup group = (ThreadGroup) in createThreadGroup()
259 ThreadGroup parent = (ThreadGroup)u.getObject(group, gp); in createThreadGroup()
261 return new ThreadGroup(group, in createThreadGroup()
DExecutors.java553 private final ThreadGroup group;
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java44 public Thread(java.lang.ThreadGroup group, java.lang.Runnable target) { throw new RuntimeException(… in Thread()
48 public Thread(java.lang.ThreadGroup group, java.lang.String name) { throw new RuntimeException("Stu… in Thread()
52 public Thread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name) { thro… in Thread()
54 public Thread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name, long s… in Thread()
101 public final java.lang.ThreadGroup getThreadGroup() { throw new RuntimeException("Stub!"); } in getThreadGroup()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java44 public Thread(@libcore.util.Nullable java.lang.ThreadGroup group, @libcore.util.Nullable java.lang.… in Thread()
48 public Thread(@libcore.util.Nullable java.lang.ThreadGroup group, @libcore.util.NonNull java.lang.S… in Thread()
52 public Thread(@libcore.util.Nullable java.lang.ThreadGroup group, @libcore.util.Nullable java.lang.… in Thread()
54 public Thread(@libcore.util.Nullable java.lang.ThreadGroup group, @libcore.util.Nullable java.lang.… in Thread()
96 @libcore.util.Nullable public final java.lang.ThreadGroup getThreadGroup() { throw new RuntimeExcep… in getThreadGroup()
/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/annotations/hiddenapi/sun/misc/
DVM.java40 public static boolean allowThreadSuspension(java.lang.ThreadGroup g, boolean b) { in allowThreadSuspension()
/libcore/ojluni/src/main/java/sun/misc/
DVM.java52 public static boolean allowThreadSuspension(ThreadGroup g, boolean b) { in allowThreadSuspension()
/libcore/libart/src/main/java/java/lang/
DDaemons.java120 thread = new Thread(ThreadGroup.systemThreadGroup, this, name); in startInternal()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java160 private final java.lang.ThreadGroup group;
/libcore/
Dopenjdk_java_files.bp232 "ojluni/src/main/java/java/lang/ThreadGroup.java",