Home
last modified time | relevance | path

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

/frameworks/av/services/mediaresourcemanager/fuzzer/
Dmediaresourcemanager_fuzzer.cpp242 resourceThreadArgs threadArgs[numThreadPairs]; in setResources() local
246 threadArgs[k].pid = mFuzzedDataProvider->ConsumeIntegral<int32_t>(); in setResources()
247 threadArgs[k].uid = mFuzzedDataProvider->ConsumeIntegral<int32_t>(); in setResources()
253 threadArgs[k].service = mService; in setResources()
255 ::ndk::SharedRefBase::make<TestClient>(threadArgs[k].pid, threadArgs[k].uid, in setResources()
257 threadArgs[k].testClient = testClient; in setResources()
258 threadArgs[k].testClientId = getId(testClient); in setResources()
262 threadArgs[k].mediaResource = mediaResource[k]; in setResources()
263 pthread_create(&pt[2 * k], nullptr, addResource, &threadArgs[k]); in setResources()
264 pthread_create(&pt[2 * k + 1], nullptr, removeResource, &threadArgs[k]); in setResources()