Home
last modified time | relevance | path

Searched refs:getThreadGroup (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DSecurityManager.java202 public ThreadGroup getThreadGroup() { in getThreadGroup() method in SecurityManager
203 return Thread.currentThread().getThreadGroup(); in getThreadGroup()
DThread.java505 g = parent.getThreadGroup(); in init()
1239 if((g = getThreadGroup()) != null) { in setPriority()
1321 public final ThreadGroup getThreadGroup() { in getThreadGroup() method in Thread
1351 return currentThread().getThreadGroup().activeCount(); in activeCount()
1381 return currentThread().getThreadGroup().enumerate(tarray); in enumerate()
1596 ThreadGroup group = getThreadGroup(); in toString()
DUNIXProcess.java98 ThreadGroup root = Thread.currentThread().getThreadGroup(); in getRootThreadGroup()
DThreadGroup.java102 this(Thread.currentThread().getThreadGroup(), name); in ThreadGroup()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java308 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testDefaultThreadFactory()
316 ThreadGroup g = current.getThreadGroup(); in testDefaultThreadFactory()
319 assertTrue(g == s.getThreadGroup()); in testDefaultThreadFactory()
345 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testPrivilegedThreadFactory()
354 ThreadGroup g = current.getThreadGroup(); in testPrivilegedThreadFactory()
357 assertTrue(g == s.getThreadGroup()); in testPrivilegedThreadFactory()
DThreadTest.java39 ThreadGroup tg = current.getThreadGroup(); in testGetAndSetUncaughtExceptionHandler()
DCompletableFutureTest.java555 return Thread.currentThread().getThreadGroup() == tg;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java162 assertTrue("Returned incorrect thread group", st.getThreadGroup() == tg); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_Runnable()
181 assertTrue("Constructed incorrect thread", (st.getThreadGroup() == tg) in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
416 assertTrue("Returned incorrect thread group", st.getThreadGroup() == tg); in test_getThreadGroup()
422 assertNull("group should be null", st.getThreadGroup()); in test_getThreadGroup()
445 ThreadGroup group = t.getThreadGroup(); in test_getThreadGroup()
DThreadGroupTest.java31 initialThreadGroup = Thread.currentThread().getThreadGroup(); in setUp()
80 newGroup.getParent() == Thread.currentThread().getThreadGroup()); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java559 group = (s != null) ? s.getThreadGroup() :
560 Thread.currentThread().getThreadGroup();
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadGroupTest.java233 assertEquals(Thread.currentThread().getThreadGroup(), new ThreadGroup("test").getParent()); in test_getParent()
323 initialThreadGroup = new ThreadGroup(Thread.currentThread().getThreadGroup(), "test group"); in setUp()
DOldThreadTest.java53 assertTrue("Constructed incorrect thread", (st.getThreadGroup() == tg) in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_StringL$L()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java101 public final java.lang.ThreadGroup getThreadGroup() { throw new RuntimeException("Stub!"); } in getThreadGroup() method in Thread
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java96 @libcore.util.Nullable public final java.lang.ThreadGroup getThreadGroup() { throw new RuntimeExcep… in getThreadGroup() method in Thread
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java198 public final java.lang.ThreadGroup getThreadGroup() { in getThreadGroup() method in Thread