Home
last modified time | relevance | path

Searched refs:maxThreads (Results 1 – 7 of 7) sorted by relevance

/frameworks/wilhelm/src/
DThreadPool.c87 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()
DThreadPool.h86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);
/frameworks/native/libs/binder/
DProcessState.cpp297 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { in setThreadPoolMaxThreadCount() argument
299 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { in setThreadPoolMaxThreadCount()
300 mMaxThreads = maxThreads; in setThreadPoolMaxThreadCount()
328 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; in open_driver() local
329 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); in open_driver()
/frameworks/base/tools/aapt/
DWorkQueue.cpp27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : in WorkQueue() argument
28 mMaxThreads(maxThreads), mCanCallJava(canCallJava), in WorkQueue()
DWorkQueue.h50 WorkQueue(size_t maxThreads, bool canCallJava = true);
/frameworks/native/include/binder/
DProcessState.h64 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp921 jobject clazz, jint maxThreads) in android_os_BinderInternal_setMaxThreads() argument
923 ProcessState::self()->setThreadPoolMaxThreadCount(maxThreads); in android_os_BinderInternal_setMaxThreads()