Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelObtainPerfTest.java46 private static void timeContention(int numThreads) throws Exception { in timeContention() argument
49 final ObtainThread[] threads = new ObtainThread[numThreads]; in timeContention()
50 for (int i = 0; i < numThreads; i++) { in timeContention()
51 final ObtainThread thread = new ObtainThread(ITERATIONS / numThreads); in timeContention()
55 for (int i = 0; i < numThreads; i++) { in timeContention()
/frameworks/native/cmds/surfacereplayer/replayer/
DMain.cpp64 int numThreads = DEFAULT_THREADS; in main() local
74 numThreads = atoi(optarg); in main()
105 android::Replayer r(filename, pauseBeginning, numThreads, wait, stopHere); in main()
DReplayer.h58 int numThreads = DEFAULT_THREADS, bool wait = true, nsecs_t stopHere = -1);
59 Replayer(const Trace& trace, bool replayManually = false, int numThreads = DEFAULT_THREADS,
DReplayer.cpp52 Replayer::Replayer(const std::string& filename, bool replayManually, int numThreads, bool wait, in Replayer() argument
58 mNumThreads(numThreads), in Replayer()
84 Replayer::Replayer(const Trace& t, bool replayManually, int numThreads, bool wait, nsecs_t stopHere) in Replayer() argument
89 mNumThreads(numThreads), in Replayer()
DREADME.md93 `Replayer(std::string& filename, bool replayManually, int numThreads, bool wait, nsecs_t stopHere)`
99 - numThreads - Number of worker threads the replayer will use.
/frameworks/native/libs/binder/ndk/
Dprocess.cpp31 bool ABinderProcess_setThreadPoolMaxThreadCount(uint32_t numThreads) { in ABinderProcess_setThreadPoolMaxThreadCount() argument
32 return ProcessState::self()->setThreadPoolMaxThreadCount(numThreads) == 0; in ABinderProcess_setThreadPoolMaxThreadCount()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCastControllerImplTest.java88 int numThreads = 2 * callbackCount; in testAddCallbackRemoveCallback_concurrently() local
90 CountDownLatch threadsDone = new CountDownLatch(numThreads); in testAddCallbackRemoveCallback_concurrently()
97 for (int i = 0; i < numThreads; i++) { in testAddCallbackRemoveCallback_concurrently()
/frameworks/av/services/mediaresourcemanager/fuzzer/
Dmediaresourcemanager_fuzzer.cpp228 size_t numThreads = numThreadPairs * 2; in setResources() local
231 pthread_t pt[numThreads]; in setResources()
233 for (i = 0; i < numThreads - 1; i += 2) { in setResources()
255 for (i = 0; i < numThreads; ++i) { in setResources()
/frameworks/native/libs/binder/ndk/include_platform/android/
Dbinder_process.h38 bool ABinderProcess_setThreadPoolMaxThreadCount(uint32_t numThreads);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DArchiveTest.java192 int numThreads = SIZE - 2; in testRemoveChannelNotifications_concurrently() local
195 CountDownLatch threadsDone = new CountDownLatch(numThreads); in testRemoveChannelNotifications_concurrently()
196 for (int i = 0; i < numThreads; i++) { in testRemoveChannelNotifications_concurrently()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp726 const uint32_t numThreads = mWorkers.mCount + 1; in launchReduceParallel() local
730 const uint32_t numAllocAccum = numThreads - (mtls->outFunc == nullptr); in launchReduceParallel()
751 const size_t accumPtrArrayBytes = sizeof(uint8_t *) * numThreads; in launchReduceParallel()
762 numThreads, mtls->accumAlloc); in launchReduceParallel()
767 mtls->mSliceSize = rsMax(1U, mtls->redp.dim.y / (numThreads * 4)); in launchReduceParallel()
770 mtls->mSliceSize = rsMax(1U, mtls->redp.dim.x / (numThreads * 4)); in launchReduceParallel()
/frameworks/base/core/java/com/android/internal/os/
DBinderInternal.java189 public static final native void setMaxThreads(int numThreads); in setMaxThreads() argument
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp325 size_t numThreads, size_t numSessions, in createRpcTestSocketServerProcess() argument
341 server->setMaxThreads(numThreads); in createRpcTestSocketServerProcess()
398 BinderRpcTestProcessSession createRpcTestSocketServerProcess(size_t numThreads, in createRpcTestSocketServerProcess() argument
401 .proc = createRpcTestSocketServerProcess(numThreads, numSessions, in createRpcTestSocketServerProcess()