Home
last modified time | relevance | path

Searched refs:process_info (Results 1 – 6 of 6) sorted by relevance

/system/core/libprocinfo/
Dprocess.cpp34 bool GetProcessInfo(pid_t tid, ProcessInfo* process_info, std::string* error) { in GetProcessInfo() argument
46 return GetProcessInfoFromProcPidFd(dirfd.get(), process_info, error); in GetProcessInfo()
67 bool GetProcessInfoFromProcPidFd(int fd, ProcessInfo* process_info, std::string* error) { in GetProcessInfoFromProcPidFd() argument
104 process_info->name = std::move(name); in GetProcessInfoFromProcPidFd()
108 process_info->tid = atoi(tab + 1); in GetProcessInfoFromProcPidFd()
111 process_info->pid = atoi(tab + 1); in GetProcessInfoFromProcPidFd()
114 process_info->ppid = atoi(tab + 1); in GetProcessInfoFromProcPidFd()
117 process_info->tracer = atoi(tab + 1); in GetProcessInfoFromProcPidFd()
120 process_info->uid = atoi(tab + 1); in GetProcessInfoFromProcPidFd()
123 process_info->gid = atoi(tab + 1); in GetProcessInfoFromProcPidFd()
[all …]
Dprocess_test.cpp42 TEST(process_info, process_info_smoke) { in TEST() argument
52 TEST(process_info, process_info_proc_pid_fd_smoke) { in TEST() argument
68 TEST(process_info, process_tids_smoke) { in TEST() argument
89 TEST(process_info, process_state) { in TEST() argument
/system/extras/libfec/
Dfec_process.cpp19 struct process_info { struct
33 process_info *p = static_cast<process_info *>(cookie); in __process() argument
80 process_info info[threads]; in process()
120 process_info *p = NULL; in process()
/system/extras/memtrack/
Dmemtrack.cpp142 cur_process_info_t process_info; in getInformation() local
144 process_info.pss_kb = 0; in getInformation()
146 process_info.pss_kb += pss_kb; in getInformation()
150 cur_[cmd_name_] = process_info; in getInformation()
152 cur_[cmd_name_].pss_kb += process_info.pss_kb; in getInformation()
/system/core/libprocinfo/include/procinfo/
Dprocess.h59 bool GetProcessInfo(pid_t tid, ProcessInfo* process_info, std::string* error = nullptr);
63 bool GetProcessInfoFromProcPidFd(int fd, ProcessInfo* process_info, std::string* error = nullptr);
/system/core/debuggerd/
Dcrash_dump.cpp79 android::procinfo::ProcessInfo process_info; in get_tracer() local
80 if (android::procinfo::GetProcessInfo(tracee, &process_info)) { in get_tracer()
81 return process_info.tracer; in get_tracer()