Lines Matching defs:binderInfo
402 void ParsePeerBinder(const std::string& binderInfo, std::string& binderInfoJsonStr)
405 StringUtil::SplitStr(binderInfo, "\\n", lines, false, true);
651 void EventLogger::ParsePeerStack(std::string& binderInfo, std::string& binderPeerStack)
653 if (binderInfo.empty() || !IsKernelStack(binderInfo)) {
657 auto index = binderInfo.find(tags);
662 oss << binderInfo.substr(0, index);
663 std::string bodys = binderInfo.substr(index, binderInfo.size());
676 binderInfo = oss.str();
684 std::string binderInfo = event -> GetEventValue("BINDER_INFO");
688 size_t splitIndex = binderInfo.find(",");
690 HIVIEW_LOGI("Current binderInfo is? binderInfo:%{public}s", binderInfo.c_str());
691 StringUtil::SplitStr(binderInfo.substr(splitIndex + 1), " ", binderPids);
692 std::string binderPath = binderInfo.substr(0, splitIndex);
694 binderInfo = GetAppFreezeFile(binderPath);
697 ParsePeerBinder(binderInfo, binderInfoJsonStr);
699 ParsePeerStack(binderInfo, kernelStack);
721 if (!binderInfo.empty()) {
722 oss << StringUtil::UnescapeJsonStringValue(binderInfo) << std::endl;