/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/core/debuggerd/libdebuggerd/ |
D | gwp_asan.cpp | 172 uint64_t thread_id = __gwp_asan_get_deallocation_thread_id(responsible_allocation_); in DumpDeallocationTrace() local 178 if (thread_id == gwp_asan::kInvalidThreadID) { in DumpDeallocationTrace() 181 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread %" PRIu64 ":\n", thread_id); in DumpDeallocationTrace() 199 uint64_t thread_id = __gwp_asan_get_allocation_thread_id(responsible_allocation_); in DumpAllocationTrace() local 205 if (thread_id == gwp_asan::kInvalidThreadID) { in DumpAllocationTrace() 208 _LOG(log, logtype::BACKTRACE, "\nallocated by thread %" PRIu64 ":\n", thread_id); in DumpAllocationTrace()
|
/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 …]
|
/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() 235 ret = pthread_create(&gki_cb.os.thread_id[task_id], &attr1, gki_task_entry, in GKI_create_task() 244 if (pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m) == in GKI_create_task() 257 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); in GKI_create_task() 262 gki_cb.os.thread_id[task_id], taskname, stack, stacksize); in GKI_create_task() 309 result = pthread_join(gki_cb.os.thread_id[task_id - 1], NULL); in GKI_shutdown() 640 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 | 58 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() 250 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord() 297 if (thread.process_id == thread.thread_id) { in BuildProcessInfo() 354 entry.pid = thread->thread_id; in ReportProcessInfo() 405 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 | 71 std::atomic<pid_t> thread_id(0); in IsDumpingRegsForTracepointEventsSupported() local 73 thread_id = gettid(); in IsDumpingRegsForTracepointEventsSupported() 79 while (thread_id == 0) { in IsDumpingRegsForTracepointEventsSupported() 86 EventFd::OpenEventFile(attr, thread_id, -1, nullptr, event_type->name); in IsDumpingRegsForTracepointEventsSupported()
|
D | cmd_report_sample.cpp | 343 FprintIndented(report_fp_, 1, "thread_id: %d\n", sample.thread_id()); in DumpProtobufReport() 388 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 | 212 pthread_t thread_id = -1; in create_thread() local 213 if (pthread_create(&thread_id, &thread_attr, start_routine, arg) != 0) { in create_thread() 218 return thread_id; in create_thread()
|