Searched refs:maxThreads (Results 1 - 12 of 12) sorted by relevance
/frameworks/base/tests/JankBench/app/src/main/jni/ |
H A D | WorkerPool.cpp | 233 uint64_t WorkerPool::launchWork(WorkerCallback_t cb, void *usr, int maxThreads) { argument 238 if (maxThreads < 1) { 239 maxThreads = mCount; 241 if ((uint32_t)maxThreads > mCount) { 242 //__android_log_print(ANDROID_LOG_INFO, "bench", "launchWork max > count", maxThreads, mCount); 243 maxThreads = mCount; 246 //__android_log_print(ANDROID_LOG_INFO, "bench", "lw 2 %i %i %i", maxThreads, mRunningCount, mCount); 247 mRunningCount = maxThreads; 250 for (int ct = 0; ct < maxThreads; ct++) {
|
H A D | WorkerPool.h | 37 uint64_t launchWork(WorkerCallback_t cb, void *usr, int maxThreads = -1);
|
/frameworks/base/tools/aapt/ |
H A D | WorkQueue.h | 50 explicit WorkQueue(size_t maxThreads, bool canCallJava = true);
|
H A D | WorkQueue.cpp | 27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : argument 28 mMaxThreads(maxThreads), mCanCallJava(canCallJava),
|
/frameworks/base/core/java/android/os/ |
H A D | HwBinder.java | 112 * @param maxThreads total number of threads to create (includes this thread if 119 long maxThreads, boolean callerWillJoin); 118 configureRpcThreadpool( long maxThreads, boolean callerWillJoin) argument
|
/frameworks/wilhelm/src/ |
H A D | ThreadPool.cpp | 85 // maxThreads defaults to THREAD_TYPICAL if 0 87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) argument 120 if (0 == maxThreads) 121 maxThreads = THREAD_TYPICAL; 122 tp->mMaxThreads = maxThreads; 138 if (THREAD_TYPICAL >= maxThreads) { 141 tp->mThreadArray = (pthread_t *) malloc(maxThreads * sizeof(pthread_t)); 148 for (i = 0; i < maxThreads; ++i) {
|
H A D | ThreadPool.h | 86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);
|
/frameworks/native/libs/binder/ |
H A D | ProcessState.cpp | 362 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { argument 364 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { 365 mMaxThreads = maxThreads; 398 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; local 399 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads);
|
/frameworks/native/include/binder/ |
H A D | ProcessState.h | 70 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|
/frameworks/native/libs/binder/include/binder/ |
H A D | ProcessState.h | 70 status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|
/frameworks/base/core/jni/ |
H A D | android_os_HwBinder.cpp | 338 jlong maxThreads, jboolean callerWillJoin) { 339 CHECK(maxThreads > 0); 340 ProcessState::self()->setThreadPoolConfiguration(maxThreads, callerWillJoin /*callerJoinsPool*/); 337 JHwBinder_native_configureRpcThreadpool(JNIEnv *, jclass, jlong maxThreads, jboolean callerWillJoin) argument
|
H A D | android_util_Binder.cpp | 996 jobject clazz, jint maxThreads) 998 ProcessState::self()->setThreadPoolMaxThreadCount(maxThreads); 995 android_os_BinderInternal_setMaxThreads(JNIEnv* env, jobject clazz, jint maxThreads) argument
|
Completed in 223 milliseconds