Lines Matching full:foreground
276 if (info.sectionMap["FOREGROUND"].empty() && info.id >= MIN_APP_USERID) { in AddPublicInfo()
278 UCollectUtil::FOREGROUND) { in AddPublicInfo()
279 info.sectionMap["FOREGROUND"] = "Yes"; in AddPublicInfo()
285 info.sectionMap["FOREGROUND"] = "Yes"; in AddPublicInfo()
287 info.sectionMap["FOREGROUND"] = "No"; in AddPublicInfo()
508 sysEvent->SetEventValue("FOREGROUND", info.sectionMap["FOREGROUND"]); in OnEvent()
557 std::string foreground = sysEvent->GetEventValue("FOREGROUND"); in ReportJsErrorToAppEvent() local
558 if (foreground == "Yes") { in ReportJsErrorToAppEvent()
559 params["foreground"] = true; in ReportJsErrorToAppEvent()
561 params["foreground"] = false; in ReportJsErrorToAppEvent()
888 if (info.sectionMap.count("FOREGROUND") == 1) { in GetStackInfo()
889 stackInfoObj["foreground"] = (info.sectionMap.at("FOREGROUND") == "Yes") ? true : false; in GetStackInfo()
1067 if (info.sectionMap.count("FOREGROUND") == 1) { in GetFreezeJsonCollector()
1068 std::string foreground = info.sectionMap.at("FOREGROUND"); in GetFreezeJsonCollector() local
1069 collector.foreground = (foreground == "Yes"); in GetFreezeJsonCollector()
1096 .InitForeground(collector.foreground) in ReportAppFreezeToAppEvent()