Home
last modified time | relevance | path

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

/system/libhidl/transport/include/hidl/
DLegacySupport.h77 const std::string& name, size_t maxThreads = 1) {
78 configureRpcThreadpool(maxThreads, true);
90 status_t defaultPassthroughServiceImplementation(size_t maxThreads = 1) {
91 return defaultPassthroughServiceImplementation<Interface>("default", maxThreads);
126 const std::string& name, size_t maxThreads = 1) {
127 configureRpcThreadpool(maxThreads, true);
139 size_t maxThreads = 1) {
140 return defaultLazyPassthroughServiceImplementation<Interface>("default", maxThreads);
DHidlTransportSupport.h46 void configureRpcThreadpool(size_t maxThreads, bool callerWillJoin);
DHidlBinderSupport.h347 void configureBinderRpcThreadpool(size_t maxThreads, bool callerWillJoin);
/system/libhwbinder/
DProcessState.cpp356 status_t ProcessState::setThreadPoolConfiguration(size_t maxThreads, bool callerJoinsPool) { in setThreadPoolConfiguration() argument
358 LOG_ALWAYS_FATAL_IF(maxThreads == 0 && callerJoinsPool, in setThreadPoolConfiguration()
361 size_t threadsToAllocate = maxThreads; in setThreadPoolConfiguration()
384 mMaxThreads = maxThreads; in setThreadPoolConfiguration()
414 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; in open_driver() local
415 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); in open_driver()
/system/libhidl/transport/
DHidlTransportSupport.cpp28 void configureRpcThreadpool(size_t maxThreads, bool callerWillJoin) { in configureRpcThreadpool() argument
30 configureBinderRpcThreadpool(maxThreads, callerWillJoin); in configureRpcThreadpool()
DHidlBinderSupport.cpp269 void configureBinderRpcThreadpool(size_t maxThreads, bool callerWillJoin) { in configureBinderRpcThreadpool() argument
271 maxThreads, callerWillJoin /*callerJoinsPool*/); in configureBinderRpcThreadpool()
/system/libhwbinder/include/hwbinder/
DProcessState.h68 status_t setThreadPoolConfiguration(size_t maxThreads, bool callerJoinsPool);
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2532 void test_multithread(int maxThreads, int numThreads) { in test_multithread() argument
2534 << maxThreads << ", " << numThreads << ")"; in test_multithread()
2535 EXPECT_OK(multithreadInterface->setNumThreads(maxThreads, numThreads)); in test_multithread()
2547 EXPECT_EQ(noTimeout, maxThreads >= numThreads || mode == PASSTHROUGH); in test_multithread()