Home
last modified time | relevance | path

Searched defs:tid (Results 1 – 25 of 113) sorted by relevance

12345

/system/unwinding/libunwindstack/benchmarks/
Dthread_unwind_benchmarks.cpp30 void ThreadCall6(std::atomic_int* tid, std::atomic_bool* done) { in ThreadCall6()
37 void ThreadCall5(std::atomic_int* tid, std::atomic_bool* done) { in ThreadCall5()
41 void ThreadCall4(std::atomic_int* tid, std::atomic_bool* done) { in ThreadCall4()
45 void ThreadCall3(std::atomic_int* tid, std::atomic_bool* done) { in ThreadCall3()
49 void ThreadCall2(std::atomic_int* tid, std::atomic_bool* done) { in ThreadCall2()
53 void ThreadCall1(std::atomic_int* tid, std::atomic_bool* done) { in ThreadCall1()
58 std::atomic_int tid(0); in BM_thread_unwind() local
/system/nfc/src/nfc/llcp/
Dllcp_sdp.cc103 static void llcp_sdp_add_sdreq(uint8_t tid, char* p_name) { in llcp_sdp_add_sdreq()
128 tLLCP_STATUS llcp_sdp_send_sdreq(uint8_t tid, char* p_name) { in llcp_sdp_send_sdreq()
200 static void llcp_sdp_add_sdres(uint8_t tid, uint8_t sap) { in llcp_sdp_add_sdres()
224 static tLLCP_STATUS llcp_sdp_send_sdres(uint8_t tid, uint8_t sap) { in llcp_sdp_send_sdres()
325 static void llcp_sdp_return_sap(uint8_t tid, uint8_t sap) { in llcp_sdp_return_sap()
386 uint8_t type, length, tid, sap, *p_value; in llcp_sdp_proc_snl() local
/system/extras/memory_replay/
DThreads.cpp72 Thread* Threads::CreateThread(pid_t tid) { in CreateThread()
92 Thread* Threads::FindThread(pid_t tid) { in FindThread()
119 size_t Threads::GetHashEntry(pid_t tid) { in GetHashEntry()
123 Thread* Threads::FindEmptyEntry(pid_t tid) { in FindEmptyEntry()
/system/memory/libmemunreachable/
DThreadCapture.cpp138 pid_t tid = atoi(dirent->d_name); in ListThreads() local
179 void ThreadCaptureImpl::PtraceDetach(pid_t tid, unsigned int signal) { in PtraceDetach()
188 int ThreadCaptureImpl::PtraceAttach(pid_t tid) { in PtraceAttach()
211 bool ThreadCaptureImpl::PtraceThreadInfo(pid_t tid, ThreadInfo& thread_info) { in PtraceThreadInfo()
251 int ThreadCaptureImpl::CaptureThread(pid_t tid) { in CaptureThread()
297 bool ThreadCaptureImpl::ReleaseThread(pid_t tid) { in ReleaseThread()
305 bool ThreadCaptureImpl::ReleaseThread(pid_t tid, unsigned int signal) { in ReleaseThread()
355 bool ThreadCapture::ReleaseThread(pid_t tid) { in ReleaseThread()
/system/extras/simpleperf/
DCallChainJoiner.cpp45 void LRUCache::AddCallChain(pid_t tid, std::vector<uint64_t>& ips, std::vector<uint64_t>& sps) { in AddCallChain()
112 CacheNode* LRUCache::GetNode(uint32_t tid, uint64_t ip, uint64_t sp) { in GetNode()
177 static bool WriteCallChain(FILE* fp, pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in WriteCallChain()
205 static bool ReadCallChain(FILE* fp, pid_t& pid, pid_t& tid, CallChainJoiner::ChainType& type, in ReadCallChain()
231 static bool ReadCallChainInReverseOrder(FILE* fp, pid_t& pid, pid_t& tid, in ReadCallChainInReverseOrder()
288 bool CallChainJoiner::AddCallChain(pid_t pid, pid_t tid, ChainType type, in AddCallChain()
339 pid_t tid; in JoinCallChains() local
381 bool CallChainJoiner::GetNextCallChain(pid_t& pid, pid_t& tid, ChainType& type, in GetNextCallChain()
DCallChainJoiner_test.cpp26 static bool JoinCallChain(LRUCache& cache, uint32_t tid, const std::vector<uint64_t>& input_ip, in JoinCallChain()
178 pid_t tid; in TEST_F() local
238 pid_t tid; in TEST_F() local
256 pid_t tid; in TEST_F() local
Dthread_tree.cpp44 void ThreadTree::SetThreadName(int pid, int tid, const std::string& comm) { in SetThreadName()
52 bool ThreadTree::ForkThread(int pid, int tid, int ppid, int ptid) { in ForkThread()
85 ThreadEntry* ThreadTree::FindThreadOrNew(int pid, int tid) { in FindThreadOrNew()
96 ThreadEntry* ThreadTree::CreateThread(int pid, int tid) { in CreateThread()
127 void ThreadTree::ExitThread(int pid, int tid) { in ExitThread()
167 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddThreadMap()
/system/core/libprocessgroup/
Dsched_policy.cpp41 int set_cpuset_policy(int tid, SchedPolicy policy) { in set_cpuset_policy()
67 int set_sched_policy(int tid, SchedPolicy policy) { in set_sched_policy()
157 static int getCGroupSubsys(int tid, const char* subsys, std::string& subgroup) { in getCGroupSubsys()
188 int get_sched_policy(int tid, SchedPolicy* policy) { in get_sched_policy()
/system/unwinding/libunwindstack/utils/
DProcessTracer.cpp100 bool ProcessTracer::Detach(pid_t tid) { in Detach()
121 bool ProcessTracer::Attach(pid_t tid) { in Attach()
157 for (pid_t tid : tids_) { in StopInDesiredElf() local
/system/unwinding/libunwindstack/tools/
Dunwind_for_offline.cpp79 bool CreateAndChangeDumpDir(std::filesystem::path thread_dir, pid_t tid, bool is_main_thread) { in CreateAndChangeDumpDir()
104 bool SaveStack(pid_t tid, const std::vector<std::pair<uint64_t, uint64_t>>& stacks, in SaveStack()
179 bool CreateElfFromMemory(pid_t tid, unwindstack::MapInfo* map_info, std::string* name) { in CreateElfFromMemory()
217 bool CopyMapInfo(pid_t tid, unwindstack::MapInfo* map_info, in CopyMapInfo()
263 void SaveMapInfo(FILE* maps_fp, pid_t tid, unwindstack::MapInfo* map_info, in SaveMapInfo()
275 bool SaveData(pid_t tid, const std::filesystem::path& cwd, bool is_main_thread, FILE* output_fp) { in SaveData()
412 for (const pid_t& tid : proc.tids()) { in main() local
/system/unwinding/libunwindstack/utils/tests/
DProcessTracerTest.cpp153 static void VerifyState(pid_t tid, bool running) { in VerifyState()
173 for (const pid_t& tid : proc.tids()) { in VerifyState() local
200 for (const pid_t& tid : proc.tids()) { in TEST_P() local
213 for (const pid_t& tid : proc.tids()) { in TEST_P() local
241 for (const pid_t& tid : proc.tids()) { in TEST_P() local
251 for (const pid_t& tid : proc.tids()) { in TEST_P() local
/system/core/libutils/
DCallStack_test.cpp38 __attribute__((__noinline__)) extern "C" void ThreadBusyWait(std::atomic<pid_t>* tid, in ThreadBusyWait()
50 std::atomic<pid_t> tid = -1; in TEST() local
/system/logging/logd/
DRecordingLogBuffer.cpp27 pid_t tid, const char* msg, uint16_t len) { in RecordLogMessage()
58 int RecordingLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log()
DLogBufferElement.cpp34 pid_t tid, uint64_t sequence, const char* msg, uint16_t len) in LogBufferElement()
101 char* android::tidToName(pid_t tid) { in tidToName()
DSerializedLogEntry.h36 SerializedLogEntry(uid_t uid, pid_t pid, pid_t tid, uint64_t sequence, log_time realtime, in SerializedLogEntry()
82 pid_t tid() const { return tid_; } in tid() function
/system/core/libcutils/
Dthreads.cpp34 uint64_t tid; in gettid() local
/system/unwinding/libunwindstack/
DAndroidUnwinder.cpp127 bool AndroidUnwinder::Unwind(std::optional<pid_t> tid, AndroidUnwinderData& data) { in Unwind()
179 bool AndroidLocalUnwinder::InternalUnwind(std::optional<pid_t> tid, AndroidUnwinderData& data) { in InternalUnwind()
227 bool AndroidRemoteUnwinder::InternalUnwind(std::optional<pid_t> tid, AndroidUnwinderData& data) { in InternalUnwind()
DThreadEntry.cpp37 ThreadEntry::ThreadEntry(pid_t tid) : tid_(tid), ref_count_(1), wait_value_(0) { in ThreadEntry()
42 ThreadEntry* ThreadEntry::Get(pid_t tid, bool create) { in Get()
/system/libartpalette/
Dpalette_android.cc61 palette_status_t PaletteSchedSetPriority(int32_t tid, int32_t managed_priority) { in PaletteSchedSetPriority()
79 palette_status_t PaletteSchedGetPriority(int32_t tid, /*out*/ int32_t* managed_priority) { in PaletteSchedGetPriority()
253 palette_status_t PaletteSetTaskProfiles(int32_t tid, const char* const profiles[], in PaletteSetTaskProfiles()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp108 pid_t tid; in forward_output() local
138 int32_t tid; member
142 static uint64_t pack_thread_fd(pid_t tid, int fd) { in pack_thread_fd()
213 if (!iterate_tids(current_tid, [&output_fd, &current_tid](pid_t tid) { in trace_handler()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp96 for (int tid : tids) { in get_wchan_data() local
117 bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int timeout_ms, in debuggerd_trigger_dump()
300 int dump_backtrace_to_file(pid_t tid, DebuggerdDumpType dump_type, int fd) { in dump_backtrace_to_file()
304 int dump_backtrace_to_file_timeout(pid_t tid, DebuggerdDumpType dump_type, int timeout_secs, in dump_backtrace_to_file_timeout()
/system/core/debuggerd/
Dutil.cpp57 std::string get_thread_name(pid_t tid) { in get_thread_name()
89 pid_t tid = atoi(entry->d_name); in iterate_tids() local
/system/libprocinfo/include/procinfo/
Dprocess.h53 pid_t tid; member
90 pid_t tid; variable
/system/core/libprocessgroup/tools/
Dsettaskprofile.cpp38 int tid = atoi(argv[1]); in main() local
/system/libbase/
Dthreads.cpp51 int tgkill(int tgid, int tid, int sig) { in tgkill()

12345