Home
last modified time | relevance | path

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

/aosp14/frameworks/base/startop/apps/test/src/
H A 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()
/aosp14/system/core/debuggerd/client/
H A Ddebuggerd_client_test.cpp41 int threadCount = 1024; in getThreadCount() local
47 threadCount = 128; in getThreadCount()
49 return threadCount; in getThreadCount()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A 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()
/aosp14/frameworks/base/tests/JankBench/app/src/main/jni/
H A DWorkerPool.cpp157 bool WorkerPool::init(int threadCount) { in init() argument
159 if (threadCount > 0) { in init()
160 cpu = threadCount; in init()
H A DWorkerPool.h32 bool init(int threadCount = -1);
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceTest.java177 final int threadCount = 4; in testMultithreadCacheStressTest() local
178 final Thread[] threads = new Thread[threadCount]; in testMultithreadCacheStressTest()
179 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()
183 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()
187 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()
/aosp14/frameworks/base/media/jni/soundpool/tests/
H A 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()
/aosp14/frameworks/base/media/jni/soundpool/
H A DStreamManager.h155 const size_t threadCount = mThreads.size(); in launch() local
156 if (threadCount < mMaxThreadCount) { in launch()
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DCommonPoolTests.cpp41 TEST(DISABLED_CommonPool, threadCount) { in TEST() argument