Searched refs:threadId (Results 1 – 4 of 4) sorted by relevance
/system/core/include/utils/ |
D | AndroidThreads.h | 45 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/ |
D | Threads.cpp | 128 android_thread_id_t *threadId) in androidCreateRawThreadEtc() argument 172 if (threadId != NULL) { 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/ |
D | sync_test.cpp | 449 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/ |
D | backtrace_test.cpp | 70 pthread_t threadId; member 632 ASSERT_TRUE(pthread_create(&runners[i].threadId, &attr, ThreadMaxRun, &runners[i]) == 0); in TEST() 649 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST() 676 ASSERT_TRUE(pthread_create(&runner.threadId, &attr, ThreadMaxRun, &runner) == 0); in TEST() 692 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST()
|