Home
last modified time | relevance | path

Searched refs:gettid (Results 1 – 25 of 47) 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/netd/resolv/
Dres_state.cpp75 LOG(VERBOSE) << __func__ << ": rt=" << rt << " for thread=" << gettid(); in res_thread_free()
105 LOG(VERBOSE) << __func__ << ": tid=" << gettid() << ", rt=" << rt in res_thread_get()
109 LOG(VERBOSE) << __func__ << ": tid=" << gettid() << " rt=" << rt in res_thread_get()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp82 thread.tid = gettid(); in debuggerd_fallback_trace()
83 thread.thread_name = get_thread_name(gettid()); in debuggerd_fallback_trace()
111 pid_t current_tid = gettid(); in iterate_siblings()
202 if (tid != gettid()) { in trace_handler()
205 "thread %d received output fd for thread %d?", gettid(), tid); in trace_handler()
212 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_64.policy11 gettid: 1
Dcrash_dump.arm64.policy11 gettid: 1
Dcrash_dump.arm.policy12 gettid: 1
Dcrash_dump.x86.policy12 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/extras/simpleperf/
Dcmd_stat_test.cpp201 tid = gettid(); in TEST()
258 child_tid = gettid(); in TEST()
273 set2.AddMonitoredThreads({gettid()}); in TEST()
Dcmd_list.cpp48 std::unique_ptr<EventFd> event_fd = EventFd::OpenEventFile(attr, gettid(), -1, nullptr); in IsEventTypeSupported()
Denvironment.h96 static inline int gettid() { in gettid() function
/system/core/libcutils/
Dthreads.cpp36 pid_t gettid() { in gettid() function
Dtrace-container.cpp128 int tid = gettid(); \
/system/bt/utils/src/
Dbt_utils.cc115 int tid = gettid(); in raise_priority_a2dp()
/system/core/liblog/tests/
Dliblog_benchmark.cpp212 header.tid = gettid(); in BM_pmsg_short()
299 buffer->header.tid = gettid(); in BM_pmsg_short_aligned()
374 buffer->header.tid = gettid(); in BM_pmsg_short_unaligned1()
449 buffer->header.tid = gettid(); in BM_pmsg_long_aligned()
522 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/memory_replay/dumps/
DREADME12 The pid_t value that is the gettid() value recorded during the run.
/system/core/liblog/
Dstderr_write.cpp164 log_msg.entry.tid = gettid(); in stderrWrite()

12