Home
last modified time | relevance | path

Searched refs:threadId (Results 1 – 4 of 4) sorted by relevance

/system/core/libutils/include/utils/
DAndroidThreads.h45 android_thread_id_t *threadId);
57 android_thread_id_t *threadId);
69 android_thread_id_t *threadId);
109 thread_id_t *threadId = nullptr)
112 threadPriority, threadStackSize, threadId) ? true : false;
/system/core/libutils/
DThreads.cpp122 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument
166 if (threadId != nullptr) { in androidCreateRawThreadEtc()
167 *threadId = (android_thread_id_t)thread; // XXX: this is not portable in androidCreateRawThreadEtc()
254 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument
256 return doCreateThread( fn, userData, threadId); in androidCreateRawThreadEtc()
287 android_thread_id_t *threadId) in androidCreateThreadEtc() argument
290 threadPriority, threadStackSize, threadId); in androidCreateThreadEtc()
/system/core/libsync/tests/
Dsync_test.cpp523 auto threadMain = [&](int threadId) { in TEST() argument
525 SyncFence fence(timeline, i * 2 + threadId); in TEST()
532 ASSERT_EQ(counter, i * 2 + threadId); in TEST()
561 auto threadMain = [&](int threadId) { in TEST_P() argument
568 if ((iterations + threadId) % 8 != 0) { in TEST_P()
582 ASSERT_EQ(producerTimelines[threadId].inc(), 0); in TEST_P()
/system/core/libbacktrace/
Dbacktrace_test.cpp80 pthread_t threadId; member
723 ASSERT_TRUE(pthread_create(&runners[i].threadId, &attr, ThreadMaxRun, &runners[i]) == 0); in MultipleThreadDumpTest()
745 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in MultipleThreadDumpTest()