Searched refs:maxThreads (Results 1 – 6 of 6) sorted by relevance
/frameworks/wilhelm/src/ |
D | ThreadPool.c | 87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) in ThreadPool_init() argument 120 if (0 == maxThreads) in ThreadPool_init() 121 maxThreads = THREAD_TYPICAL; in ThreadPool_init() 122 tp->mMaxThreads = maxThreads; in ThreadPool_init() 138 if (THREAD_TYPICAL >= maxThreads) { in ThreadPool_init() 141 tp->mThreadArray = (pthread_t *) malloc(maxThreads * sizeof(pthread_t)); in ThreadPool_init() 148 for (i = 0; i < maxThreads; ++i) { in ThreadPool_init()
|
D | ThreadPool.h | 86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);
|
/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 295 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { in setThreadPoolMaxThreadCount() argument 297 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) == -1) { in setThreadPoolMaxThreadCount() 325 size_t maxThreads = 15; in open_driver() local 326 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); in open_driver()
|
/frameworks/base/tools/aapt/ |
D | WorkQueue.cpp | 27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : in WorkQueue() argument 28 mMaxThreads(maxThreads), mCanCallJava(canCallJava), in WorkQueue()
|
D | WorkQueue.h | 50 WorkQueue(size_t maxThreads, bool canCallJava = true);
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 62 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|