Searched refs:numThreads (Results 1 – 7 of 7) sorted by relevance
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
D | ThreadGroup.java | 55 int numThreads; field in ThreadGroup 166 for (int i = 0; i < numThreads; i++) { in activeCount() 215 if (childrenThreads.length == numThreads) { in add() 217 System.arraycopy(childrenThreads, 0, newThreads, 0, numThreads); in add() 218 newThreads[numThreads++] = thread; in add() 221 childrenThreads[numThreads++] = thread; in add() 310 if (this.numThreads > 0) { in destroy() 347 if (isDaemon && !isDestroyed && numThreads == 0) { in destroyIfEmptyDaemon() 438 for (int i = enumeratingThreads ? numThreads : numGroups; --i >= 0;) { in enumerateGeneric() 509 for (int i = 0; i < numThreads; i++) { in interrupt() [all …]
|
/dalvik/libcore/sql/src/test/java/tests/support/ |
D | ThreadPool.java | 32 public ThreadPool(int numThreads) { in ThreadPool() argument 39 for (int i = 0; i < numThreads; i++) { in ThreadPool()
|
/dalvik/libcore/sql/src/test/java/tests/java/sql/ |
D | MultiThreadAccessTest.java | 47 private static final int numThreads = 10; field in MultiThreadAccessTest 63 threadPool = new ThreadPool(numThreads); in setUp() 133 for (int i = 0; i < numThreads; i++) { in test_MultipleAccessToOneTable() 246 for (int i = 0; i < numThreads; i++) { in test_MultipleUpdatesInOneTables() 252 double expectedVal = id + numThreads; in test_MultipleUpdatesInOneTables()
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | ThreadGroupTest.java | 342 int numThreads = initialThreadGroup.activeCount(); in test_enumerateLThreadArray() local 343 Thread[] listOfThreads = new Thread[numThreads]; in test_enumerateLThreadArray() 346 assertEquals(numThreads, countThread); in test_enumerateLThreadArray() 369 int numThreads = initialThreadGroup.activeCount(); in test_enumerateLThreadArrayLZ() local 370 Thread[] listOfThreads = new Thread[numThreads]; in test_enumerateLThreadArrayLZ() 373 assertEquals(numThreads, countThread); in test_enumerateLThreadArrayLZ() 376 assertEquals(numThreads, countThread); in test_enumerateLThreadArrayLZ() 386 assertEquals(numThreads, countThread); in test_enumerateLThreadArrayLZ() 403 assertEquals(numThreads + subThreadsCount, numThreads2); in test_enumerateLThreadArrayLZ() 423 assertEquals(numThreads, numThreads3); in test_enumerateLThreadArrayLZ()
|
/dalvik/tools/dmtracedump/ |
D | CreateTestTrace.c | 152 int numThreads = maxThreadId + 1; in parseInputFile() local 157 callStack = (stack *) malloc(sizeof(stack) * numThreads); in parseInputFile() 159 for (ii = 0; ii < numThreads; ++ii) { in parseInputFile()
|
D | TraceDump.c | 183 int numThreads; member 753 pKeys->numThreads = count; in parseThreads() 903 qsort(pKeys->threads, pKeys->numThreads, sizeof(pKeys->threads[0]), in sortThreadList() 992 printf("Threads (%d):\n", pKeys->numThreads); in parseKeys() 993 for (i = 0; i < pKeys->numThreads; i++) { in parseKeys()
|
/dalvik/libcore/sql/src/test/java/tests/SQLite/ |
D | DatabaseTest.java | 81 private static final int numThreads = 10; field in DatabaseTest 420 ThreadPool threadPool = new ThreadPool(numThreads); in testInterrupt() 536 ThreadPool threadPool = new ThreadPool(numThreads); in testBusy_handler() 660 ThreadPool threadPool = new ThreadPool(numThreads); in testBusy_timeout() 721 threadPool = new ThreadPool(numThreads); in testBusy_timeout()
|