Searched refs:pid_str (Results 1 – 9 of 9) sorted by relevance
/system/extras/perfprofd/scripts/ |
D | perf_proto_json2sqlite.py | 113 pid_str = str(pid) 114 if pid_str in name_map: 115 return name_map[pid_str]
|
/system/core/libmemunreachable/ |
D | ThreadCapture.cpp | 106 char* pid_str = pid_to_str(pid_buf, sizeof(pid_buf), pid_); in ListThreads() local 107 if (!pid_str) { in ListThreads() 110 strlcat(path, pid_str, sizeof(path)); in ListThreads()
|
/system/core/logd/ |
D | LogAudit.cpp | 299 static const char pid_str[] = " pid="; in logPrint() local 300 char* pidptr = strstr(str, pid_str); in logPrint() 301 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { in logPrint() 302 cp = pidptr + sizeof(pid_str) - 1; in logPrint()
|
/system/extras/memtrack/ |
D | memtrack.h | 80 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
|
D | memtrack.cpp | 123 bool ProcessInfo::getInformation(int pid, char *pid_str, size_t pid_str_len) { in getInformation() argument 124 memcpy(proc_file_ + kProcLen, pid_str, pid_str_len); in getInformation()
|
/system/extras/perfprofd/ |
D | perfprofdcore.cc | 513 std::string pid_str; in invoke_perf() local 519 pid_str = std::to_string(config.process); in invoke_perf() 520 argv[slot++] = pid_str.c_str(); in invoke_perf()
|
/system/vold/ |
D | VolumeManager.cpp | 714 const std::string pid_str = android::base::StringPrintf("%d", pid); in runCommandInNamespace() local 716 openat(dir.get(), pid_str.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in runCommandInNamespace()
|
/system/core/init/ |
D | service.cpp | 898 std::string pid_str = std::to_string(getpid()); in Start() local 900 if (!WriteStringToFile(pid_str, file)) { in Start() 901 PLOG(ERROR) << "couldn't write " << pid_str << " to " << file; in Start()
|
/system/core/logcat/ |
D | logcat.cpp | 867 static const char pid_str[] = "pid"; in __logcat() local 890 { pid_str, required_argument, nullptr, 0 }, in __logcat() 912 if (long_options[option_index].name == pid_str) { in __logcat()
|