Home
last modified time | relevance | path

Searched refs:pidStr (Results 1 – 2 of 2) sorted by relevance

/aosp12/hardware/google/pixel/perfstatsd/
H A Dcpu_usage.cpp83 std::string pidStr = ent->d_name; in profileProcess() local
84 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()
/aosp12/frameworks/native/libs/binderdebug/
H A DBinderDebug.cpp84 for (const std::string& pidStr : base::Split(line.substr(pos + proc.size()), " ")) { in getBinderPidInfo() local
86 if (!::android::base::ParseInt(pidStr, &pid)) { in getBinderPidInfo()