Home
last modified time | relevance | path

Searched refs:Protocol (Results 1 – 10 of 10) sorted by relevance

/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h32 enum class Protocol { INVALID = -1, ALL, TCP, UDP, ICMP }; enum
42 Protocol protocol;
50 protocol = Protocol::INVALID; in AddFilter()
60 protocol = Protocol::INVALID; in RemoveFilter()
75 static void ProcessFirewallProtocol(int32_t type, Protocol &protocol);
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Diptables_utils.cpp102 void IptablesUtils::ProcessFirewallProtocol(int32_t type, Protocol &protocol) in ProcessFirewallProtocol()
104 … if (type >= static_cast<int32_t>(Protocol::ALL) && type <= static_cast<int32_t>(Protocol::ICMP)) { in ProcessFirewallProtocol()
105 protocol = Protocol(type); in ProcessFirewallProtocol()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp157 removeFilter.protocol == IPTABLES::Protocol::INVALID) { in ExecRemoveFilterIptablesCommand()
217 void IptablesRulePlugin::ConvertProtocolCommand(const IPTABLES::Protocol &protocol, std::string &co… in ConvertProtocolCommand()
220 case IPTABLES::Protocol::TCP: in ConvertProtocolCommand()
223 case IPTABLES::Protocol::UDP: in ConvertProtocolCommand()
226 case IPTABLES::Protocol::ICMP: in ConvertProtocolCommand()
229 case IPTABLES::Protocol::ALL: in ConvertProtocolCommand()
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Diptables_rule_plugin_test.cpp154 addFilter.protocol = IPTABLES::Protocol::ICMP;
184 filter.protocol = IPTABLES::Protocol::TCP;
267 filter.protocol = IPTABLES::Protocol::TCP;
312 plugin->ConvertProtocolCommand(IPTABLES::Protocol::ALL, command1);
316 plugin->ConvertProtocolCommand(IPTABLES::Protocol::TCP, command2);
320 plugin->ConvertProtocolCommand(IPTABLES::Protocol::UDP, command3);
324 plugin->ConvertProtocolCommand(IPTABLES::Protocol::ICMP, command4);
328 plugin->ConvertProtocolCommand(IPTABLES::Protocol::INVALID, command5);
/base/telephony/sms_mms/
DREADME_zh.md15 短彩信模块为移动数据用户提供短信收发和彩信编解码功能,主要功能有GSM/CDMA短信收发、短信PDU(Protocol data unit,协议数据单元)编解码、Wap Push接收处理 、小区广播…
112 | pdu | Array\<number> | PDU(Protocol data unit,协议数据单元)数组 |
118 | pdu | Array\<number> | PDU(Protocol data unit,协议数据单元)数组 |
DREADME.md280 …293420163019"><a name="p1293420163019"></a><a name="p1293420163019"></a>Protocol type (3GPP or 3GP…
/base/customization/enterprise_device_management/services/edm_plugin/include/
Diptables_rule_plugin.h54 void ConvertProtocolCommand(const IPTABLES::Protocol &protocol, std::string &Command);
/base/usb/usb_manager/frameworks/dialog/functionswitch_ui/usb_function_dialog/src/main/ets/util/
DNotificationUtil.ets107 additionalText: "Media Transfer Protocol(MTP)"
113 additionalText: "Picture Transfer Protocol(PTP)"
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
Dnetwork_manager_addon.cpp41 …NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, static_cast<int32_t>(IPTABLES::Protocol::ALL), &… in CreateFirewallProtocolObject()
44 …NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, static_cast<int32_t>(IPTABLES::Protocol::TCP), &… in CreateFirewallProtocolObject()
47 …NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, static_cast<int32_t>(IPTABLES::Protocol::UDP), &… in CreateFirewallProtocolObject()
50 …NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, static_cast<int32_t>(IPTABLES::Protocol::ICMP), … in CreateFirewallProtocolObject()
/base/request/request/
DREADME.md164 | uri | string | Local path for storing files. Protocol types **dataability** and **internal**…