Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 8 of 8) sorted by relevance

/system/extras/memory_replay/tests/
DThreadTest.cpp54 pthread_t thread_id; in TEST() local
55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0); in TEST()
62 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); in TEST()
82 pthread_t thread_id; in TEST() local
83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0); in TEST()
90 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); in TEST()
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc85 pthread_t thread_id = pthread_self(); in gki_task_entry() local
89 p_pthread_info->task_id, gki_cb.os.thread_id[p_pthread_info->task_id], in gki_task_entry()
92 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry()
98 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry()
232 ret = pthread_create(&gki_cb.os.thread_id[task_id], &attr1, gki_task_entry, in GKI_create_task()
241 if (pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param) == in GKI_create_task()
254 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, &param); in GKI_create_task()
259 gki_cb.os.thread_id[task_id], taskname, stack, stacksize); in GKI_create_task()
312 result = pthread_join(gki_cb.os.thread_id[task_id - 1], NULL); in GKI_shutdown()
645 gki_cb.os.thread_id[rtask] = 0; in GKI_wait()
[all …]
Dgki_int.h34 pthread_t thread_id[GKI_MAX_TASKS]; member
/system/extras/simpleperf/
Dcmd_trace_sched.cpp58 pid_t thread_id = 0; member
216 thread.thread_id = r.data->tid; in ProcessRecord()
225 parent_thread.thread_id = r.data->ptid; in ProcessRecord()
227 child_thread.thread_id = r.data->tid; in ProcessRecord()
254 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord()
301 if (thread.process_id == thread.thread_id) { in BuildProcessInfo()
358 entry.pid = thread->thread_id; in ReportProcessInfo()
407 thread->name.c_str(), thread->thread_id, in ReportProcessInfo()
Dcmd_report_sample.proto38 optional int32 thread_id = 2; field
130 optional uint32 thread_id = 1; field
153 optional uint32 thread_id = 3; field
Devent_selection_set.cpp81 std::atomic<pid_t> thread_id(0); in IsDumpingRegsForTracepointEventsSupported() local
83 thread_id = gettid(); in IsDumpingRegsForTracepointEventsSupported()
89 while (thread_id == 0) { in IsDumpingRegsForTracepointEventsSupported()
96 EventFd::OpenEventFile(attr, thread_id, -1, nullptr, event_type->name); in IsDumpingRegsForTracepointEventsSupported()
Dcmd_report_sample.cpp404 FprintIndented(report_fp_, 1, "thread_id: %d\n", sample.thread_id()); in DumpProtobufReport()
459 FprintIndented(report_fp_, 1, "thread_id: %u\n", thread.thread_id()); in DumpProtobufReport()
493 FprintIndented(report_fp_, 1, "thread_id: %u\n", context_switch.thread_id()); in DumpProtobufReport()
/system/nfc/src/fuzzers/nci/
Dnci.cc56 gki_cb.os.thread_id[NFC_TASK] = pthread_self(); in Fuzz_Init()