/base/customization/enterprise_device_management/test/unittest/include/ |
D | plugin_manager_test.h | 38 …ePolicy(std::uint32_t funcCode, MessageParcel &data, MessageParcel &reply, std::string &policyData, in OnHandlePolicy() argument 44 ErrCode MergePolicyData(const std::string &adminName, std::string &policyData) override in MergePolicyData() argument 46 return IPlugin::MergePolicyData(adminName, policyData); in MergePolicyData() 52 …ErrCode OnAdminRemove(const std::string &adminName, const std::string &policyData, int32_t userId)… in OnAdminRemove() argument 57 …void OnAdminRemoveDone(const std::string &adminName, const std::string &policyData, int32_t userId… in OnAdminRemoveDone() argument 59 ErrCode WritePolicyToParcel(const std::string &policyData, MessageParcel &reply) override in WritePolicyToParcel() argument 61 return IPlugin::WritePolicyToParcel(policyData, reply); in WritePolicyToParcel() 64 …ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply, int32_t us… in OnGetPolicy() argument
|
D | iplugin_mock.h | 32 …ePolicy(std::uint32_t funcCode, MessageParcel &data, MessageParcel &reply, std::string &policyData, in OnHandlePolicy() argument 41 …ErrCode OnAdminRemove(const std::string &adminName, const std::string &policyData, int32_t userId)… in OnAdminRemove() argument 54 …ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply, int32_t us… in OnGetPolicy() argument
|
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/ |
D | disallow_modify_datetime_plugin_test.cpp | 52 std::string policyData{"false"}; variable 56 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 59 ASSERT_TRUE(policyData == "true"); 72 std::string policyData{"true"}; variable 75 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID);
|
D | device_info_plugin_test.cpp | 45 std::string policyData{"TestString"}; variable 48 ErrCode ret = plugin_->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID); 60 std::string policyData{"TestString"}; variable 63 ErrCode ret = plugin_->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID);
|
D | user_cert_plugin_test.cpp | 116 std::string policyData{"TestString"}; variable 120 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 139 std::string policyData{"TestString"}; variable 143 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 162 std::string policyData{"TestString"}; variable 166 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 187 std::string policyData{"TestString"}; variable 191 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 202 …ret = plugin->OnHandlePolicy(funcCode, dataUninstall, replyUninstall, policyData, isChanged, DEFAU…
|
D | disable_printer_plugin_test.cpp | 59 std::string policyData{"false"}; variable 62 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 64 ASSERT_TRUE(policyData == "true"); 76 std::string policyData{"false"}; variable 79 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID);
|
D | network_manager_plugin_test.cpp | 62 std::string policyData{"TestGetAllNetworkInterfaces"}; variable 65 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID); 77 std::string policyData{"TestGetIpAddress"}; variable 80 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID); 92 std::string policyData{"TestGetMac"}; variable 95 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID); 107 std::string policyData; variable 112 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID); 124 std::string policyData; variable 129 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID);
|
D | is_wifi_active_plugin_test.cpp | 55 std::string policyData{"TestIsWifiActive"}; variable 59 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID); 72 std::string policyData{"TestIsWifiActive"}; variable 75 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID);
|
D | disable_hdc_plugin_test.cpp | 59 std::string policyData{"false"}; variable 62 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 75 std::string policyData{"false"}; variable 78 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID);
|
D | usb_read_only_plugin_test.cpp | 61 std::string policyData{"false"}; variable 64 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 67 ASSERT_TRUE(policyData == "true");
|
D | iptables_rule_plugin_test.cpp | 82 std::string policyData{"TestString"}; variable 85 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 101 std::string policyData{"TestString"}; variable 104 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 120 std::string policyData{"TestString"}; variable 123 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… 135 std::string policyData{"TestString"}; variable 138 ErrCode ret = plugin->OnGetPolicy(policyData, data, reply, DEFAULT_USER_ID); 164 std::string policyData{"TestString"}; variable 167 …ErrCode ret = plugin->OnHandlePolicy(funcCode, data, reply, policyData, isChanged, DEFAULT_USER_ID… [all …]
|
D | reset_factory_plugin_test.cpp | 49 std::string policyData{""}; variable 52 ErrCode ret = plugin->OnHandlePolicy(code, data, reply, policyData, isChanged, DEFAULT_USER_ID);
|
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/include/ |
D | iplugin.h | 49 std::string &policyData, bool &isChanged, int32_t userId) = 0; 58 virtual ErrCode MergePolicyData(const std::string &adminName, std::string &policyData); 61 …virtual ErrCode OnAdminRemove(const std::string &adminName, const std::string &policyData, int32_t… 64 virtual ErrCode WritePolicyToParcel(const std::string &policyData, MessageParcel &reply); 65 virtual ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply,
|
D | iplugin_template.h | 40 …ePolicy(std::uint32_t funcCode, MessageParcel &data, MessageParcel &reply, std::string &policyData, 43 ErrCode MergePolicyData(const std::string &adminName, std::string &policyData) override; 52 ErrCode WritePolicyToParcel(const std::string &policyData, MessageParcel &reply) override; 54 …ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply, int32_t us… 209 virtual bool GetMergePolicyData(DT &policyData); 399 std::string &policyData, bool &isChanged, int32_t userId) in OnHandlePolicy() argument 407 ErrCode res = entry->second.handlePolicy_(data, reply, policyData, isChanged, type, userId); in OnHandlePolicy() 413 ErrCode IPluginTemplate<CT, DT>::OnGetPolicy(std::string &policyData, MessageParcel &data, MessageP… in OnGetPolicy() argument 417 return instance_->OnGetPolicy(policyData, data, reply, userId); in OnGetPolicy() 426 …auto handle = [this](MessageParcel &data, MessageParcel &reply, std::string &policyData, bool &isC… in SetOnHandlePolicyListener() [all …]
|
/base/customization/enterprise_device_management/services/edm_plugin/src/ |
D | disable_printer_plugin.cpp | 40 ErrCode DisablePrinterPlugin::OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParc… in OnGetPolicy() argument 43 EDMLOGI("DisablePrinterPlugin OnGetPolicy %{public}s...", policyData.c_str()); in OnGetPolicy() 45 pluginInstance_->serializer_->Deserialize(policyData, isDisabled); in OnGetPolicy()
|
D | disallowed_uninstall_bundles_plugin.cpp | 39 ErrCode DisallowedUninstallBundlesPlugin::OnGetPolicy(std::string &policyData, MessageParcel &data, in OnGetPolicy() argument 43 policyData.c_str(), userId); in OnGetPolicy() 44 return GetBundlePolicy(policyData, data, reply, userId); in OnGetPolicy()
|
D | disallowed_install_bundles_plugin.cpp | 39 ErrCode DisallowedInstallBundlesPlugin::OnGetPolicy(std::string &policyData, MessageParcel &data, M… in OnGetPolicy() argument 43 policyData.c_str(), userId); in OnGetPolicy() 44 return GetBundlePolicy(policyData, data, reply, userId); in OnGetPolicy()
|
D | allowed_install_bundles_plugin.cpp | 39 ErrCode AllowedInstallBundlesPlugin::OnGetPolicy(std::string &policyData, MessageParcel &data, Mess… in OnGetPolicy() argument 42 …InstallBundlesPlugin OnGetPolicy policyData : %{public}s, userId : %{public}d", policyData.c_str(), in OnGetPolicy() 44 return GetBundlePolicy(policyData, data, reply, userId); in OnGetPolicy()
|
D | disabled_network_interface_plugin.cpp | 41 ErrCode DisabledNetworkInterfacePlugin::OnGetPolicy(std::string &policyData, MessageParcel &data, M… in OnGetPolicy() argument 59 ErrCode DisabledNetworkInterfacePlugin::OnSetPolicy(std::map<std::string, std::string> &policyData) in OnSetPolicy() argument 62 if (policyData.empty()) { in OnSetPolicy() 66 auto it = policyData.begin(); in OnSetPolicy()
|
D | disallow_modify_datetime_plugin.cpp | 39 ErrCode DisallModifyDateTimePlugin::OnGetPolicy(std::string &policyData, MessageParcel &data, Messa… in OnGetPolicy() argument 43 pluginInstance_->serializer_->Deserialize(policyData, disallow); in OnGetPolicy()
|
D | set_browser_policies_plugin.cpp | 55 ErrCode SetBrowserPoliciesPlugin::OnGetPolicy(std::string &policyData, MessageParcel &data, Message… in OnGetPolicy() argument 59 pluginInstance_->serializer_->Deserialize(policyData, policies); in OnGetPolicy()
|
/base/customization/enterprise_device_management/services/edm_plugin/include/ |
D | user_cert_plugin.h | 28 …ePolicy(std::uint32_t funcCode, MessageParcel &data, MessageParcel &reply, std::string &policyData, 34 …ErrCode OnAdminRemove(const std::string &adminName, const std::string &policyData, int32_t userId)… in OnAdminRemove() argument 41 …ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply, int32_t us… in OnGetPolicy() argument
|
D | disabled_network_interface_plugin.h | 29 …ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply, int32_t us… 31 ErrCode OnSetPolicy(std::map<std::string, std::string> &policyData);
|
D | iptables_rule_plugin.h | 29 …ePolicy(std::uint32_t funcCode, MessageParcel &data, MessageParcel &reply, std::string &policyData, 35 …ErrCode OnAdminRemove(const std::string &adminName, const std::string &policyData, int32_t userId)… in OnAdminRemove() argument 42 …ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply, int32_t us…
|
/base/customization/enterprise_device_management/interfaces/inner_api/common/include/ |
D | enterprise_device_mgr_proxy.h | 61 bool GetPolicyValue(AppExecFwk::ElementName *admin, int policyCode, std::string &policyData, 63 …etPolicyArray(AppExecFwk::ElementName *admin, int policyCode, std::vector<std::string> &policyData, 65 …Map(AppExecFwk::ElementName *admin, int policyCode, std::map<std::string, std::string> &policyData,
|