/frameworks/base/startop/apps/test/src/ |
D | CPUIntensiveBenchmarks.java | 49 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/ |
D | ConcurrentInterpreter.kt | 82 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/ |
D | KernelCpuThreadReaderTest.java | 152 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/ |
D | TableEntry.h | 86 uint32_t threadCount{0}; 107 if (threadCount == 0) { in getThreadUsage() 111 return std::to_string(threadUsage) + "/" + std::to_string(threadCount); in getThreadUsage()
|
D | TableEntry.cpp | 191 threadCount == other.threadCount && serverCmdline == other.serverCmdline && in operator ==()
|
D | test.cpp | 304 info.threadCount = 20 + serverId; in getPidInfoFromId() 461 .threadCount = in TEST_F() 462 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadCount : 0, in TEST_F()
|
D | ListCommand.cpp | 660 entry->threadCount = pidInfo->threadCount; in fetchBinderizedEntry()
|
/frameworks/native/libs/binderdebug/tests/ |
D | binderdebug_test.cpp | 58 EXPECT_TRUE(pidInfo.threadUsage <= pidInfo.threadCount); in TEST() 60 EXPECT_GE(pidInfo.threadCount, 1); in TEST()
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | WorkerPool.cpp | 157 bool WorkerPool::init(int threadCount) { in init() argument 159 if (threadCount > 0) { in init() 160 cpu = threadCount; in init()
|
D | WorkerPool.h | 32 bool init(int threadCount = -1);
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 176 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/ |
D | soundpool_stress.cpp | 228 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/ |
D | BinderDebug.h | 26 uint32_t threadCount; // number of threads total member
|
/frameworks/native/libs/binderdebug/ |
D | BinderDebug.cpp | 111 pidInfo->threadCount++; in getBinderPidInfo()
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.h | 155 const size_t threadCount = mThreads.size(); in launch() local 156 if (threadCount < mMaxThreadCount) { in launch()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CommonPoolTests.cpp | 41 TEST(DISABLED_CommonPool, threadCount) { in TEST() argument
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 350 std::to_string(pidInfo.threadCount) + "\n", in dumpThreadsToFd()
|