Searched refs:pid_str (Results 1 – 4 of 4) sorted by relevance
/system/core/logd/ |
D | LogAudit.cpp | 138 static const char pid_str[] = " pid="; in logPrint() local 139 char *pidptr = strstr(str, pid_str); in logPrint() 140 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { in logPrint() 141 cp = pidptr + sizeof(pid_str) - 1; in logPrint()
|
/system/extras/memtrack/ |
D | memtrack.h | 78 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
|
D | memtrack.cpp | 127 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/init/ |
D | init.cpp | 294 std::string pid_str = android::base::StringPrintf("%d", pid); in service_start() local 296 if (!android::base::WriteStringToFile(pid_str, file)) { in service_start() 298 pid_str.c_str(), file.c_str(), strerror(errno)); in service_start()
|