Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/thread/
H A DCommonPool.cpp33 std::vector<int> tids(THREAD_COUNT); in CommonPool()
34 std::vector<std::condition_variable> tidConditionVars(THREAD_COUNT); in CommonPool()
37 for (int i = 0; i < THREAD_COUNT; i++) { in CommonPool()
61 for (int i = 0; i < THREAD_COUNT; i++) { in CommonPool()
91 if (mWaitingThreads == THREAD_COUNT || (mWaitingThreads > 0 && mWorkQueue.size() > 1)) { in enqueue()
121 while (mWaitingThreads != THREAD_COUNT) { in doWaitForIdle()
H A DCommonPool.h81 static constexpr auto THREAD_COUNT = 2; variable
/aosp14/system/core/debuggerd/client/
H A Ddebuggerd_client_test.cpp53 static int THREAD_COUNT = getThreadCount(); in TEST() local
61 for (int i = 0; i < THREAD_COUNT; ++i) { in TEST()
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DCommonPoolTests.cpp53 EXPECT_EQ(threads.size(), CommonPool::THREAD_COUNT); in TEST()
106 static constexpr auto QUEUE_COUNT = CommonPool::THREAD_COUNT + CommonPool::QUEUE_SIZE + 10; in TEST()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
H A DKeyValueBackupTask.java183 private static final AtomicInteger THREAD_COUNT = new AtomicInteger(); field in KeyValueBackupTask
244 Thread thread = new Thread(task, "key-value-backup-" + THREAD_COUNT.incrementAndGet()); in start()