Package: android.hardware.tests.multithread@1.0

IMultithread

interface IMultithread

IMultithread tests configureRpcThreadpool

Makes calls finish only when specific number of them are running in parallel

Methods

setNumThreads

setNumThreads (int32_t maxThreads, int32_t numThreads)

Sets up controller Must be called for each test

Details
Parameters
maxThreads
arg passed to configureRpcThreadpool Could not be decremented by future calls
numThreads
number of calls in parallel to finish

runNewThread

runNewThread ()
generates (bool noTimeout)

Makes a new call

Details
Generates
noTimeout
numThreads appeared in parallel before timeout Shall return the same value for one setNumThreads call