/system/extras/memory_replay/tests/ |
D | ThreadTest.cpp | 54 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/bt/btif/src/ |
D | btif_sock_thread.cc | 90 pthread_t thread_id; member 106 pthread_t* thread_id) { in create_thread() argument 115 ret = pthread_create(thread_id, &thread_attr, start_routine, arg); in create_thread() 122 pthread_getschedparam(*thread_id, &policy, ¶m); in create_thread() 127 pthread_setschedparam(*thread_id, policy, ¶m); in create_thread() 161 ts[h].thread_id = -1; in btsock_thread_init() 184 ts[h].thread_id = thread; in btsock_thread_create() 185 APPL_TRACE_DEBUG("h:%d, thread id:%d", h, ts[h].thread_id); in btsock_thread_create() 233 if (ts[h].thread_id == pthread_self()) { in btsock_thread_add_fd() 333 if (ts[h].thread_id != -1) { in btsock_thread_exit() [all …]
|
D | btif_hl.cc | 4602 pthread_t thread_id = -1; in create_thread() local 4603 if (pthread_create(&thread_id, &thread_attr, start_routine, arg) != 0) { in create_thread() 4608 return thread_id; in create_thread()
|
/system/nfc/src/gki/ulinux/ |
D | gki_ulinux.cc | 87 pthread_t thread_id = pthread_self(); in gki_task_entry() local 91 p_pthread_info->task_id, gki_cb.os.thread_id[p_pthread_info->task_id], in gki_task_entry() 94 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry() 100 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry() 237 ret = pthread_create(&gki_cb.os.thread_id[task_id], &attr1, gki_task_entry, in GKI_create_task() 246 if (pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m) == in GKI_create_task() 259 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); in GKI_create_task() 264 gki_cb.os.thread_id[task_id], taskname, stack, stacksize); in GKI_create_task() 311 result = pthread_join(gki_cb.os.thread_id[task_id - 1], NULL); in GKI_shutdown() 642 gki_cb.os.thread_id[rtask] = 0; in GKI_wait() [all …]
|
D | gki_int.h | 33 pthread_t thread_id[GKI_MAX_TASKS]; member
|
/system/extras/simpleperf/ |
D | cmd_trace_sched.cpp | 57 pid_t thread_id = 0; member 226 thread.thread_id = r.data->tid; in ProcessRecord() 235 parent_thread.thread_id = r.data->ptid; in ProcessRecord() 237 child_thread.thread_id = r.data->tid; in ProcessRecord() 260 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord() 307 if (thread.process_id == thread.thread_id) { in BuildProcessInfo() 364 entry.pid = thread->thread_id; in ReportProcessInfo() 415 thread->name.c_str(), thread->thread_id, in ReportProcessInfo()
|
D | report_sample.proto | 23 optional int32 thread_id = 2; field 78 optional uint32 thread_id = 1; field
|
D | event_selection_set.cpp | 64 std::atomic<pid_t> thread_id(0); in IsDumpingRegsForTracepointEventsSupported() local 66 thread_id = gettid(); in IsDumpingRegsForTracepointEventsSupported() 72 while (thread_id == 0) { in IsDumpingRegsForTracepointEventsSupported() 79 EventFd::OpenEventFile(attr, thread_id, -1, nullptr); in IsDumpingRegsForTracepointEventsSupported()
|
D | cmd_report_sample.cpp | 340 FprintIndented(report_fp_, 1, "thread_id: %d\n", sample.thread_id()); in DumpProtobufReport() 385 FprintIndented(report_fp_, 1, "thread_id: %u\n", thread.thread_id()); in DumpProtobufReport()
|
/system/bt/common/ |
D | message_loop_thread_unittest.cc | 156 base::PlatformThreadId thread_id = message_loop_thread.GetThreadId(); in TEST_F() local 157 ASSERT_GE(thread_id, 0); in TEST_F() 166 ASSERT_EQ(thread_id, my_thread_id); in TEST_F()
|
/system/bt/btif/co/ |
D | bta_hh_co.cc | 190 pthread_t thread_id = -1; in create_thread() local 191 if (pthread_create(&thread_id, &thread_attr, start_routine, arg) != 0) { in create_thread() 196 return thread_id; in create_thread()
|