/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/rs/toolkit/ |
D | Histogram.cpp | 45 uint32_t threadCount, const Restriction* restriction); 63 uint32_t threadCount, const float* coefficients, 72 uint32_t threadCount, const Restriction* restriction) in HistogramTask() argument 75 mSums(256 * paddedSize(vectorSize) * threadCount) { 76 mThreadCount = threadCount; 154 uint32_t threadCount, const float* coefficients, in HistogramDotTask() argument 156 : Task{sizeX, sizeY, vectorSize, true, restriction}, mIn{in}, mSums(256 * threadCount, 0) { in HistogramDotTask() 157 mThreadCount = threadCount;
|
D | Blur.cpp | 69 uint32_t threadCount, float radius, const Restriction* restriction) in BlurTask() argument 73 mScratch{threadCount}, 74 mScratchSize{threadCount},
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 159 int threadCount = 0; in checkResults() local 161 assertEquals(threadIds[threadCount], threadCpuUsage.threadId); in checkResults() 162 assertEquals(threadNames[threadCount], threadCpuUsage.threadName); in checkResults() 166 cpuTimes[threadCount][i] * 10, in checkResults() 172 threadCount++; in checkResults() 175 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 | 193 threadCount == other.threadCount && serverCmdline == other.serverCmdline && in operator ==()
|
D | test.cpp | 328 info.threadCount = 20 + serverId; in getPidInfoFromId() 485 .threadCount = in TEST_F() 486 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadCount : 0, in TEST_F()
|
D | ListCommand.cpp | 698 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 | 177 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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/ |
D | HintManagerServiceTest.java | 580 int threadCount = 2; 585 int[] tids1 = createThreads(threadCount, stopLatch1); 616 int threadCount = 2; 621 int[] tids1 = createThreads(threadCount, stopLatch1); 637 int[] tids2 = createThreads(threadCount, stopLatch2); 639 tids2WithIsolated[threadCount] = isoProc1; 640 tids2WithIsolated[threadCount + 1] = isoProc2; 695 tids1 = createThreads(threadCount, stopLatch1); 760 private int[] createThreads(int threadCount, CountDownLatch stopLatch) 762 int[] tids = new int[threadCount]; [all …]
|
/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 | 28 uint32_t threadCount; // number of threads total member
|
/frameworks/native/libs/binderdebug/ |
D | stats.cpp | 57 info.threadCount, clientPids.size()); in main()
|
D | BinderDebug.cpp | 123 pidInfo->threadCount++; in getBinderPidInfo()
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.h | 157 const size_t threadCount = mThreads.size(); in launch() local 158 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 | 375 std::to_string(pidInfo.threadCount) + "\n", in dumpThreadsToFd()
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTest.cpp | 530 static void saturateThreadPool(size_t threadCount, const sp<IBinderRpcTest>& iface) { in saturateThreadPool() argument 532 for (size_t i = 0; i < threadCount; i++) { in saturateThreadPool()
|