/base/customization/enterprise_device_management/test/unittest/src/ |
D | iplugin_template_test.cpp | 42 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); 102 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::REMOVE, policyCode); 127 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode); 148 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::REMOVE, policyCode); 179 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode); 209 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::REMOVE, policyCode); 238 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, policyCode); 247 funcCode = POLICY_FUNC_CODE((uint32_t)FuncOperateType::REMOVE, policyCode); [all …]
|
D | plugin_manager_test.cpp | 60 POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, 0)); 64 POLICY_FUNC_CODE((uint32_t)FuncOperateType::SET, 100000)) == nullptr);
|
D | enterprise_device_mgr_ability_test.cpp | 103 …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 …]
|
D | enterprise_device_mgr_proxy_test.cpp | 84 …int funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETIM…
|
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/ |
D | user_cert_plugin_test.cpp | 118 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::GET, EdmInterfaceCode::INSTALL_CERTIFICATE); 141 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::INSTALL_CERTIFICATE); 164 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::INSTALL_CERTIFICATE); 189 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::INSTALL_CERTIFICATE); 198 …funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::INSTALL_CERT…
|
D | iptables_rule_plugin_test.cpp | 60 POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::IPTABLES_RULE); in ResetIptablesRule() 83 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::GET, EdmInterfaceCode::I… 102 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::I… 121 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode… 165 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::I… 193 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode… 213 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode… 233 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode… 276 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode…
|
D | reset_factory_plugin_test.cpp | 48 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::RESET_FACT…
|
D | usb_read_only_plugin_test.cpp | 62 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::U…
|
D | disallow_modify_datetime_plugin_test.cpp | 54 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISALLOW_MODIFY_DATETIME);
|
D | disable_hdc_plugin_test.cpp | 60 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::D…
|
D | disable_printer_plugin_test.cpp | 60 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::D…
|
D | network_manager_plugin_test.cpp | 142 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISABLED_N… 167 …uint32_t code = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISABLED_N…
|
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/ |
D | enterprise_device_mgr_proxy_test.cpp | 243 …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/common/native/include/ |
D | func_code.h | 56 #define POLICY_FUNC_CODE(OPERATE_TYPE, POLICY) CREATE_FUNC_CODE(1, OPERATE_TYPE, POLICY) macro
|
/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/src/ |
D | bundle_manager_proxy.cpp | 87 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::U… in Uninstall() 107 … funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, policyTypeMap_[policyType]); in AddBundlesByPolicyType() 132 … funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, policyTypeMap_[policyType]); in RemoveBundlesByPolicyType() 212 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::I… in Install() 281 …proxy->GetPolicy(POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::GET, EdmInterfaceCode::INSTALL),… in WriteFileToStream()
|
/base/customization/enterprise_device_management/interfaces/inner_api/application_manager/src/ |
D | application_manager_proxy.cpp | 51 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISALLOW_RUNNING_BUNDLES); in AddDisallowedRunningBundles() 71 …POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::DISALLOW_RUNNING_BUNDLE… in RemoveDisallowedRunningBundles()
|
/base/customization/enterprise_device_management/interfaces/inner_api/network_manager/src/ |
D | network_manager_proxy.cpp | 114 …POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISABLED_NETWORK_INTERFACE… in SetNetworkInterfaceDisabled() 157 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::I… in AddIptablesFilterRule() 170 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode… in RemoveIptablesFilterRule() 203 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::G… in SetGlobalHttpProxy()
|
/base/customization/enterprise_device_management/interfaces/inner_api/device_settings/src/ |
D | device_settings_proxy.cpp | 71 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::INSTALL_CERTIFICATE); in InstallUserCertificate() 96 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::INSTALL_CERTIFICATE); in UninstallUserCertificate()
|
/base/customization/enterprise_device_management/interfaces/inner_api/device_control/src/ |
D | device_control_proxy.cpp | 52 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::R… in ResetFactory()
|
/base/customization/enterprise_device_management/interfaces/inner_api/datetime_manager/src/ |
D | datetime_manager_proxy.cpp | 47 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::S… in SetDateTime()
|
/base/customization/enterprise_device_management/interfaces/inner_api/wifi_manager/src/ |
D | wifi_manager_proxy.cpp | 78 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::S… in SetWifiProfile()
|
/base/customization/enterprise_device_management/interfaces/inner_api/browser/src/ |
D | browser_proxy.cpp | 50 … POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_BROWSER_POLICIES); in SetPolicies()
|
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/ |
D | enterprise_device_mgr_proxy.cpp | 502 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::GET, (std::uint32_t)poli… in GetPolicy() 589 std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, policyCode); in SetPolicyDisabled()
|