Home
last modified time | relevance | path

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

/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.h56 int numThreads = DEFAULT_THREADS, bool wait = true, nsecs_t stopHere = -1);
57 Replayer(const Trace& trace, bool replayManually = false, int numThreads = DEFAULT_THREADS,
DReplayer.cpp53 Replayer::Replayer(const std::string& filename, bool replayManually, int numThreads, bool wait, in Replayer() argument
59 mNumThreads(numThreads), in Replayer()
85 Replayer::Replayer(const Trace& t, bool replayManually, int numThreads, bool wait, nsecs_t stopHere) in Replayer() argument
90 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.java87 int numThreads = 2 * callbackCount; in testAddCallbackRemoveCallback_concurrently() local
89 CountDownLatch threadsDone = new CountDownLatch(numThreads); in testAddCallbackRemoveCallback_concurrently()
96 for (int i = 0; i < numThreads; i++) { in testAddCallbackRemoveCallback_concurrently()
/frameworks/native/libs/binder/ndk/include_platform/android/
Dbinder_process.h38 bool ABinderProcess_setThreadPoolMaxThreadCount(uint32_t numThreads);
/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.java171 public static final native void setMaxThreads(int numThreads); in setMaxThreads() argument