/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 | 91 std::optional<pthread_t> thread_id; member 107 pthread_t* thread_id) { in create_thread() argument 116 ret = pthread_create(thread_id, &thread_attr, start_routine, arg); in create_thread() 123 pthread_getschedparam(*thread_id, &policy, ¶m); in create_thread() 128 pthread_setschedparam(*thread_id, policy, ¶m); in create_thread() 160 ts[h].thread_id = std::nullopt; in btsock_thread_init() 181 ts[h].thread_id = thread; in btsock_thread_create() 227 if (ts[h].thread_id.value() == pthread_self()) { in btsock_thread_add_fd() 325 if (ts[h].thread_id != std::nullopt) { in btsock_thread_exit() 326 pthread_join(ts[h].thread_id.value(), 0); 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/core/debuggerd/libdebuggerd/ |
D | gwp_asan.cpp | 227 uint64_t thread_id = __gwp_asan_get_deallocation_thread_id(responsible_allocation_); in DumpDeallocationTrace() local 233 if (thread_id == gwp_asan::kInvalidThreadID) { in DumpDeallocationTrace() 236 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread %" PRIu64 ":\n", thread_id); in DumpDeallocationTrace() 254 uint64_t thread_id = __gwp_asan_get_allocation_thread_id(responsible_allocation_); in DumpAllocationTrace() local 260 if (thread_id == gwp_asan::kInvalidThreadID) { in DumpAllocationTrace() 263 _LOG(log, logtype::BACKTRACE, "\nallocated by thread %" PRIu64 ":\n", thread_id); in DumpAllocationTrace()
|
/system/extras/simpleperf/ |
D | cmd_trace_sched.cpp | 58 pid_t thread_id = 0; member 219 thread.thread_id = r.data->tid; in ProcessRecord() 228 parent_thread.thread_id = r.data->ptid; in ProcessRecord() 230 child_thread.thread_id = r.data->tid; in ProcessRecord() 253 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord() 300 if (thread.process_id == thread.thread_id) { in BuildProcessInfo() 357 entry.pid = thread->thread_id; in ReportProcessInfo() 406 thread->name.c_str(), thread->thread_id, in ReportProcessInfo()
|
D | cmd_report_sample.proto | 23 optional int32 thread_id = 2; field 115 optional uint32 thread_id = 1; field
|
D | event_selection_set.cpp | 77 std::atomic<pid_t> thread_id(0); in IsDumpingRegsForTracepointEventsSupported() local 79 thread_id = gettid(); in IsDumpingRegsForTracepointEventsSupported() 85 while (thread_id == 0) { in IsDumpingRegsForTracepointEventsSupported() 92 EventFd::OpenEventFile(attr, thread_id, -1, nullptr, event_type->name); in IsDumpingRegsForTracepointEventsSupported()
|
D | cmd_report_sample.cpp | 393 FprintIndented(report_fp_, 1, "thread_id: %d\n", sample.thread_id()); in DumpProtobufReport() 448 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/nfc/src/fuzzers/nci/ |
D | nci.cc | 56 gki_cb.os.thread_id[NFC_TASK] = pthread_self(); in Fuzz_Init()
|
/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()
|