/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/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 | 421 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { in setThreadPoolMaxThreadCount() argument 422 LOG_ALWAYS_FATAL_IF(mThreadPoolStarted && maxThreads < mMaxThreads, in setThreadPoolMaxThreadCount() 425 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { in setThreadPoolMaxThreadCount() 426 mMaxThreads = maxThreads; in setThreadPoolMaxThreadCount() 538 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; in open_driver() local 539 result = ioctl(fd.get(), BINDER_SET_MAX_THREADS, &maxThreads); in open_driver()
|
D | RpcState.cpp | 497 int32_t maxThreads; in getMaxThreads() local 498 status = reply.readInt32(&maxThreads); in getMaxThreads() 500 if (maxThreads <= 0) { in getMaxThreads() 501 ALOGE("Error invalid max maxThreads: %d", maxThreads); in getMaxThreads() 505 *maxThreadsOut = maxThreads; in getMaxThreads()
|
D | RpcSession.cpp | 234 status_t RpcSession::getRemoteMaxThreads(size_t* maxThreads) { in getRemoteMaxThreads() argument 239 return state()->getMaxThreads(connection.get(), sp<RpcSession>::fromExisting(this), maxThreads); in getRemoteMaxThreads()
|
/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 | 385 jlong maxThreads, jboolean callerWillJoin) { in JHwBinder_native_configureRpcThreadpool() argument 386 CHECK(maxThreads > 0); in JHwBinder_native_configureRpcThreadpool() 387 … ProcessState::self()->setThreadPoolConfiguration(maxThreads, callerWillJoin /*callerJoinsPool*/); in JHwBinder_native_configureRpcThreadpool()
|
D | android_util_Binder.cpp | 1233 jobject clazz, jint maxThreads) in android_os_BinderInternal_setMaxThreads() argument 1235 ProcessState::self()->setThreadPoolMaxThreadCount(maxThreads); in android_os_BinderInternal_setMaxThreads()
|
/frameworks/base/core/java/android/os/ |
D | HwBinder.java | 126 long maxThreads, boolean callerWillJoin); in configureRpcThreadpool() argument
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessState.h | 64 LIBBINDER_EXPORTED status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|
D | RpcSession.h | 173 [[nodiscard]] LIBBINDER_EXPORTED status_t getRemoteMaxThreads(size_t* maxThreads);
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 64 LIBBINDER_EXPORTED status_t setThreadPoolMaxThreadCount(size_t maxThreads);
|