Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadTest.java29 ThreadGroup tg = current.getThreadGroup(); in testGetAndSetUncaughtExceptionHandler()
52 ThreadGroup tg = current.getThreadGroup(); in testGetAndSetDefaultUncaughtExceptionHandler()
DExecutorsTest.java286 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testDefaultThreadFactory()
294 ThreadGroup g = current.getThreadGroup(); in testDefaultThreadFactory()
297 assertTrue(g == s.getThreadGroup()); in testDefaultThreadFactory()
329 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testPrivilegedThreadFactory()
337 ThreadGroup g = current.getThreadGroup(); in testPrivilegedThreadFactory()
340 assertTrue(g == s.getThreadGroup()); in testPrivilegedThreadFactory()
/libcore/luni/src/main/java/java/lang/
DSecurityManager.java143 public ThreadGroup getThreadGroup() { in getThreadGroup() method in SecurityManager
144 return Thread.currentThread().getThreadGroup(); in getThreadGroup()
/libcore/libart/src/main/java/java/lang/
DThread.java405 group = currentThread.getThreadGroup(); in create()
447 return currentThread().getThreadGroup().activeCount(); in activeCount()
505 return thread.getThreadGroup().enumerate(threads); in enumerate()
601 public final ThreadGroup getThreadGroup() { in getThreadGroup() method in Thread
DThreadGroup.java79 this(Thread.currentThread().getThreadGroup(), name); in ThreadGroup()
/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()
180 assertTrue("Constructed incorrect thread", (st.getThreadGroup() == tg) in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
415 assertTrue("Returned incorrect thread group", st.getThreadGroup() == tg); in test_getThreadGroup()
421 assertNull("group should be null", st.getThreadGroup()); in test_getThreadGroup()
444 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/luni/src/main/java/java/util/concurrent/
DExecutors.java517 group = (s != null) ? s.getThreadGroup() :
518 Thread.currentThread().getThreadGroup();
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DSamplingProfiler.java464 ThreadGroup group = thread.getThreadGroup(); in addStartThread()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java52 assertTrue("Constructed incorrect thread", (st.getThreadGroup() == tg) in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_StringL$L()
DOldThreadGroupTest.java327 initialThreadGroup = Thread.currentThread().getThreadGroup(); in setUp()