Home
last modified time | relevance | path

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

/system/core/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.cpp129 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument
173 if (threadId != NULL) { in androidCreateRawThreadEtc()
174 *threadId = (android_thread_id_t)thread; // XXX: this is not portable in androidCreateRawThreadEtc()
261 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument
263 return doCreateThread( fn, userData, threadId); in androidCreateRawThreadEtc()
294 android_thread_id_t *threadId) in androidCreateThreadEtc() argument
297 threadPriority, threadStackSize, threadId); in androidCreateThreadEtc()
/system/core/libsync/tests/
Dsync_test.cpp449 auto threadMain = [&](int threadId) { in TEST() argument
451 SyncFence fence(timeline, i * 2 + threadId); in TEST()
458 ASSERT_EQ(counter, i * 2 + threadId); in TEST()
487 auto threadMain = [&](int threadId) { in TEST_P() argument
494 if ((iterations + threadId) % 8 != 0) { in TEST_P()
508 ASSERT_EQ(producerTimelines[threadId].inc(), 0); in TEST_P()
/system/core/libbacktrace/
Dbacktrace_test.cpp70 pthread_t threadId; member
649 ASSERT_TRUE(pthread_create(&runners[i].threadId, &attr, ThreadMaxRun, &runners[i]) == 0); in TEST()
666 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST()
693 ASSERT_TRUE(pthread_create(&runner.threadId, &attr, ThreadMaxRun, &runner) == 0); in TEST()
709 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST()