Home
last modified time | relevance | path

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

/system/core/logd/
DLogAudit.cpp138 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/
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/init/
Dinit.cpp294 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()