Home
last modified time | relevance | path

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

12

/system/core/libprocinfo/
Dprocess_test.cpp34 static pid_t gettid() { in gettid() function
41 ASSERT_TRUE(android::procinfo::GetProcessInfo(gettid(), &self)); in TEST()
42 ASSERT_EQ(gettid(), self.tid); in TEST()
51 int fd = open(android::base::StringPrintf("/proc/%d", gettid()).c_str(), O_DIRECTORY | O_RDONLY); in TEST()
57 ASSERT_EQ(gettid(), self.tid); in TEST()
66 pid_t main_tid = gettid(); in TEST()
68 pid_t thread_tid = gettid(); in TEST()
/system/core/libbacktrace/
DBacktraceCurrent.cpp79 if (Tid() != gettid()) { in Unwind()
117 BACK_LOGE("pid %d, tid %d: Received a spurious signal %d\n", getpid(), gettid(), THREAD_SIGNAL); in SignalLogOnly()
123 ThreadEntry* entry = ThreadEntry::Get(getpid(), gettid(), false); in SignalHandler()
125 BACK_LOGE("pid %d, tid %d entry not found", getpid(), gettid()); in SignalHandler()
DBacktrace.cpp132 tid = gettid(); in Create()
/system/tpm/trunks/
Dtrunksd-seccomp-amd64.policy17 gettid: 1
74 gettid: 1
Dtrunksd-seccomp-arm64.policy17 gettid: 1
68 gettid: 1
Dtrunksd-seccomp-mips.policy17 gettid: 1
68 gettid: 1
Dtrunksd-seccomp-x86_64.policy17 gettid: 1
74 gettid: 1
Dtrunksd-seccomp-x86.policy17 gettid: 1
75 gettid: 1
Dtrunksd-seccomp-arm.policy17 gettid: 1
68 gettid: 1
/system/bt/osi/include/
Dcompat.h29 pid_t gettid(void);
/system/tpm/attestation/server/
Dattestationd-seccomp-x86.policy2 gettid: 1
Dattestationd-seccomp-arm.policy2 gettid: 1
Dattestationd-seccomp-amd64.policy18 gettid: 1
/system/core/libcutils/
Dsched_policy.cpp260 tid = gettid(); in get_sched_policy()
296 tid = gettid(); in set_cpuset_policy()
360 tid = gettid(); in set_sched_policy()
Dthreads.c36 pid_t gettid() { in gettid() function
/system/bt/osi/src/
Dcompat.cc38 pid_t gettid(void) { return syscall(SYS_gettid); } in gettid() function
/system/core/libcutils/include_vndk/cutils/
Dthreads.h40 extern pid_t gettid();
/system/bt/utils/src/
Dbt_utils.cc115 int tid = gettid(); in raise_priority_a2dp()
/system/extras/simpleperf/
Denvironment.h85 static inline int gettid() { in gettid() function
/system/core/libcutils/include/cutils/
Dthreads.h40 extern pid_t gettid();
/system/core/liblog/tests/
Dliblog_benchmark.cpp154 header.tid = gettid(); in BM_pmsg_short()
240 buffer->header.tid = gettid(); in BM_pmsg_short_aligned()
314 buffer->header.tid = gettid(); in BM_pmsg_short_unaligned1()
388 buffer->header.tid = gettid(); in BM_pmsg_long_aligned()
460 buffer->header.tid = gettid(); in BM_pmsg_long_unaligned1()
/system/tpm/tpm_manager/server/
Dtpm_managerd-seccomp-amd64.policy18 gettid: 1
/system/extras/tests/icachetest/
Dicache_main.cpp84 sched_setaffinity(gettid(), sizeof(g_cpu_set), &g_cpu_set); in main()
/system/extras/memory_replay/dumps/
DREADME12 The pid_t value that is the gettid() value recorded during the run.
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp78 pid_t current_tid = gettid(); in iterate_siblings()

12