/base/customization/enterprise_device_management/interfaces/inner_api/restrictions/src/ |
D | restrictions_proxy.cpp | 42 EdmInterfaceCode::DISABLED_PRINTER); in SetPrinterDisabled() 48 EdmInterfaceCode::DISABLED_HDC); in SetHdcDisabled() 53 …return EnterpriseDeviceMgrProxy::GetInstance()->IsPolicyDisabled(admin, EdmInterfaceCode::DISABLED… in IsPrinterDisabled() 58 …return EnterpriseDeviceMgrProxy::GetInstance()->IsPolicyDisabled(admin, EdmInterfaceCode::DISABLED… in IsHdcDisabled()
|
/base/customization/enterprise_device_management/interfaces/kits/device_info/src/ |
D | device_info_addon.cpp | 36 return GetDeviceInfo(env, info, EdmInterfaceCode::GET_DEVICE_SERIAL); in GetDeviceSerial() 42 return GetDeviceInfo(env, info, EdmInterfaceCode::GET_DISPLAY_VERSION); in GetDisplayVersion() 48 return GetDeviceInfo(env, info, EdmInterfaceCode::GET_DEVICE_NAME); in GetDeviceName() 101 case static_cast<int32_t>(EdmInterfaceCode::GET_DEVICE_SERIAL): in NativeGetDeviceInfo() 105 case static_cast<int32_t>(EdmInterfaceCode::GET_DISPLAY_VERSION): in NativeGetDeviceInfo() 109 case static_cast<int32_t>(EdmInterfaceCode::GET_DEVICE_NAME): in NativeGetDeviceInfo()
|
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/ |
D | restrictions_addon.cpp | 24 {EdmInterfaceCode::DISABLED_PRINTER, &RestrictionsProxy::SetPrinterDisabled}, 25 {EdmInterfaceCode::DISABLED_HDC, &RestrictionsProxy::SetHdcDisabled}, 29 {EdmInterfaceCode::DISABLED_PRINTER, &RestrictionsProxy::IsPrinterDisabled}, 30 {EdmInterfaceCode::DISABLED_HDC, &RestrictionsProxy::IsHdcDisabled}, 47 return SetPolicyDisabled(env, info, EdmInterfaceCode::DISABLED_PRINTER); in SetPrinterDisabled() 52 return SetPolicyDisabled(env, info, EdmInterfaceCode::DISABLED_HDC); in SetHdcDisabled() 119 return IsPolicyDisabled(env, info, EdmInterfaceCode::DISABLED_PRINTER); in IsPrinterDisabled() 124 return IsPolicyDisabled(env, info, EdmInterfaceCode::DISABLED_HDC); in IsHdcDisabled()
|
/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() 59 EdmInterfaceCode::DISALLOW_MODIFY_DATETIME); in DisallowModifyDateTime() 65 …return EnterpriseDeviceMgrProxy::GetInstance()->IsPolicyDisabled(admin, EdmInterfaceCode::DISALLOW… in IsModifyDateTimeDisallowed()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_stub.cpp | 40 memberFuncMap_[EdmInterfaceCode::ADD_DEVICE_ADMIN] = &EnterpriseDeviceMgrStub::EnableAdminInner; in AddCallFuncMap() 41 …memberFuncMap_[EdmInterfaceCode::REMOVE_DEVICE_ADMIN] = &EnterpriseDeviceMgrStub::DisableAdminInne… in AddCallFuncMap() 42 …memberFuncMap_[EdmInterfaceCode::REMOVE_SUPER_ADMIN] = &EnterpriseDeviceMgrStub::DisableSuperAdmin… in AddCallFuncMap() 43 …memberFuncMap_[EdmInterfaceCode::GET_ENABLED_ADMIN] = &EnterpriseDeviceMgrStub::GetEnabledAdminInn… in AddCallFuncMap() 44 … memberFuncMap_[EdmInterfaceCode::GET_ENT_INFO] = &EnterpriseDeviceMgrStub::GetEnterpriseInfoInner; in AddCallFuncMap() 45 … memberFuncMap_[EdmInterfaceCode::SET_ENT_INFO] = &EnterpriseDeviceMgrStub::SetEnterpriseInfoInner; in AddCallFuncMap() 46 memberFuncMap_[EdmInterfaceCode::IS_SUPER_ADMIN] = &EnterpriseDeviceMgrStub::IsSuperAdminInner; in AddCallFuncMap() 47 …memberFuncMap_[EdmInterfaceCode::IS_ADMIN_ENABLED] = &EnterpriseDeviceMgrStub::IsAdminEnabledInner; in AddCallFuncMap() 48 …memberFuncMap_[EdmInterfaceCode::SUBSCRIBE_MANAGED_EVENT] = &EnterpriseDeviceMgrStub::SubscribeMan… in AddCallFuncMap() 49 memberFuncMap_[EdmInterfaceCode::UNSUBSCRIBE_MANAGED_EVENT] = in AddCallFuncMap() [all …]
|
/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 …funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::IPTABLES_RUL… 165 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::I… 193 …funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::IPTABLES_RUL… 213 …funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::IPTABLES_RUL… 233 …funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::IPTABLES_RUL… 276 …funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::IPTABLES_RUL…
|
/base/customization/enterprise_device_management/interfaces/inner_api/device_info/src/ |
D | device_info_proxy.cpp | 45 return GetDeviceInfo(admin, info, EdmInterfaceCode::GET_DEVICE_SERIAL); in GetDeviceSerial() 50 return GetDeviceInfo(admin, info, EdmInterfaceCode::GET_DISPLAY_VERSION); in GetDisplayVersion() 55 return GetDeviceInfo(admin, info, EdmInterfaceCode::GET_DEVICE_NAME); in GetDeviceName()
|
/base/customization/enterprise_device_management/interfaces/inner_api/network_manager/src/ |
D | network_manager_proxy.cpp | 60 proxy->GetPolicy(EdmInterfaceCode::GET_NETWORK_INTERFACES, data, reply); in GetAllNetworkInterfaces() 114 …POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::DISABLED_NETWORK_INTERFACE… in SetNetworkInterfaceDisabled() 141 proxy->GetPolicy(EdmInterfaceCode::DISABLED_NETWORK_INTERFACE, data, reply); in IsNetworkInterfaceDisabled() 157 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::I… in AddIptablesFilterRule() 170 …funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::REMOVE, EdmInterfaceCode::IPTABLES_RUL… in RemoveIptablesFilterRule() 187 … EnterpriseDeviceMgrProxy::GetInstance()->GetPolicy(EdmInterfaceCode::IPTABLES_RULE, data, reply); in ListIptablesFilterRules() 203 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::G… in SetGlobalHttpProxy() 233 EnterpriseDeviceMgrProxy::GetInstance()->GetPolicy(EdmInterfaceCode::GLOBAL_PROXY, data, reply); in GetGlobalHttpProxy()
|
/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() 96 proxy->GetPolicy(EdmInterfaceCode::DISALLOW_RUNNING_BUNDLES, data, reply); in GetDisallowedRunningBundles()
|
/base/customization/enterprise_device_management/interfaces/inner_api/device_settings/src/ |
D | device_settings_proxy.cpp | 53 proxy->GetPolicy(EdmInterfaceCode::SCREEN_OFF_TIME, data, reply); in GetScreenOffTime() 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/test/unittest/src/ |
D | utils_test.cpp | 58 …FuncCodeUtils::CreateFuncCode(1, (std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::SET_DATETI… 63 ASSERT_TRUE(FuncCodeUtils::GetPolicyCode(code) == EdmInterfaceCode::SET_DATETIME); 65 code = EdmInterfaceCode::ADD_DEVICE_ADMIN;
|
/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/interfaces/inner_api/common/src/ |
D | enterprise_device_mgr_proxy.cpp | 81 ErrCode res = remote->SendRequest(EdmInterfaceCode::ADD_DEVICE_ADMIN, data, reply, option); in EnableAdmin() 110 ErrCode res = remote->SendRequest(EdmInterfaceCode::REMOVE_DEVICE_ADMIN, data, reply, option); in DisableAdmin() 138 ErrCode res = remote->SendRequest(EdmInterfaceCode::REMOVE_SUPER_ADMIN, data, reply, option); in DisableSuperAdmin() 166 ErrCode res = remote->SendRequest(EdmInterfaceCode::GET_ENABLED_ADMIN, data, reply, option); in GetEnabledAdmin() 195 ErrCode res = remote->SendRequest(EdmInterfaceCode::GET_ENT_INFO, data, reply, option); in GetEnterpriseInfo() 230 ErrCode res = remote->SendRequest(EdmInterfaceCode::SET_ENT_INFO, data, reply, option); in SetEnterpriseInfo() 260 uint32_t policyCode = EdmInterfaceCode::SUBSCRIBE_MANAGED_EVENT; in HandleManagedEvent() 262 policyCode = EdmInterfaceCode::UNSUBSCRIBE_MANAGED_EVENT; in HandleManagedEvent() 290 ErrCode res = remote->SendRequest(EdmInterfaceCode::IS_SUPER_ADMIN, data, reply, option); in IsSuperAdmin() 322 ErrCode res = remote->SendRequest(EdmInterfaceCode::IS_ADMIN_ENABLED, data, reply, option); in IsAdminEnabled() [all …]
|
/base/customization/enterprise_device_management/interfaces/inner_api/wifi_manager/src/ |
D | wifi_manager_proxy.cpp | 58 proxy->GetPolicy(EdmInterfaceCode::IS_WIFI_ACTIVE, data, reply); in IsWifiActive() 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/bundle_manager/src/ |
D | bundle_manager_proxy.cpp | 52 …policyTypeMap_[static_cast<int32_t>(PolicyType::ALLOW_INSTALL)] = EdmInterfaceCode::ALLOWED_INSTAL… in AddPolicyTypeMap() 53 …policyTypeMap_[static_cast<int32_t>(PolicyType::DISALLOW_INSTALL)] = EdmInterfaceCode::DISALLOWED_… in AddPolicyTypeMap() 55 EdmInterfaceCode::DISALLOWED_UNINSTALL_BUNDLES; in AddPolicyTypeMap() 87 …std::uint32_t funcCode = POLICY_FUNC_CODE((std::uint32_t)FuncOperateType::SET, EdmInterfaceCode::U… in Uninstall() 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/services/edm_plugin/src/ |
D | set_datetime_plugin.cpp | 29 …ptr->InitAttribute(EdmInterfaceCode::SET_DATETIME, "set_datetime", "ohos.permission.ENTERPRISE_SET… in InitPlugin()
|
D | get_device_serial_plugin.cpp | 29 ptr->InitAttribute(EdmInterfaceCode::GET_DEVICE_SERIAL, "get_device_serial", in InitPlugin()
|
D | get_display_version_plugin.cpp | 29 ptr->InitAttribute(EdmInterfaceCode::GET_DISPLAY_VERSION, "get_display_version", in InitPlugin()
|
D | set_wifi_profile_plugin.cpp | 33 …ptr->InitAttribute(EdmInterfaceCode::SET_WIFI_PROFILE, "set_wifi_profile", "ohos.permission.ENTERP… in InitPlugin()
|
D | usb_read_only_plugin.cpp | 30 …ptr->InitAttribute(EdmInterfaceCode::USB_READ_ONLY, "usb_read_only", "ohos.permission.ENTERPRISE_M… in InitPlugin()
|
D | reset_factory_plugin.cpp | 29 …ptr->InitAttribute(EdmInterfaceCode::RESET_FACTORY, "reset_factory", "ohos.permission.ENTERPRISE_R… in InitPlugin()
|
/base/customization/enterprise_device_management/interfaces/inner_api/common/include/ |
D | edm_ipc_interface_code.h | 22 enum EdmInterfaceCode : uint32_t { enum
|
/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() 95 …EnterpriseDeviceMgrProxy::GetInstance()->GetPolicy(EdmInterfaceCode::SET_BROWSER_POLICIES, data, r… in GetPolicies()
|
/base/customization/enterprise_device_management/interfaces/inner_api/usb_manager/src/ |
D | usb_manager_proxy.cpp | 44 …seDeviceMgrProxy::GetInstance()->SetPolicyDisabled(admin, readOnly, EdmInterfaceCode::USB_READ_ONL… in SetUsbReadOnly()
|