Home
last modified time | relevance | path

Searched refs:PolicyManager (Results 1 – 11 of 11) sorted by relevance

/base/customization/enterprise_device_management/test/unittest/src/
Dpolicy_manager_test.cpp39 PolicyManager::GetInstance()->Init(); in SetUpTestCase()
45 PolicyManager::GetInstance()->SetPolicy(TEST_ADMIN_NAME, TEST_BOOL_POLICY_NAME, "", ""); in TearDown()
46 PolicyManager::GetInstance()->SetPolicy(TEST_ADMIN_NAME1, TEST_BOOL_POLICY_NAME, "", ""); in TearDown()
48 PolicyManager::GetInstance()->SetPolicy(TEST_ADMIN_NAME, TEST_STRING_POLICY_NAME, "", ""); in TearDown()
49 PolicyManager::GetInstance()->SetPolicy(TEST_ADMIN_NAME1, TEST_STRING_POLICY_NAME, "", ""); in TearDown()
68 res = PolicyManager::GetInstance()->SetPolicy(adminName, policyName, "false", "true");
72 res = PolicyManager::GetInstance()->GetPolicy(adminName, policyName, policyValue);
75 res = PolicyManager::GetInstance()->GetPolicy("", policyName, policyValue);
79 res = PolicyManager::GetInstance()->SetPolicy(adminName1, policyName, "true", "true");
81 res = PolicyManager::GetInstance()->GetPolicy(adminName, policyName, policyValue);
[all …]
Denterprise_device_mgr_ability_test.cpp76 edmMgr_->policyMgr_ = PolicyManager::GetInstance(); in SetUp()
/base/customization/enterprise_device_management/services/edm/src/
Dpolicy_manager.cpp30 std::shared_ptr<PolicyManager> PolicyManager::instance_;
31 std::mutex PolicyManager::mutexLock_;
33 PolicyManager::PolicyManager() in PolicyManager() function in OHOS::EDM::PolicyManager
38 PolicyManager::~PolicyManager() in ~PolicyManager()
43 bool PolicyManager::ParsePolicyItems(const Json::Value &items, PolicyItemsMap &itemsMap) in ParsePolicyItems()
60 bool PolicyManager::ParseAdminList(const std::string &adminName, const PolicyItemsMap &itemsMap) in ParseAdminList()
86 bool PolicyManager::ParseAdminPolicy(const Json::Value &admin) in ParseAdminPolicy()
109 bool PolicyManager::ParseCombinedPolicy(const Json::Value &combined) in ParseCombinedPolicy()
118 ErrCode PolicyManager::ParseDevicePolicyJsonFile(const Json::Value &policyRoot) in ParseDevicePolicyJsonFile()
155 ErrCode PolicyManager::LoadPolicy() in LoadPolicy()
[all …]
Diplugin.cpp49 std::shared_ptr<PolicyManager> ptr = PolicyManager::GetInstance(); in MergePolicyData()
Denterprise_device_mgr_ability.cpp228 policyMgr_ = PolicyManager::GetInstance(); in OnStart()
/base/customization/enterprise_device_management/services/edm/include/
Dpolicy_manager.h36 class PolicyManager : public std::enable_shared_from_this<PolicyManager> {
43 static std::shared_ptr<PolicyManager> GetInstance();
114 virtual ~PolicyManager();
117 PolicyManager();
171 static std::shared_ptr<PolicyManager> instance_;
Denterprise_device_mgr_ability.h88 std::shared_ptr<PolicyManager> policyMgr_;
Diplugin_template.h468 PolicyManager::GetInstance()->GetAdminByPolicyName(GetPolicyName(), adminValues); in MergePolicyData()
674 PolicyManager::GetInstance()->GetAdminByPolicyName(GetPolicyName(), adminValues); in GetMergePolicyData()
/base/customization/enterprise_device_management/
DREADME_zh.md18 - 策略管理模块(PolicyManager)负责管理和持久化企业设置的管控策略。
DREADME.md18 - PolicyManager manages and persists the governance policies set by the enterprise.
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/
Denterprise_device_mgr_ability_test.cpp102 edmMgr_->policyMgr_ = PolicyManager::GetInstance(); in SetUp()