Searched refs:maxThreads (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/include/utils/
H A DWorkQueue.h50 WorkQueue(size_t maxThreads, bool canCallJava = true);
/frameworks/native/libs/utils/
H A DWorkQueue.cpp27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : argument
28 mMaxThreads(maxThreads), mCanCallJava(canCallJava),
/frameworks/wilhelm/src/
H A DThreadPool.c85 // maxThreads defaults to THREAD_TYPICAL if 0
87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) argument
120 if (0 == maxThreads)
121 maxThreads = THREAD_TYPICAL;
122 tp->mMaxThreads = maxThreads;
138 if (THREAD_TYPICAL >= maxThreads) {
141 tp->mThreadArray = (pthread_t *) malloc(maxThreads * sizeof(pthread_t));
148 for (i = 0; i < maxThreads; ++i) {
H A DThreadPool.h86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);
/frameworks/native/include/binder/
H A DProcessState.h73 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
/frameworks/native/libs/binder/
H A DProcessState.cpp298 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { argument
300 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) == -1) {
324 size_t maxThreads = 15; local
325 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads);

Completed in 368 milliseconds