Home
last modified time | relevance | path

Searched refs:AreaPolicy (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/privacy_controller/config/
H A Darea_policy.cpp32 AreaPolicy::AreaPolicy(const std::string& configPath) in AreaPolicy() function in OHOS::HiviewDFX::AreaPolicy
37 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()
/ohos5.0/base/hiviewdfx/hiview/plugins/privacy_controller/config/include/
H A Darea_policy.h30 class AreaPolicy {
32 AreaPolicy(const std::string& configPath);
33 ~AreaPolicy() = default;
/ohos5.0/base/hiviewdfx/hiview/plugins/privacy_controller/test/unittest/common/
H A Dprivacy_controller_test.cpp103 AreaPolicy areaPolicy(CONFIG_PATH1);
126 AreaPolicy areaPolicy(CONFIG_PATH2);
152 AreaPolicy areaPolicy(CONFIG_PATH3);
175 AreaPolicy areaPolicy(CONFIG_PATH4);
197 AreaPolicy areaPolicy(CONFIG_PATH5);
/ohos5.0/base/hiviewdfx/hiview/plugins/privacy_controller/include/
H A Dprivacy_controller.h33 std::unique_ptr<AreaPolicy> areaPolicy_;
/ohos5.0/base/hiviewdfx/hiview/plugins/privacy_controller/
H A Dprivacy_controller.cpp41 areaPolicy_ = std::make_unique<AreaPolicy>(configPath.append(configFileName)); in InitAreaPolicy()