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

/system/libhidl/transport/include/hidl/
H A DLegacySupport.h68 size_t maxThreads = 1) {
69 configureRpcThreadpool(maxThreads, true);
81 status_t defaultPassthroughServiceImplementation(size_t maxThreads = 1) {
82 return defaultPassthroughServiceImplementation<Interface>("default", maxThreads);
H A DHidlTransportSupport.h35 * @param maxThreads maximum number of threads in this process
38 * Note that maxThreads must include the caller thread if callerWillJoin is true;
46 void configureRpcThreadpool(size_t maxThreads, bool callerWillJoin);
H A DHidlBinderSupport.h372 void configureBinderRpcThreadpool(size_t maxThreads, bool callerWillJoin);
/system/libhidl/transport/
H A DHidlTransportSupport.cpp24 void configureRpcThreadpool(size_t maxThreads, bool callerWillJoin) { argument
26 configureBinderRpcThreadpool(maxThreads, callerWillJoin);
H A DHidlBinderSupport.cpp199 void configureBinderRpcThreadpool(size_t maxThreads, bool callerWillJoin) { argument
200 ProcessState::self()->setThreadPoolConfiguration(maxThreads, callerWillJoin /*callerJoinsPool*/);
/system/libhwbinder/
H A DProcessState.cpp319 status_t ProcessState::setThreadPoolConfiguration(size_t maxThreads, bool callerJoinsPool) { argument
320 LOG_ALWAYS_FATAL_IF(maxThreads < 1, "Binder threadpool must have a minimum of one thread.");
328 size_t kernelMaxThreads = maxThreads - 1;
331 mMaxThreads = maxThreads;
364 size_t maxThreads = DEFAULT_MAX_BINDER_THREADS; local
365 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads);
/system/libhwbinder/include/hwbinder/
H A DProcessState.h68 status_t setThreadPoolConfiguration(size_t maxThreads, bool callerJoinsPool);
/system/tools/hidl/test/hidl_test/
H A Dhidl_test_client.cpp1817 void test_multithread(int maxThreads, int numThreads) { argument
1819 << maxThreads << ", " << numThreads << ")";
1820 EXPECT_OK(multithreadInterface->setNumThreads(maxThreads, numThreads));
1832 EXPECT_EQ(noTimeout, maxThreads >= numThreads || mode == PASSTHROUGH);
1840 // so maxThreads should not decrease

Completed in 563 milliseconds