Home
last modified time | relevance | path

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

/frameworks/base/tests/JankBench/app/src/main/jni/
DWorkerPool.cpp233 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()
DWorkerPool.h37 uint64_t launchWork(WorkerCallback_t cb, void *usr, int maxThreads = -1);
/frameworks/native/libs/binder/
DProcessState.cpp342 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/
DThreadPool.cpp87 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/base/tools/aapt/
DWorkQueue.cpp27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : in WorkQueue() argument
28 mMaxThreads(maxThreads), mCanCallJava(canCallJava), in WorkQueue()
DWorkQueue.h50 explicit WorkQueue(size_t maxThreads, bool canCallJava = true);
/frameworks/base/core/jni/
Dandroid_os_HwBinder.cpp347 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()
Dandroid_util_Binder.cpp1168 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/
DHwBinder.java116 long maxThreads, boolean callerWillJoin); in configureRpcThreadpool() argument
/frameworks/native/include/binder/
DProcessState.h67 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
/frameworks/native/libs/binder/include/binder/
DProcessState.h67 status_t setThreadPoolMaxThreadCount(size_t maxThreads);