Home
last modified time | relevance | path

Searched refs:threadCount (Results 1 – 21 of 21) 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/rs/toolkit/
DHistogram.cpp45 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;
DBlur.cpp69 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/
DKernelCpuThreadReaderTest.java159 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/
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.cpp193 threadCount == other.threadCount && serverCmdline == other.serverCmdline && in operator ==()
Dtest.cpp328 info.threadCount = 20 + serverId; in getPidInfoFromId()
485 .threadCount = in TEST_F()
486 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadCount : 0, in TEST_F()
DListCommand.cpp698 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.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()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java580 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/
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.h28 uint32_t threadCount; // number of threads total member
/frameworks/native/libs/binderdebug/
Dstats.cpp57 info.threadCount, clientPids.size()); in main()
DBinderDebug.cpp123 pidInfo->threadCount++; in getBinderPidInfo()
/frameworks/base/media/jni/soundpool/
DStreamManager.h157 const size_t threadCount = mThreads.size(); in launch() local
158 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.cpp375 std::to_string(pidInfo.threadCount) + "\n", in dumpThreadsToFd()
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp530 static void saturateThreadPool(size_t threadCount, const sp<IBinderRpcTest>& iface) { in saturateThreadPool() argument
532 for (size_t i = 0; i < threadCount; i++) { in saturateThreadPool()