Home
last modified time | relevance | path

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

/system/core/init/
Dsnapuserd_transition.cpp96 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()
Dservice_utils.cpp310 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/
DLogAudit.cpp203 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/
DThreadCapture.cpp106 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/
Dmemtrack.h80 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
Dmemtrack.cpp123 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/
Dlogcat.cpp561 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()