Home
last modified time | relevance | path

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

/base/security/device_auth/services/session_manager/src/session/
Ddev_session_fwk.c38 static int32_t StartV1Session(SessionImpl *impl, CJson **sendMsg) in StartV1Session() argument
50 res = ProcessCompatibleSubSession(impl->compatibleSubSession, impl->context, sendMsg, &status); in StartV1Session()
107 static int32_t PackSendMsg(SessionImpl *impl, CJson *sessionMsg, CJson *sendMsg) in PackSendMsg() argument
109 if (AddInt64StringToJson(sendMsg, FIELD_REQUEST_ID, impl->base.id) != HC_SUCCESS) { in PackSendMsg()
113 if (AddStringToJson(sendMsg, FIELD_APP_ID, impl->base.appId) != HC_SUCCESS) { in PackSendMsg()
117 if (AddObjToJson(sendMsg, FIELD_MSG, sessionMsg) != HC_SUCCESS) { in PackSendMsg()
124 static int32_t SendJsonMsg(const SessionImpl *impl, const CJson *sendMsg) in SendJsonMsg() argument
126 char *sendMsgStr = PackJsonToString(sendMsg); in SendJsonMsg()
141 CJson *sendMsg = CreateJson(); in SendSessionMsg() local
142 if (sendMsg == NULL) { in SendSessionMsg()
[all …]
/base/hiviewdfx/hicollie/frameworks/native/
Dwatchdog_task.cpp140 std::string sendMsg = std::string((ctime(&curTime) == nullptr) ? "" : ctime(&curTime)) + in SendEvent() local
142 sendMsg += checker->GetDumpInfo(); in SendEvent()
149 "MSG", sendMsg, in SendEvent()
160 std::string sendMsg = std::string((ctime(&curTime) == nullptr) ? "" : ctime(&curTime)) + "\n"+ in SendXCollieEvent() local
168 "MSG", sendMsg); in SendXCollieEvent()
Dwatchdog_inner.cpp418 std::string sendMsg = std::string((ctime(&curTime) == nullptr) ? "" : ctime(&curTime)) + in SendFfrtEvent() local
422 sendMsg += buff; in SendFfrtEvent()
429 "MSG", sendMsg); in SendFfrtEvent()
/base/security/device_auth/services/group_manager/inc/channel_manager/soft_bus_channel/
Dsoft_bus_channel.h29 int32_t (*sendMsg)(int64_t channelId, const uint8_t *data, uint32_t dataLen); member
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/
Dexpand_sub_session.c323 static int32_t BuildEncData(ExpandSubSessionImpl *impl, CJson *sendCmdList, CJson *sendMsg) in BuildEncData() argument
353 if (AddStringToJson(sendMsg, FIELD_ENC_DATA, base64Str) != HC_SUCCESS) { in BuildEncData()
364 CJson *sendMsg = CreateJson(); in PackSendMsg() local
365 if (sendMsg == NULL) { in PackSendMsg()
369 int32_t res = BuildEncData(impl, sendCmdList, sendMsg); in PackSendMsg()
371 FreeJson(sendMsg); in PackSendMsg()
374 *returnSendMsg = sendMsg; in PackSendMsg()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/
Diso_protocol_test.cpp358 CJson *sendMsg = nullptr; variable
359 res = self->process(nullptr, &recvMsg, &sendMsg);
372 CJson *sendMsg = nullptr; variable
373 res = self->process(self, nullptr, &sendMsg);
403 CJson *sendMsg = nullptr; variable
404 res = self->process(self, &recvMsg, &sendMsg);
420 CJson *sendMsg = nullptr; variable
421 res = self->process(self, &recvMsg, &sendMsg);
Dec_speke_protocol_test.cpp419 CJson *sendMsg = nullptr; variable
420 res = self->process(nullptr, &recvMsg, &sendMsg);
433 CJson *sendMsg = nullptr; variable
434 res = self->process(self, nullptr, &sendMsg);
464 CJson *sendMsg = nullptr; variable
465 res = self->process(self, &recvMsg, &sendMsg);
481 CJson *sendMsg = nullptr; variable
482 res = self->process(self, &recvMsg, &sendMsg);
/base/security/device_auth/services/group_manager/src/channel_manager/
Dchannel_manager.c103 return GetSoftBusInstance()->sendMsg(channelId, (uint8_t *)data, HcStrlen(data) + 1); in HcSendMsg()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/
Dauth_sub_session_test.cpp601 CJson *sendMsg = nullptr; variable
602 res = self->process(nullptr, &recvMsg, &sendMsg);
615 CJson *sendMsg = nullptr; variable
616 res = self->process(self, nullptr, &sendMsg);
/base/security/device_auth/services/group_manager/src/channel_manager/soft_bus_channel/
Dsoft_bus_channel.c271 .sendMsg = SendSoftBusMsg,