Searched refs:maxThreads (Results 1 – 7 of 7) sorted by relevance
/frameworks/wilhelm/src/ |
D | ThreadPool.cpp | 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 | 310 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { in setThreadPoolMaxThreadCount() argument 312 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { in setThreadPoolMaxThreadCount() 313 mMaxThreads = maxThreads; in setThreadPoolMaxThreadCount() 346 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; in open_driver() local 347 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 explicit WorkQueue(size_t maxThreads, bool canCallJava = true);
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessState.h | 69 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 940 jobject clazz, jint maxThreads) in android_os_BinderInternal_setMaxThreads() argument 942 ProcessState::self()->setThreadPoolMaxThreadCount(maxThreads); in android_os_BinderInternal_setMaxThreads()
|