Searched refs:maxThreads (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | WorkerPool.cpp | 233 uint64_t WorkerPool::launchWork(WorkerCallback_t cb, void *usr, int maxThreads) { in launchWork() argument 238 if (maxThreads < 1) { in launchWork() 239 maxThreads = mCount; in launchWork() 241 if ((uint32_t)maxThreads > mCount) { in launchWork() 243 maxThreads = mCount; in launchWork() 247 mRunningCount = maxThreads; in launchWork() 250 for (int ct = 0; ct < maxThreads; ct++) { in launchWork()
|
D | WorkerPool.h | 37 uint64_t launchWork(WorkerCallback_t cb, void *usr, int maxThreads = -1);
|
/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 342 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { in setThreadPoolMaxThreadCount() argument 343 LOG_ALWAYS_FATAL_IF(mThreadPoolStarted && maxThreads < mMaxThreads, in setThreadPoolMaxThreadCount() 346 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { in setThreadPoolMaxThreadCount() 347 mMaxThreads = maxThreads; in setThreadPoolMaxThreadCount() 380 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; in open_driver() local 381 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); in open_driver()
|
/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/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/base/core/jni/ |
D | android_os_HwBinder.cpp | 347 jlong maxThreads, jboolean callerWillJoin) { in JHwBinder_native_configureRpcThreadpool() argument 348 CHECK(maxThreads > 0); in JHwBinder_native_configureRpcThreadpool() 349 … ProcessState::self()->setThreadPoolConfiguration(maxThreads, callerWillJoin /*callerJoinsPool*/); in JHwBinder_native_configureRpcThreadpool()
|
D | android_util_Binder.cpp | 1168 jobject clazz, jint maxThreads) in android_os_BinderInternal_setMaxThreads() argument 1170 ProcessState::self()->setThreadPoolMaxThreadCount(maxThreads); in android_os_BinderInternal_setMaxThreads()
|
/frameworks/base/core/java/android/os/ |
D | HwBinder.java | 116 long maxThreads, boolean callerWillJoin); in configureRpcThreadpool() argument
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 67 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessState.h | 67 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|