Home
last modified time | relevance | path

Searched refs:SetPolicy (Results 1 – 6 of 6) sorted by relevance

/base/customization/enterprise_device_management/test/unittest/src/
Dpolicy_manager_test.cpp45 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 …]
Denterprise_device_mgr_ability_test.cpp81 … edmMgr_->policyMgr_->SetPolicy(ADMIN_PACKAGENAME, HANDLE_POLICY_BIFUNCTIONPLG_POLICYNAME, "", ""); in TearDown()
/base/security/permission_lite/services/ipc_auth/src/
Dipc_auth_impl.c70 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/
Dpolicy_manager.h79 …ErrCode SetPolicy(const std::string &adminName, const std::string &policyName, const std::string &…
/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_ability.cpp431 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()
Dpolicy_manager.cpp517 ErrCode PolicyManager::SetPolicy(const std::string &adminName, const std::string &policyName, in SetPolicy() function in OHOS::EDM::PolicyManager