/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadGroupTest.java | 25 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 …]
|
D | ThreadTest.java | 160 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/ |
D | OldThreadGroupTest.java | 32 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 …]
|
D | ThreadTest.java | 160 ThreadGroup group = new ThreadGroup("1"); in testGetAllStackTracesIncludesAllGroups()
|
D | OldThreadTest.java | 50 ThreadGroup tg = new ThreadGroup("Test Group2"); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_StringL$L()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadGroup.java | 58 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 …]
|
D | Thread.java | 174 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 …]
|
D | UNIXProcess.java | 93 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()
|
D | SecurityManager.java | 129 public void checkAccess(ThreadGroup g) { } in checkAccess() 192 public ThreadGroup getThreadGroup() { in getThreadGroup()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ForkJoinWorkerThread.java | 63 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()
|
D | Executors.java | 518 private final ThreadGroup group;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | SamplingProfiler.java | 221 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/ |
D | KeepAliveStream.java | 179 ThreadGroup grp = Thread.currentThread().getThreadGroup(); in queueForCleanup() 180 ThreadGroup parent = null; in queueForCleanup()
|
D | KeepAliveCache.java | 100 ThreadGroup grp = Thread.currentThread().getThreadGroup(); in put() 101 ThreadGroup parent = null; in put()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadTest.java | 39 ThreadGroup tg = current.getThreadGroup(); in testGetAndSetUncaughtExceptionHandler()
|
D | ExecutorsTest.java | 308 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()
|
D | CompletableFutureTest.java | 553 static final ThreadGroup tg = new ThreadGroup("ThreadExecutor");
|
/libcore/luni/src/test/java/tests/support/ |
D | ThreadPool.java | 22 public class ThreadPool extends ThreadGroup {
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 51 public static boolean allowThreadSuspension(ThreadGroup g, boolean b) { in allowThreadSuspension()
|
/libcore/libart/src/main/java/java/lang/ |
D | Daemons.java | 73 thread = new Thread(ThreadGroup.systemThreadGroup, this, name); in start()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 1544 final ThreadGroup clientGroup = new ThreadGroup("client"); in test_SSLSocket_interrupt_read()
|
/libcore/ |
D | openjdk_java_files.mk | 224 ojluni/src/main/java/java/lang/ThreadGroup.java \
|