Home
last modified time | relevance | path

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

/system/libhidl/transport/include/hidl/
DLegacySupport.h67 const std::string& name, size_t maxThreads = 1) {
68 configureRpcThreadpool(maxThreads, true);
80 size_t maxThreads = 1) {
82 maxThreads);
113 const std::string& name, size_t maxThreads = 1) {
114 configureRpcThreadpool(maxThreads, true);
127 size_t maxThreads = 1) {
129 maxThreads);
DHidlTransportSupport.h46 void configureRpcThreadpool(size_t maxThreads, bool callerWillJoin);
DHidlBinderSupport.h219 void configureBinderRpcThreadpool(size_t maxThreads, bool callerWillJoin);
/system/libhwbinder/
DProcessState.cpp370 status_t ProcessState::setThreadPoolConfiguration(size_t maxThreads, bool callerJoinsPool) { in setThreadPoolConfiguration() argument
371 LOG_ALWAYS_FATAL_IF(mThreadPoolStarted && maxThreads < mMaxThreads, in setThreadPoolConfiguration()
375 LOG_ALWAYS_FATAL_IF(maxThreads == 0 && callerJoinsPool, in setThreadPoolConfiguration()
378 size_t threadsToAllocate = maxThreads; in setThreadPoolConfiguration()
401 mMaxThreads = maxThreads; in setThreadPoolConfiguration()
431 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; in open_driver() local
432 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); in open_driver()
/system/libhidl/transport/
DHidlTransportSupport.cpp31 void configureRpcThreadpool(size_t maxThreads, bool callerWillJoin) { in configureRpcThreadpool() argument
33 configureBinderRpcThreadpool(maxThreads, callerWillJoin); in configureRpcThreadpool()
DHidlBinderSupport.cpp255 void configureBinderRpcThreadpool(size_t maxThreads, bool callerWillJoin) { in configureBinderRpcThreadpool() argument
257 maxThreads, callerWillJoin /*callerJoinsPool*/); in configureBinderRpcThreadpool()
/system/libhwbinder/include/hwbinder/
DProcessState.h69 status_t setThreadPoolConfiguration(size_t maxThreads, bool callerJoinsPool);
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2558 void test_multithread(int maxThreads, int numThreads) { in test_multithread() argument
2560 << maxThreads << ", " << numThreads << ")"; in test_multithread()
2561 EXPECT_OK(multithreadInterface->setNumThreads(maxThreads, numThreads)); in test_multithread()
2573 EXPECT_EQ(noTimeout, maxThreads >= numThreads || mode == PASSTHROUGH); in test_multithread()