Searched refs:maxThreads (Results 1 – 7 of 7) 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 | 297 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/ |
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 | 64 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 921 jobject clazz, jint maxThreads) in android_os_BinderInternal_setMaxThreads() argument 923 ProcessState::self()->setThreadPoolMaxThreadCount(maxThreads); in android_os_BinderInternal_setMaxThreads()
|