Searched defs:numThreads (Results 1 - 6 of 6) sorted by relevance

/dalvik/libcore/sql/src/test/java/tests/support/
H A DThreadPool.java32 public ThreadPool(int numThreads) { argument
39 for (int i = 0; i < numThreads; i++) {
/dalvik/libcore/sql/src/test/java/tests/java/sql/
H A DMultiThreadAccessTest.java47 private static final int numThreads = 10; field in class:MultiThreadAccessTest
63 threadPool = new ThreadPool(numThreads);
122 * the database. Number of threads is defined by numThreads variable
133 for (int i = 0; i < numThreads; i++) {
140 * tables in the database. Number of threads is defined by numThreads
160 * numThreads variable
221 * the database. Number of threads is defined by numThreads variable
246 for (int i = 0; i < numThreads; i++) {
252 double expectedVal = id + numThreads;
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DThreadGroup.java55 int numThreads; field in class:ThreadGroup
166 for (int i = 0; i < numThreads; i++) {
215 if (childrenThreads.length == numThreads) {
217 System.arraycopy(childrenThreads, 0, newThreads, 0, numThreads);
218 newThreads[numThreads++] = thread;
221 childrenThreads[numThreads++] = thread;
310 if (this.numThreads > 0) {
347 if (isDaemon && !isDestroyed && numThreads == 0) {
438 for (int i = enumeratingThreads ? numThreads : numGroups; --i >= 0;) {
509 for (int i = 0; i < numThreads;
[all...]
/dalvik/tools/dmtracedump/
H A DCreateTestTrace.c158 int numThreads = maxThreadId + 1; local
163 callStack = (stack *) malloc(sizeof(stack) * numThreads);
165 for (ii = 0; ii < numThreads; ++ii) {
H A DTraceDump.c197 int numThreads; member in struct:DataKeys
837 pKeys->numThreads = count;
987 qsort(pKeys->threads, pKeys->numThreads, sizeof(pKeys->threads[0]),
1076 printf("Threads (%d):\n", pKeys->numThreads);
1077 for (i = 0; i < pKeys->numThreads; i++) {
1866 void printThreadProfile(ThreadEntry *pThreads, int numThreads, uint64_t sumThreadTime, Filter** filters) argument
1887 qsort(pThreads, numThreads, sizeof(ThreadEntry), compareElapsed);
1903 for (ii = 0; ii < numThreads; ++ii) {
1956 for (jj = 0; jj < numThreads; jj++) {
2535 int filterMethod(MethodEntry* method, Filter* filter, int entry, int threadId, int numThreads, argument
2940 int ii, jj, numThreads; local
3218 profileTrace(TraceData* traceData, MethodEntry **pMethods, int numMethods, uint64_t sumThreadTime, ThreadEntry *pThreads, int numThreads, Filter** filters) argument
[all...]
/dalvik/libcore/sql/src/test/java/tests/SQLite/
H A DDatabaseTest.java81 private static final int numThreads = 10; field in class:DatabaseTest
420 ThreadPool threadPool = new ThreadPool(numThreads);
536 ThreadPool threadPool = new ThreadPool(numThreads);
601 // threadPool = new ThreadPool(numThreads);
660 ThreadPool threadPool = new ThreadPool(numThreads);
721 threadPool = new ThreadPool(numThreads);

Completed in 229 milliseconds