/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | ParcelObtainPerfTest.java | 46 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/ |
D | Main.cpp | 64 int numThreads = DEFAULT_THREADS; in main() local 74 numThreads = atoi(optarg); in main() 105 android::Replayer r(filename, pauseBeginning, numThreads, wait, stopHere); in main()
|
D | Replayer.h | 58 int numThreads = DEFAULT_THREADS, bool wait = true, nsecs_t stopHere = -1); 59 Replayer(const Trace& trace, bool replayManually = false, int numThreads = DEFAULT_THREADS,
|
D | Replayer.cpp | 52 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()
|
D | README.md | 93 `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/ |
D | process.cpp | 31 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/ |
D | CastControllerImplTest.java | 88 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/ |
D | mediaresourcemanager_fuzzer.cpp | 228 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/ |
D | binder_process.h | 38 bool ABinderProcess_setThreadPoolMaxThreadCount(uint32_t numThreads);
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ArchiveTest.java | 192 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/ |
D | rsCpuCore.cpp | 726 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/ |
D | BinderInternal.java | 189 public static final native void setMaxThreads(int numThreads); in setMaxThreads() argument
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTest.cpp | 325 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()
|