Home
last modified time | relevance | path

Searched refs:threadCount (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DObjectTest.java118 final int threadCount = 20; in test_notify() local
119 for (int i = 0; i < threadCount; ++i) { in test_notify()
129 if (ready == threadCount) { in test_notify()
136 + ready + ")", ready == threadCount); in test_notify()
140 for (int i = 1; i <= threadCount; ++i) { in test_notify()
187 final int threadCount = 20; in test_notifyAll() local
188 for (int i = 0; i < threadCount; ++i) { in test_notifyAll()
200 if (ready == threadCount) { in test_notifyAll()
207 + ready + ")", ready == threadCount); in test_notifyAll()
217 + status + ")", status == threadCount); in test_notifyAll()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalTest.java87 final int threadCount = 10; in testGenericITL() local
88 final int x[] = new int[threadCount]; in testGenericITL()
92 for (int i = 0; i < threadCount; i++) { in testGenericITL()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DSamplingProfiler.java253 int threadCount; in threads() local
255 threadCount = threadGroup.enumerate(threads); in threads()
256 if (threadCount == threads.length) { in threads()
262 if (threadCount < lastThread) { in threads()
264 Arrays.fill(threads, threadCount, lastThread, null); in threads()
266 lastThread = threadCount; in threads()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadGroupTest.java362 private List<MyThread> populateGroupsWithThreads(ThreadGroup group, int threadCount) { in populateGroupsWithThreads() argument
364 populateGroupsWithThreads(group, threadCount, result); in populateGroupsWithThreads()
368 private void populateGroupsWithThreads(ThreadGroup group, int threadCount, List<MyThread> out) { in populateGroupsWithThreads() argument
369 for (int i = 0; i < threadCount; i++) { in populateGroupsWithThreads()
370 out.add(new MyThread(group, "MyThread " + i + " of " + threadCount)); in populateGroupsWithThreads()
376 populateGroupsWithThreads(element, threadCount, out); in populateGroupsWithThreads()