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);
111 thread_id_t *threadId = nullptr)
114 threadPriority, threadStackSize, threadId) ? true : false;
/system/core/libutils/
DThreads.cpp128 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument
172 if (threadId != nullptr) { in androidCreateRawThreadEtc()
173 *threadId = (android_thread_id_t)thread; // XXX: this is not portable in androidCreateRawThreadEtc()
260 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument
262 return doCreateThread( fn, userData, threadId); in androidCreateRawThreadEtc()
293 android_thread_id_t *threadId) in androidCreateThreadEtc() argument
296 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()