Home
last modified time | relevance | path

Searched refs:UserPolicyManager (Results 1 - 5 of 5) sorted by relevance

/base/customization/enterprise_device_management/services/edm/src/
H A Duser_policy_manager.cpp27 UserPolicyManager::UserPolicyManager(int32_t userId) in UserPolicyManager() function in OHOS::EDM::UserPolicyManager
29 EDMLOGD("UserPolicyManager::UserPolicyManager %{public}d", userId); in UserPolicyManager()
33 ErrCode UserPolicyManager::GetAdminByPolicyName(const std::string &policyName, AdminValueItemsMap &adminValueItems) in GetAdminByPolicyName()
43 ErrCode UserPolicyManager::GetAllPolicyByAdmin(const std::string &adminName, PolicyItemsMap &allAdminPolicy) in GetAllPolicyByAdmin()
53 ErrCode UserPolicyManager::GetAdminPolicy(const std::string &adminName, const std::string &policyName, in GetAdminPolicy()
68 ErrCode UserPolicyManager::GetCombinedPolicy(const std::string &policyName, std::string &policyValue) in GetCombinedPolicy()
78 ErrCode UserPolicyManager::GetPolicy(const std::string &adminName, const std::string &policyName, in GetPolicy()
88 void UserPolicyManager
[all...]
H A Dpolicy_manager.cpp46 defaultPolicyMgr_ = std::make_shared<UserPolicyManager>(userId); in Init()
49 std::shared_ptr<UserPolicyManager> userPolicyMgr = std::make_shared<UserPolicyManager>(userId); in Init()
72 std::shared_ptr<UserPolicyManager> PolicyManager::GetUserPolicyMgr(int32_t userId) in GetUserPolicyMgr()
77 defaultPolicyMgr_ = std::make_shared<UserPolicyManager>(userId); in GetUserPolicyMgr()
86 std::shared_ptr<UserPolicyManager> userPolicyMgr = std::make_shared<UserPolicyManager>(userId); in GetUserPolicyMgr()
/base/customization/enterprise_device_management/services/edm/include/
H A Dpolicy_manager.h55 std::shared_ptr<UserPolicyManager> GetUserPolicyMgr(int32_t userId);
57 std::map<std::int32_t, std::shared_ptr<UserPolicyManager>> policyMgrMap_;
58 std::shared_ptr<UserPolicyManager> defaultPolicyMgr_;
H A Duser_policy_manager.h37 class UserPolicyManager { class
39 UserPolicyManager(int32_t userId);
111 UserPolicyManager();
/base/customization/enterprise_device_management/test/unittest/services/edm/src/
H A Duser_policy_manager_test.cpp43 userPolicyMgr_ = std::make_shared<UserPolicyManager>(DEFAULT_USER_ID);
53 std::shared_ptr<UserPolicyManager> userPolicyMgr_;
58 * @tc.desc: Test UserPolicyManager SetPolicy func.
96 * @tc.desc: Test UserPolicyManager GetPolicy func.
161 * @tc.desc: Test UserPolicyManager GetAdminByPolicyName func.
189 * @tc.desc: Test UserPolicyManager SetPolicy func.

Completed in 4 milliseconds