Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 71) sorted by relevance

123

/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/
Dauth_sub_session.c64 BaseProtocol *protocol = impl->instance; in StartAuthSubSession() local
65 int32_t res = protocol->start(protocol, returnSendMsg); in StartAuthSubSession()
80 BaseProtocol *protocol = impl->instance; in ProcessAuthSubSession() local
81 int32_t res = protocol->process(protocol, receviedMsg, returnSendMsg); in ProcessAuthSubSession()
85 …impl->base.state = (protocol->curState == protocol->finishState) ? AUTH_STATE_FINISH : AUTH_STATE_… in ProcessAuthSubSession()
151 BaseProtocol *protocol; in CreateAuthSubSession() local
152 int32_t res = component->createProtocolFunc(params, isClient, &protocol); in CreateAuthSubSession()
160 protocol->destroy(protocol); in CreateAuthSubSession()
172 impl->instance = protocol; in CreateAuthSubSession()
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_task_main.c489 DasProtocolEntity *protocol = NULL; in InitDasProtocolEntities() local
491 protocol = (DasProtocolEntity *)HcMalloc(sizeof(DasProtocolEntity), 0); in InitDasProtocolEntities()
492 if (protocol == NULL) { in InitDasProtocolEntities()
496 protocol->type = ISO; in InitDasProtocolEntities()
497 protocol->algInProtocol = ISO_ALG; in InitDasProtocolEntities()
498 protocol->createSubTask = CreateIsoSubTask; in InitDasProtocolEntities()
499 protocol->tokenManagerInstance = GetLiteTokenManagerInstance(); in InitDasProtocolEntities()
500 g_protocolEntityVec.pushBackT(&g_protocolEntityVec, (void *)protocol); in InitDasProtocolEntities()
504 protocol = (DasProtocolEntity *)HcMalloc(sizeof(DasProtocolEntity), 0); in InitDasProtocolEntities()
505 if (protocol == NULL) { in InitDasProtocolEntities()
[all …]
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h42 Protocol protocol; member
50 protocol = Protocol::INVALID; in AddFilter()
60 protocol = Protocol::INVALID; in RemoveFilter()
75 static void ProcessFirewallProtocol(int32_t type, Protocol &protocol);
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_action_manager.cpp35 if (!item->protocol.empty()) { in Init()
37 StringOperation::SplitString(item->protocol, protocolList, ","); in Init()
49 InsertActionMap(item->name, item->protocol, item->strict, item->enableEvent); in Init()
63 …onManager::InsertActionMap(const std::string& actionName, const std::string& protocol, bool strict, in InsertActionMap() argument
71 thermalAction->InitParams(protocol); in InsertActionMap()
140 if (!iter->protocol.empty()) { in DumpAction()
143 result.append(iter->protocol); in DumpAction()
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Diptables_utils.cpp34 data.WriteInt32(static_cast<int32_t>(filter.protocol)); in WriteAddFilterConfig()
48 IptablesUtils::ProcessFirewallProtocol(data.ReadInt32(), filter.protocol); in ReadAddFilterConfig()
60 data.WriteInt32(static_cast<int32_t>(filter.protocol)); in WriteRemoveFilterConfig()
72 IptablesUtils::ProcessFirewallProtocol(data.ReadInt32(), filter.protocol); in ReadRemoveFilterConfig()
102 void IptablesUtils::ProcessFirewallProtocol(int32_t type, Protocol &protocol) in ProcessFirewallProtocol() argument
105 protocol = Protocol(type); in ProcessFirewallProtocol()
/base/hiviewdfx/hilog/services/hilogd/etc/
Dhilogd.cfg28 "protocol" : "default",
39 "protocol" : "default",
50 "protocol" : "default",
/base/security/device_auth/services/key_agree_sdk/inc/
Dkey_agree_session.h82 KeyAgreeProtocol protocol; member
89 int32_t (*initSpekeSession)(struct SpekeSessionT *spekeSession, KeyAgreeProtocol protocol);
90 int32_t (*checkAndInitProtocol)(struct SpekeSessionT *spekeSession, KeyAgreeProtocol protocol);
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_sim.cpp72 std::shared_ptr<RadioProtocol> protocol = std::make_shared<RadioProtocol>(); in SimRadioProtocolUpdated() local
73 BuildRadioProtocol(protocol, radioProtocol); in SimRadioProtocolUpdated()
74 … return Notify<RadioProtocol>(TELEPHONY_LOG_FUNC_NAME, protocol, RADIO_SIM_RADIO_PROTOCOL_NOTIFY); in SimRadioProtocolUpdated()
245 std::shared_ptr<RadioProtocol> protocol = std::make_shared<RadioProtocol>(); in GetRadioProtocolResponse() local
246 BuildRadioProtocol(protocol, radioProtocol); in GetRadioProtocolResponse()
247 return Response<RadioProtocol>(TELEPHONY_LOG_FUNC_NAME, responseInfo, protocol); in GetRadioProtocolResponse()
253 std::shared_ptr<RadioProtocol> protocol = std::make_shared<RadioProtocol>(); in SetRadioProtocolResponse() local
254 BuildRadioProtocol(protocol, radioProtocol); in SetRadioProtocolResponse()
255 return Response<RadioProtocol>(TELEPHONY_LOG_FUNC_NAME, responseInfo, protocol); in SetRadioProtocolResponse()
421 HDI::Ril::V1_1::RadioProtocol protocol; in SetRadioProtocol() local
[all …]
/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_interface.h31 int32_t protocol, in UsbInterface() argument
39 this->protocol_ = protocol; in UsbInterface()
123 void SetProtocol(int32_t protocol) in SetProtocol() argument
125 protocol_ = protocol; in SetProtocol()
Dusb_device.h33 int32_t protocol, std::vector<USBConfig> configs) in UsbDevice() argument
45 this->protocol_ = protocol; in UsbDevice()
202 void SetProtocol(int32_t protocol) in SetProtocol() argument
204 protocol_ = protocol; in SetProtocol()
/base/powermgr/thermal_manager/services/native/include/thermal_action/
Dthermal_action_manager.h33 std::string protocol; member
65 …void InsertActionMap(const std::string& actionName, const std::string& protocol, bool strict, bool…
/base/telephony/core_service/services/sim/src/
Dradio_protocol_controller.cpp44 RadioProtocol protocol; in Init() local
45 protocol.slotId = i; in Init()
46 protocol.sessionId = 0; in Init()
47 protocol.phase = RadioProtocolPhase::RADIO_PROTOCOL_PHASE_INITIAL; in Init()
48 protocol.technology = 0xFFFFFFFF; in Init()
49 protocol.modemId = 0; in Init()
50 protocol.status = RadioProtocolStatus::RADIO_PROTOCOL_STATUS_NONE; in Init()
51 radioProtocol_.emplace_back(protocol); in Init()
/base/hiviewdfx/faultloggerd/services/config/
Dfaultloggerd.cfg23 "protocol" : "default",
34 "protocol" : "default",
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_sdk.c147 KeyAgreeResult KeyAgreeInitSession(KeyAgreeSession *session, KeyAgreeProtocol protocol, KeyAgreeTyp… in KeyAgreeInitSession() argument
159 if (spekeSession->checkAndInitProtocol(spekeSession, protocol) != HC_SUCCESS) { in KeyAgreeInitSession()
165 spekeSession->protocol = protocol; in KeyAgreeInitSession()
167 if (protocol != KEYAGREE_PROTOCOL_ANY) { in KeyAgreeInitSession()
169 if (spekeSession->initSpekeSession(spekeSession, protocol) != HC_SUCCESS) { in KeyAgreeInitSession()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_charger.cpp41 void ActionCharger::InitParams(const std::string& protocol) in InitParams() argument
43 protocol_ = protocol; in InitParams()
101 chargingLimit.protocol = protocol_; in ChargerRequest()
Daction_voltage.cpp42 void ActionVoltage::InitParams(const std::string& protocol) in InitParams() argument
44 protocol_ = protocol; in InitParams()
107 chargingLimit.protocol = protocol_; in SetVoltage()
/base/hiviewdfx/hilog/frameworks/libhilog/base/
Dhilog_base.cpp103 std::string protocol; in Initializer() local
104 file >> sock >> protocol; in Initializer()
114 if (auto posColon = protocol.find(":"); posColon != protocol.npos) { in Initializer()
115 g_protocolType = protocol.substr(posColon + 1) == "ohcore" ? TYPE_OHCORE : TYPE_OH; in Initializer()
/base/startup/init/services/etc/
Dueventd.cfg11 "protocol" : "NETLINK_KOBJECT_UEVENT",
/base/usb/usb_manager/interfaces/kits/js/
D@ohos.usbManager.d.ts369 protocol: number; property
557 protocol: number; property
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp141 ConvertProtocolCommand(addFilter.protocol, command); in ConvertAddFilterToIptablesCommand()
157 removeFilter.protocol == IPTABLES::Protocol::INVALID) { in ExecRemoveFilterIptablesCommand()
189 ConvertProtocolCommand(removeFilter.protocol, command); in ExecRemoveFilterByDetailedCommand()
217 void IptablesRulePlugin::ConvertProtocolCommand(const IPTABLES::Protocol &protocol, std::string &co… in ConvertProtocolCommand() argument
219 switch (protocol) { in ConvertProtocolCommand()
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/
Daction_voltage.h30 void InitParams(const std::string& protocol) override;
Daction_charger.h30 void InitParams(const std::string& protocol) override;
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_data_test.cpp57 dataProfileInfo.protocol = "IPV4V6";
88 dataProfileInfo.protocol = "IPV4V6";
199 dataProfileInfo.protocol = "IPV4V6";
225 dataProfileInfo.protocol = "IPV4V6";
416 dataProfileInfo.protocol = "IPV4V6";
446 dataProfileInfo.protocol = "IPV4V6";
/base/startup/init/services/init/include/
Dinit_service_socket.h64 int protocol; // socket protocol member
/base/startup/appspawn/
Dnwebspawn.cfg15 "protocol" : "default",

123