Searched refs:pid_str (Results 1 – 7 of 7) sorted by relevance
/system/core/init/ |
D | snapuserd_transition.cpp | 96 const char* pid_str = getenv(kSnapuserdFirstStagePidVar); in GetSnapuserdFirstStagePid() local 97 if (!pid_str) { in GetSnapuserdFirstStagePid() 102 if (!android::base::ParseInt(pid_str, &pid)) { in GetSnapuserdFirstStagePid() 104 << pid_str; in GetSnapuserdFirstStagePid()
|
D | service_utils.cpp | 310 std::string pid_str = std::to_string(getpid()); in WritePidToFiles() local 312 if (!WriteStringToFile(pid_str, file)) { in WritePidToFiles() 313 return ErrnoError() << "couldn't write " << pid_str << " to " << file; in WritePidToFiles()
|
/system/logging/logd/ |
D | LogAudit.cpp | 203 static const char pid_str[] = " pid="; in logPrint() local 204 char* pidptr = strstr(str, pid_str); in logPrint() 205 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { in logPrint() 206 cp = pidptr + sizeof(pid_str) - 1; in logPrint()
|
/system/memory/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/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/logging/logcat/ |
D | logcat.cpp | 561 static const char pid_str[] = "pid"; in Run() local 585 { pid_str, required_argument, nullptr, 0 }, in Run() 608 if (long_options[option_index].name == pid_str) { in Run()
|