Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/base/
Dlock_free_stack_test.cc77 constexpr size_t kNumThreads = 50; variable
81 Node g_nodes[kNumThreads * kNumNodesPerThread];
131 pthread_t threads[kNumThreads]; in TEST()
133 for (size_t i = 0; i < kNumThreads; ++i) { in TEST()
138 for (size_t i = 0; i < kNumThreads; ++i) { in TEST()
Dforever_alloc_test.cc67 const size_t kNumThreads = 50; variable
88 pthread_t threads[kNumThreads]; in TEST()
90 for (size_t i = 0; i < kNumThreads; ++i) { in TEST()
95 for (size_t i = 0; i < kNumThreads; ++i) { in TEST()
Dmmap_pool_test.cc90 constexpr size_t kNumThreads = 4; in TEST_F() local
91 std::thread threads[kNumThreads]; in TEST_F()
93 for (size_t i = 0; i < kNumThreads; i++) { in TEST_F()
/frameworks/libs/binary_translation/runtime_primitives/
Dtranslation_cache_test.cc184 constexpr uint32_t kNumThreads = 16; in TranslationCacheTestRunThreads() local
185 std::array<std::thread, kNumThreads> threads; in TranslationCacheTestRunThreads()
188 for (uint32_t i = 0; i < kNumThreads; i++) { in TranslationCacheTestRunThreads()
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp425 constexpr size_t kNumThreads = 10; in TEST_P() local
427 auto proc = createRpcTestSocketServerProcess({.numThreads = kNumThreads}); in TEST_P()
433 for (size_t i = 0; i < kNumThreads - 1; i++) { in TEST_P()
482 constexpr size_t kNumThreads = 10; in TEST_P() local
483 constexpr size_t kNumCalls = kNumThreads + 3; in TEST_P()
484 auto proc = createRpcTestSocketServerProcess({.numThreads = kNumThreads}); in TEST_P()
495 constexpr size_t kNumThreads = 20; in TEST_P() local
499 {.numThreads = kNumThreads, .numOutgoingConnections = kNumOutgoingConnections}); in TEST_P()
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp382 constexpr size_t kNumThreads = 10; in TEST() local
397 for (size_t i = 0; i < kNumThreads; i++) { in TEST()