Searched refs:PolicyManager (Results 1 – 11 of 11) sorted by relevance
/base/customization/enterprise_device_management/test/unittest/src/ |
D | policy_manager_test.cpp | 39 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 …]
|
D | enterprise_device_mgr_ability_test.cpp | 76 edmMgr_->policyMgr_ = PolicyManager::GetInstance(); in SetUp()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | policy_manager.cpp | 30 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 …]
|
D | iplugin.cpp | 49 std::shared_ptr<PolicyManager> ptr = PolicyManager::GetInstance(); in MergePolicyData()
|
D | enterprise_device_mgr_ability.cpp | 228 policyMgr_ = PolicyManager::GetInstance(); in OnStart()
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | policy_manager.h | 36 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_;
|
D | enterprise_device_mgr_ability.h | 88 std::shared_ptr<PolicyManager> policyMgr_;
|
D | iplugin_template.h | 468 PolicyManager::GetInstance()->GetAdminByPolicyName(GetPolicyName(), adminValues); in MergePolicyData() 674 PolicyManager::GetInstance()->GetAdminByPolicyName(GetPolicyName(), adminValues); in GetMergePolicyData()
|
/base/customization/enterprise_device_management/ |
D | README_zh.md | 18 - 策略管理模块(PolicyManager)负责管理和持久化企业设置的管控策略。
|
D | README.md | 18 - 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/ |
D | enterprise_device_mgr_ability_test.cpp | 102 edmMgr_->policyMgr_ = PolicyManager::GetInstance(); in SetUp()
|