Searched refs:SetPolicy (Results 1 – 6 of 6) sorted by relevance
/base/customization/enterprise_device_management/test/unittest/src/ |
D | policy_manager_test.cpp | 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"); 79 res = PolicyManager::GetInstance()->SetPolicy(adminName1, policyName, "true", "true"); 101 res = PolicyManager::GetInstance()->SetPolicy(adminName, policyName, adminPolicy, mergedPolicy); 112 res = PolicyManager::GetInstance()->SetPolicy(TEST_ADMIN_NAME1, policyName, "", "mergedValue1"); 131 res = PolicyManager::GetInstance()->SetPolicy(TEST_ADMIN_NAME, TEST_STRING_POLICY_NAME, 134 res = PolicyManager::GetInstance()->SetPolicy(TEST_ADMIN_NAME, TEST_BOOL_POLICY_NAME, [all …]
|
D | enterprise_device_mgr_ability_test.cpp | 81 … edmMgr_->policyMgr_->SetPolicy(ADMIN_PACKAGENAME, HANDLE_POLICY_BIFUNCTIONPLG_POLICYNAME, "", ""); in TearDown()
|
/base/security/permission_lite/services/ipc_auth/src/ |
D | ipc_auth_impl.c | 70 static void SetPolicy(const IpcPolicy *policy, PolicyTrans *policyTrans) in SetPolicy() function 141 SetPolicy(&policy, *policies + index); in SetPolicies()
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | policy_manager.h | 79 …ErrCode SetPolicy(const std::string &adminName, const std::string &policyName, const std::string &…
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_ability.cpp | 431 setRet = policyMgr_->SetPolicy("", policyName, "", ""); in RemoveAdminItem() 433 setRet = policyMgr_->SetPolicy(adminName, policyName, "", mergedPolicyData); in RemoveAdminItem() 638 policyMgr_->SetPolicy(admin.GetBundleName(), policyName, policyValue, mergedPolicy); in HandleDevicePolicy()
|
D | policy_manager.cpp | 517 ErrCode PolicyManager::SetPolicy(const std::string &adminName, const std::string &policyName, in SetPolicy() function in OHOS::EDM::PolicyManager
|