Home
last modified time | relevance | path

Searched refs:pid_str (Results 1 – 9 of 9) sorted by relevance

/system/core/logd/
DLogAudit.cpp144 static const char pid_str[] = " pid="; in logPrint() local
145 char *pidptr = strstr(str, pid_str); in logPrint()
146 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { in logPrint()
147 cp = pidptr + sizeof(pid_str) - 1; in logPrint()
/system/core/libmemunreachable/
DThreadCapture.cpp104 char* pid_str = pid_to_str(pid_buf, sizeof(pid_buf), pid_); in ListThreads() local
105 if (!pid_str) { in ListThreads()
108 strlcat(path, pid_str, sizeof(path)); in ListThreads()
/system/extras/simpleperf/
Denvironment.h67 bool GetValidThreadsFromProcessString(const std::string& pid_str, std::set<pid_t>* tid_set);
Denvironment.cpp371 bool GetValidThreadsFromProcessString(const std::string& pid_str, std::set<pid_t>* tid_set) { in GetValidThreadsFromProcessString() argument
372 std::vector<std::string> strs = android::base::Split(pid_str, ","); in GetValidThreadsFromProcessString()
/system/extras/memtrack/
Dmemtrack.h78 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
Dmemtrack.cpp127 bool ProcessInfo::getInformation(int pid, char *pid_str, size_t pid_str_len) { in getInformation() argument
128 memcpy(proc_file_ + kProcLen, pid_str, pid_str_len); in getInformation()
/system/core/logcat/
Dlogcat.cpp577 static const char pid_str[] = "pid"; in main() local
594 { pid_str, required_argument, NULL, 0 }, in main()
618 if (long_options[option_index].name == pid_str) { in main()
/system/core/init/
Dservice.cpp412 std::string pid_str = StringPrintf("%d", getpid()); in Start() local
414 if (!WriteStringToFile(pid_str, file)) { in Start()
416 pid_str.c_str(), file.c_str(), strerror(errno)); in Start()
/system/vold/
DCommandListener.cpp690 const std::string pid_str = android::base::StringPrintf("%d", pid); in runCommandInNamespace() local
692 openat(dirfd(dir.get()), pid_str.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in runCommandInNamespace()