Home
last modified time | relevance | path

Searched refs:gettid (Results 1 – 25 of 46) sorted by relevance

12

/system/core/libprocinfo/
Dprocess_test.cpp37 static pid_t gettid() { in gettid() function
44 ASSERT_TRUE(android::procinfo::GetProcessInfo(gettid(), &self)); in TEST()
45 ASSERT_EQ(gettid(), self.tid); in TEST()
54 int fd = open(android::base::StringPrintf("/proc/%d", gettid()).c_str(), O_DIRECTORY | O_RDONLY); in TEST()
60 ASSERT_EQ(gettid(), self.tid); in TEST()
69 pid_t main_tid = gettid(); in TEST()
71 pid_t thread_tid = gettid(); in TEST()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp83 thread.tid = gettid(); in debuggerd_fallback_trace()
84 thread.thread_name = get_thread_name(gettid()); in debuggerd_fallback_trace()
112 pid_t current_tid = gettid(); in iterate_siblings()
203 if (tid != gettid()) { in trace_handler()
206 "thread %d received output fd for thread %d?", gettid(), tid); in trace_handler()
213 async_safe_format_log(ANDROID_LOG_ERROR, "libc", "cmpxchg for thread %d failed", gettid()); in trace_handler()
/system/bt/osi/include/
Dcompat.h29 pid_t gettid(void);
/system/core/libcutils/include_vndk/cutils/
Dthreads.h36 extern pid_t gettid();
/system/core/libcutils/include/cutils/
Dthreads.h36 extern pid_t gettid();
/system/core/base/
Dthreads.cpp35 return gettid(); in GetThreadId()
/system/bt/vendor_libs/linux/interface/
Dasync_fd_watcher.cc121 if (sched_setscheduler(gettid(), SCHED_FIFO, &rt_params)) { in ThreadRoutine()
123 getpid(), gettid(), strerror(errno)); in ThreadRoutine()
/system/core/debuggerd/seccomp_policy/
Dcrash_dump.x86.policy12 gettid: 1
Dcrash_dump.x86_64.policy11 gettid: 1
Dcrash_dump.arm.policy12 gettid: 1
Dcrash_dump.arm64.policy11 gettid: 1
Dcrash_dump.policy.def16 gettid: 1
/system/bt/osi/src/
Dcompat.cc38 pid_t gettid(void) { return syscall(SYS_gettid); } in gettid() function
/system/core/libcutils/
Dthreads.cpp36 pid_t gettid() { in gettid() function
Dtrace-container.cpp137 int tid = gettid(); \
/system/bt/utils/src/
Dbt_utils.cc115 int tid = gettid(); in raise_priority_a2dp()
/system/core/liblog/tests/
Dliblog_benchmark.cpp195 header.tid = gettid(); in BM_pmsg_short()
282 buffer->header.tid = gettid(); in BM_pmsg_short_aligned()
357 buffer->header.tid = gettid(); in BM_pmsg_short_unaligned1()
432 buffer->header.tid = gettid(); in BM_pmsg_long_aligned()
505 buffer->header.tid = gettid(); in BM_pmsg_long_unaligned1()
/system/extras/tests/icachetest/
Dicache_main.cpp84 sched_setaffinity(gettid(), sizeof(g_cpu_set), &g_cpu_set); in main()
/system/netd/server/
DProcess.cpp126 out << "ppid:" << getppid() << " -> pid:" << getpid() << " -> tid:" << gettid() << '\n'; in dump()
/system/extras/simpleperf/
Denvironment.h96 static inline int gettid() { in gettid() function
Dcmd_list.cpp65 EventFd::OpenEventFile(attr, gettid(), -1, nullptr, event_type.name, false); in IsEventTypeSupported()
Dcmd_stat_test.cpp220 tid = gettid(); in TEST()
277 child_tid = gettid(); in TEST()
292 set2.AddMonitoredThreads({gettid()}); in TEST()
/system/core/liblog/
Dlogd_writer.cpp113 header.tid = gettid(); in LogdWrite()
Dpmsg_writer.cpp118 header.tid = gettid(); in PmsgWrite()
/system/extras/memory_replay/traces/
DREADME12 The pid_t value that is the gettid() value recorded during the run.

12