Searched refs:activeCount (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/test/java/tests/support/
H A DThreadPool.java79 Thread[] threads = new Thread[activeCount()];
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadGroupTest.java116 int numThreads = initialThreadGroup.activeCount();
127 int initialThreadCount = initialThreadGroup.activeCount();
143 int afterStartCount = initialThreadGroup.activeCount();
157 int afterDeathCount = initialThreadGroup.activeCount();
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java1208 public static int activeCount() { method in class:Thread
1209 return currentThread().getThreadGroup().activeCount();
1218 * <p> An application might use the {@linkplain #activeCount activeCount}
1610 int count = ThreadGroup.systemThreadGroup.activeCount();
H A DThreadGroup.java347 public int activeCount() { method in class:ThreadGroup
366 result += groupsSnapshot[i].activeCount();
406 * <p> An application might use the {@linkplain #activeCount activeCount}
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadGroupTest.java100 // Test for method int java.lang.ThreadGroup.activeCount()
102 ThreadGroup tg = new ThreadGroup("activeCount");
111 int count = tg.activeCount();
114 count = tg.activeCount();
137 assertEquals("Destroyed child can't have children", 0, child.activeCount());
742 if (aGroup.activeCount() == 0) {
H A DThreadTest.java219 * java.lang.Thread#activeCount()
222 // Test for method int java.lang.Thread.activeCount()
227 active = Thread.activeCount();
229 assertTrue("Incorrect activeCount for current group: " + active, active > 1);
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DSamplingProfiler.java243 int count = threadGroup.activeCount();

Completed in 144 milliseconds