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 = 0)
112 threadPriority, threadStackSize, threadId) ? true : false;
/system/core/libutils/
DThreads.cpp122 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument
166 if (threadId != NULL) { 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.cpp459 auto threadMain = [&](int threadId) { in TEST() argument
461 SyncFence fence(timeline, i * 2 + threadId); in TEST()
468 ASSERT_EQ(counter, i * 2 + threadId); in TEST()
497 auto threadMain = [&](int threadId) { in TEST_P() argument
504 if ((iterations + threadId) % 8 != 0) { in TEST_P()
518 ASSERT_EQ(producerTimelines[threadId].inc(), 0); in TEST_P()
/system/core/libbacktrace/
Dbacktrace_test.cpp74 pthread_t threadId; member
652 ASSERT_TRUE(pthread_create(&runners[i].threadId, &attr, ThreadMaxRun, &runners[i]) == 0); in TEST()
669 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST()
696 ASSERT_TRUE(pthread_create(&runner.threadId, &attr, ThreadMaxRun, &runner) == 0); in TEST()
712 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST()