Home
last modified time | relevance | path

Searched refs:featureId (Results 1 - 10 of 10) sorted by relevance

/base/hiviewdfx/hiview/utility/smart_parser/rule/
H A Dcompose_rule.cpp69 for (const auto& featureId : featureIds) { in ParseRule()
70 map<string, string> composeParams = GetMapFromJson(json, featureId); in ParseRule()
71 composeRules_.emplace_back(pair<string, map<string, string>>(featureId, composeParams)); in ParseRule()
80 std::map<std::string, std::string> ComposeRule::GetMapFromJson(const Json::Value& json, const string& featureId) in GetMapFromJson() argument
82 if (!json.isMember(featureId)) { in GetMapFromJson()
83 HIVIEW_LOGE("ComposeRule don't have %{public}s featureId.", featureId.c_str()); in GetMapFromJson()
87 auto value = json[featureId]; in GetMapFromJson()
H A Dextract_rule.cpp100 for (const auto& featureId : featureIds) { in ParseRule()
101 if (!IsMatchId(eventType, featureId) || !IsMatchPath(path, dirOrFile, subcatalog, fsets.fullPath)) { in ParseRule()
110 featureSets_.emplace(pair<string, FeatureSet>(featureId, fsets)); in ParseRule()
111 featureIds_.emplace_back(featureId); in ParseRule()
112 HIVIEW_LOGI("ParseFile eventId %{public}s, FeatureId %{public}s.", eventType.c_str(), featureId.c_str()); in ParseRule()
124 bool ExtractRule::IsMatchId(const string& eventType, const string& featureId) const in IsMatchId()
126 string firstMatch = StringUtil::GetRightSubstr(featureId, "_"); in IsMatchId()
/base/hiviewdfx/hiview/utility/smart_parser/rule/include/
H A Dcompose_rule.h36 std::map<std::string, std::string> GetMapFromJson(const Json::Value& json, const std::string& featureId);
H A Dextract_rule.h41 bool IsMatchId(const std::string& eventType, const std::string& featureId) const;
/base/powermgr/powermgr_lite/services/src/
H A Dscreen_saver_feature.c55 f->identity.featureId = -1; in OnScreenSaverFeatureStop()
H A Dpower_manage_feature.c52 f->identity.featureId = -1; in OnPowerManageFeatureStop()
/base/security/device_security_level/services/sa/lite/mini/
H A Ddslm_service_feature.c55 g_dslmFeature.identity.featureId = -1; in FEATURE_OnStop()
/base/security/device_security_level/services/sa/lite/small/
H A Ddslm_service_feature.c56 g_dslmFeature.identity.featureId = -1; in FEATURE_OnStop()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
H A Dhks_samgr_service_feature.c62 g_hksMgrFeature.identity.featureId = -1; in FEATURE_OnStop()
/base/startup/appspawn/lite/
H A Dappspawn_service.c75 identity.serviceId, identity.featureId); in Initialize()

Completed in 4 milliseconds