Searched refs:AreaPolicy (Results 1 – 5 of 5) sorted by relevance
32 AreaPolicy::AreaPolicy(const std::string& configPath) in AreaPolicy() function in OHOS::HiviewDFX::AreaPolicy37 void AreaPolicy::Parse(const std::string& configPath) in Parse()59 bool AreaPolicy::ParseAllowedInfos(const cJSON* config) in ParseAllowedInfos()79 bool AreaPolicy::ParseAllowedInfo(const cJSON* config, int32_t regionCode) in ParseAllowedInfo()125 bool AreaPolicy::IsAllowed(std::shared_ptr<SysEvent> event) const in IsAllowed()130 bool AreaPolicy::IsAllowedLevel(std::shared_ptr<SysEvent> event) const in IsAllowedLevel()141 bool AreaPolicy::IsAllowedPrivacy(std::shared_ptr<SysEvent> event) const in IsAllowedPrivacy()146 bool AreaPolicy::IsAllowedUe(std::shared_ptr<SysEvent> event) const in IsAllowedUe()
30 class AreaPolicy {32 AreaPolicy(const std::string& configPath);33 ~AreaPolicy() = default;
103 AreaPolicy areaPolicy(CONFIG_PATH1);126 AreaPolicy areaPolicy(CONFIG_PATH2);152 AreaPolicy areaPolicy(CONFIG_PATH3);175 AreaPolicy areaPolicy(CONFIG_PATH4);197 AreaPolicy areaPolicy(CONFIG_PATH5);
33 std::unique_ptr<AreaPolicy> areaPolicy_;
41 areaPolicy_ = std::make_unique<AreaPolicy>(configPath.append(configFileName)); in InitAreaPolicy()