/base/security/device_security_level/baselib/msglib/src/standard/ |
D | messenger_device_session_manager.c | 52 uint32_t msgLen; member 60 uint32_t msgLen; member 96 if (queueData->msgLen + sizeof(QueueMsgData) != len) { in ProcessSessionMessageReceived() 107 messageReceiver(&queueData->srcIdentity, queueData->msgData, queueData->msgLen); in ProcessSessionMessageReceived() 111 …tic void OnSessionMessageReceived(const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen) in OnSessionMessageReceived() argument 124 uint32_t queueDataLen = sizeof(QueueMsgData) + msgLen; in OnSessionMessageReceived() 136 ret = (uint32_t)memcpy_s(queueData->msgData, msgLen, msg, msgLen); in OnSessionMessageReceived() 142 queueData->msgLen = msgLen; in OnSessionMessageReceived() 217 int sent = SendBytes(sessionId, msgData->msgData, msgData->msgLen); in MessengerOnSessionOpened() 386 …taToPendingList(uint32_t transNo, const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen) in PushMsgDataToPendingList() argument [all …]
|
D | messenger_device_session_manager.h | 34 …engerSendMsgTo(uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen);
|
D | messenger_impl.c | 97 uint32_t msgLen) in SendMsgToImpl() argument 103 MessengerSendMsgTo(transNo, devId, msg, msgLen); in SendMsgToImpl()
|
/base/security/device_security_level/test/dslm_unit_test/ |
D | dslm_msg_interface_mock.cpp | 56 const uint8_t *msg, uint32_t msgLen) { in MakeMsgLoopback() argument 57 this->MakeMsgReceivedFrom(devId, msg, msgLen); in MakeMsgLoopback() 84 …ceMock::MakeMsgReceivedFrom(const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen) const in MakeMsgReceivedFrom() 86 auto msgBuffer = std::make_shared<std::vector<uint8_t>>(msg, msg + msgLen); in MakeMsgReceivedFrom() 109 uint32_t msgLen) in SendMsgToImpl() argument 111 return GetDslmMsgInterface()->SendMsgTo(messenger, transNo, devId, msg, msgLen); in SendMsgToImpl()
|
D | dslm_msg_interface_mock.h | 37 const uint8_t *msg, uint32_t msgLen) = 0; 52 const uint8_t *msg, uint32_t msgLen)); 61 … void MakeMsgReceivedFrom(const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen) const;
|
D | dslm_test.cpp | 1355 uint32_t msgLen = 2; variable 1360 SendMsgToDevice(transNo, &devId, msg, msgLen); 1373 uint32_t msgLen = 3; variable 1375 EXPECT_EQ(false, CheckMessage(msg, msgLen));
|
/base/security/device_security_level/baselib/msglib/src/ |
D | messenger.c | 35 uint32_t msgLen) in SendMsgTo() argument 37 SendMsgToImpl(messenger, transNo, devId, msg, msgLen); in SendMsgTo()
|
D | messenger_impl.h | 30 uint32_t msgLen) __attribute__((weak));
|
/base/startup/appspawn_lite/services/include/ |
D | appspawn_message.h | 33 int SplitMessage(const char* msg, unsigned int msgLen, MessageSt* msgSt);
|
/base/security/device_security_level/baselib/msglib/include/ |
D | messenger.h | 34 …int32_t (*DeviceMessageReceiver)(const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen); 82 uint32_t msgLen);
|
/base/security/device_security_level/services/msg/ |
D | dslm_messenger_wrapper.c | 75 …SendMsgToDevice(uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen) in SendMsgToDevice() argument 82 SendMsgTo(g_messenger, transNo, devId, msg, msgLen); in SendMsgToDevice()
|
/base/startup/appspawn_lite/services/src/ |
D | appspawn_message.c | 152 int SplitMessage(const char* msg, unsigned int msgLen, MessageSt* msgSt) in SplitMessage() argument 158 if (msg == NULL || msgLen == 0) { in SplitMessage() 163 cJSON* rootJ = cJSON_ParseWithLength(msg, msgLen); in SplitMessage()
|
/base/startup/appspawn/lite/ |
D | appspawn_message.c | 154 int SplitMessage(const char *msg, unsigned int msgLen, MessageSt *msgSt) in SplitMessage() argument 160 if (msg == NULL || msgLen == 0) { in SplitMessage() 165 cJSON *rootJ = cJSON_ParseWithLength(msg, msgLen); in SplitMessage()
|
D | appspawn_message.h | 48 int SplitMessage(const char *msg, unsigned int msgLen, MessageSt *msgSt);
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | kmsg_parser.cpp | 167 auto msgLen = sizeof(HilogMsg) + tagLen + len + 1; in ParseKmsg() local 168 HilogMsgWrapper msgWrap((std::vector<char>(msgLen, '\0'))); in ParseKmsg() 170 msg.len = msgLen; in ParseKmsg()
|
/base/security/device_security_level/services/include/ |
D | dslm_messenger_wrapper.h | 39 …endMsgToDevice(uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen);
|
/base/security/device_auth/common_lib/impl/src/ |
D | hc_tlv_parser.c | 302 int32_t msgLen = ParseTlvNode(msg, parcel, strict); in DecodeTlvMessage() local 303 if (msgLen > MAX_TLV_LENGTH) { in DecodeTlvMessage() 306 if ((int32_t)(msg->length + sizeof(msg->length) + sizeof(msg->tag)) != msgLen) { in DecodeTlvMessage()
|