Searched refs:pidStr (Results 1 – 2 of 2) sorted by relevance
83 std::string pidStr = ent->d_name; in profileProcess() local84 std::string::const_iterator it = pidStr.begin(); in profileProcess()85 while (it != pidStr.end() && isdigit(*it)) ++it; in profileProcess()86 if (!pidStr.empty() && it == pidStr.end()) { in profileProcess()88 if (android::base::ReadFileToString("/proc/" + pidStr + "/stat", &pidStat)) { in profileProcess()
84 for (const std::string& pidStr : base::Split(line.substr(pos + proc.size()), " ")) { in getBinderPidInfo() local86 if (!::android::base::ParseInt(pidStr, &pid)) { in getBinderPidInfo()