Home
last modified time | relevance | path

Searched refs:SET (Results 1 – 25 of 48) sorted by relevance

12

/base/customization/enterprise_device_management/test/unittest/src/
Dplugin_manager_test.cpp60 POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, 0));
64 POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, 100000)) == nullptr);
Diplugin_template_test.cpp42 uint32_t funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
58 uint32_t funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
83 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
127 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
179 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
238 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
270 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
298 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
356 uint32_t funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode);
Dutils_test.cpp45 ASSERT_EQ(type, FuncOperateType::SET);
58 …FuncCodeUtils::CreateFuncCode(1, (std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETI…
61 ASSERT_TRUE(FuncCodeUtils::GetOperateType(code) == FuncOperateType::SET);
Denterprise_device_mgr_ability_test.cpp103 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, ARRAY_MAP_TESTPLUGIN_POLICYC…
125 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, ARRAY_MAP_TESTPLUGIN_POLICYC…
144 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, ARRAY_MAP_TESTPLUGIN_POLICYC…
163 uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, INVALID_POLICYCODE);
188 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, ARRAY_MAP_TESTPLUGIN_POLICYC…
218 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, ARRAY_MAP_TESTPLUGIN_POLICYC…
245 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, HANDLE_POLICY_BIFUNCTIONPLG_…
273 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, HANDLE_POLICY_BIFUNCTIONPLG_…
289 …code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, HANDLE_POLICY_BIFUNCTION_UNSAVE_PLG_P…
320 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, HANDLE_POLICY_JSON_BIFUNCTIO…
[all …]
/base/customization/enterprise_device_management/services/edm/src/
Dplugin_manager.cpp97 std::string permission = plugin->GetPermission(FuncOperateType::SET); in AddPlugin()
99 plugin->GetPermissionType(FuncOperateType::SET)); in AddPlugin()
159 it->second->GetPermission(FuncOperateType::SET).c_str()); in DumpPlugin()
166 it->second->GetPermission(FuncOperateType::SET).c_str()); in DumpPlugin()
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/
Denterprise_device_mgr_proxy_test.cpp243 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
256 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
290 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISABLED_PR…
306 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISABLED_PR…
340 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
353 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
369 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
419 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
435 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
451 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
[all …]
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dset_browser_policies_plugin.cpp32 ptr->InitPermission(FuncOperateType::SET, "ohos.permission.ENTERPRISE_SET_BROWSER_POLICY", in InitPlugin()
35 ptr->SetOnHandlePolicyListener(&SetBrowserPoliciesPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Ddisabled_network_interface_plugin.cpp33 ptr->InitPermission(FuncOperateType::SET, "ohos.permission.ENTERPRISE_SET_NETWORK", in InitPlugin()
38 …ptr->SetOnHandlePolicyListener(&DisabledNetworkInterfacePlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Dset_datetime_plugin.cpp32 ptr->SetOnHandlePolicyListener(&SetDateTimePlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Dset_wifi_profile_plugin.cpp36 ptr->SetOnHandlePolicyListener(&SetWifiProfilePlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Dusb_read_only_plugin.cpp33 ptr->SetOnHandlePolicyListener(&UsbReadOnlyPlugin::SetPolicy, FuncOperateType::SET); in InitPlugin()
Dreset_factory_plugin.cpp32 ptr->SetOnHandlePolicyListener(&ResetFactoryPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Ddisallow_modify_datetime_plugin.cpp31 ptr->SetOnHandlePolicyListener(&DisallModifyDateTimePlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Ddisable_printer_plugin.cpp32 ptr->SetOnHandlePolicyListener(&DisablePrinterPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Ddisallowed_uninstall_bundles_plugin.cpp33 …r->SetOnHandlePolicyListener(&DisallowedUninstallBundlesPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Ddisallowed_install_bundles_plugin.cpp33 …ptr->SetOnHandlePolicyListener(&DisallowedInstallBundlesPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Dallowed_install_bundles_plugin.cpp33 ptr->SetOnHandlePolicyListener(&AllowedInstallBundlesPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Ddisable_hdc_plugin.cpp34 ptr->SetOnHandlePolicyListener(&DisableHdcPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
Ddisallow_add_local_account_plugin.cpp32 … ptr->SetOnHandlePolicyListener(&DisallowAddLocalAccountPlugin::OnSetPolicy, FuncOperateType::SET); in InitPlugin()
/base/customization/enterprise_device_management/test/unittest/include/
Diplugin_template_test.h170 ptr->SetOnHandlePolicyListener(&HandlePolicySupplierPlg::SetSupplier, FuncOperateType::SET); in InitPlugin()
199 ptr->SetOnHandlePolicyListener(&HandlePolicyFunctionPlg::SetFunction, FuncOperateType::SET); in InitPlugin()
228 … ptr->SetOnHandlePolicyListener(&HandlePolicyBiFunctionPlg::SetFunction, FuncOperateType::SET); in InitPlugin()
245 … ptr->SetOnHandlePolicyDoneListener(&HandleDoneBoolConsumerPlg::SetDone, FuncOperateType::SET); in InitPlugin()
262 … ptr->SetOnHandlePolicyDoneListener(&HandleDoneBiBoolConsumerPlg::SetDone, FuncOperateType::SET); in InitPlugin()
351 … ptr->SetOnHandlePolicyListener(&HandlePolicyJsonBiFunctionPlg::SetFunction, FuncOperateType::SET); in InitPlugin()
376 …tr->SetOnHandlePolicyListener(&HandlePolicyBiFunctionUnsavePlg::SetFunction, FuncOperateType::SET); in InitPlugin()
401 … ptr->SetOnHandlePolicyListener(&HandlePolicyReplyFunctionPlg::SetFunction, FuncOperateType::SET); in InitPlugin()
/base/customization/enterprise_device_management/common/native/include/
Dfunc_code.h45 SET = 1, enumerator
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Dreset_factory_plugin_test.cpp48 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::RESET_FACT…
Dusb_read_only_plugin_test.cpp62 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::U…
Duser_cert_plugin_test.cpp141 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::INSTALL_CERTIFICATE);
189 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::INSTALL_CERTIFICATE);
/base/customization/enterprise_device_management/interfaces/inner_api/device_control/src/
Ddevice_control_proxy.cpp52 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::R… in ResetFactory()

12