Home
last modified time | relevance | path

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

/frameworks/base/startop/apps/test/src/
DCPUIntensiveBenchmarks.java49 static void doSomeWork(int threadCount) { in doSomeWork() argument
50 mArray = new int[threadCount][ARRAY_SIZE]; in doSomeWork()
51 WorkerThread[] threads = new WorkerThread[threadCount]; in doSomeWork()
53 for (int i = 0; i < threadCount; ++i) { in doSomeWork()
57 for (int i = 0; i < threadCount; ++i) { in doSomeWork()
61 for (int i = 0; i < threadCount; ++i) { in doSomeWork()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DConcurrentInterpreter.kt82 val threadCount = lines[0].size in <lambda>() constant
83 assertTrue(lines.all { it.size == threadCount }) in <lambda>()
84 val threadInstructions = (0 until threadCount).map { i -> lines.map { it[i].trim() } } in <lambda>()
85 val barrier = CyclicBarrier(threadCount) in <lambda>()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java152 int threadCount = 0; in checkResults() local
154 assertEquals(threadIds[threadCount], threadCpuUsage.threadId); in checkResults()
155 assertEquals(threadNames[threadCount], threadCpuUsage.threadName); in checkResults()
159 cpuTimes[threadCount][i] * 10, in checkResults()
165 threadCount++; in checkResults()
168 assertEquals(threadCount, threadIds.length); in checkResults()
/frameworks/native/cmds/lshal/
DTableEntry.h86 uint32_t threadCount{0};
107 if (threadCount == 0) { in getThreadUsage()
111 return std::to_string(threadUsage) + "/" + std::to_string(threadCount); in getThreadUsage()
DTableEntry.cpp191 threadCount == other.threadCount && serverCmdline == other.serverCmdline && in operator ==()
Dtest.cpp304 info.threadCount = 20 + serverId; in getPidInfoFromId()
461 .threadCount = in TEST_F()
462 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadCount : 0, in TEST_F()
DListCommand.cpp660 entry->threadCount = pidInfo->threadCount; in fetchBinderizedEntry()
/frameworks/native/libs/binderdebug/tests/
Dbinderdebug_test.cpp58 EXPECT_TRUE(pidInfo.threadUsage <= pidInfo.threadCount); in TEST()
60 EXPECT_GE(pidInfo.threadCount, 1); in TEST()
/frameworks/base/tests/JankBench/app/src/main/jni/
DWorkerPool.cpp157 bool WorkerPool::init(int threadCount) { in init() argument
159 if (threadCount > 0) { in init()
160 cpu = threadCount; in init()
DWorkerPool.h32 bool init(int threadCount = -1);
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java176 final int threadCount = 4; in testMultithreadCacheStressTest() local
177 final Thread[] threads = new Thread[threadCount]; in testMultithreadCacheStressTest()
178 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()
182 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()
186 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()
/frameworks/base/media/jni/soundpool/tests/
Dsoundpool_stress.cpp228 int threadCount = 1; in main() local
247 threadCount = atoi(optarg); in main()
289 std::vector<std::future<void>> threads(threadCount); in main()
/frameworks/native/libs/binderdebug/include/binderdebug/
DBinderDebug.h26 uint32_t threadCount; // number of threads total member
/frameworks/native/libs/binderdebug/
DBinderDebug.cpp111 pidInfo->threadCount++; in getBinderPidInfo()
/frameworks/base/media/jni/soundpool/
DStreamManager.h155 const size_t threadCount = mThreads.size(); in launch() local
156 if (threadCount < mMaxThreadCount) { in launch()
/frameworks/base/libs/hwui/tests/unit/
DCommonPoolTests.cpp41 TEST(DISABLED_CommonPool, threadCount) { in TEST() argument
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp350 std::to_string(pidInfo.threadCount) + "\n", in dumpThreadsToFd()