Home
last modified time | relevance | path

Searched refs:msgLen (Results 1 - 25 of 48) sorted by relevance

12

/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_fast_offline_virtual.c55 int32_t LnnSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen) in LnnSyncTrustedRelationShip() argument
59 (void)msgLen; in LnnSyncTrustedRelationShip()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp_ctrl_act.c320 uint16_t msgLen = (uint16_t)PacketSize(pkt); in AvctCbCtrlSendMsg() local
321 LOG_DEBUG("[AVCT] %{public}s:PKT length %hu", __func__, msgLen); in AvctCbCtrlSendMsg()
322 if (msgLen > (cbDev->cbCtrl->peerMtu - AVCT_PKG_HDR_LEN_SINGLE)) { in AvctCbCtrlSendMsg()
443 uint16_t msgLen = (uint16_t)PacketSize(pkt); in AvctSendFraMsg() local
446 uint8_t num = (msgLen - (cbCh->peerMtu - AVCT_PKG_HDR_LEN_START)) / (cbCh->peerMtu - AVCT_PKG_HDR_LEN_CONTINUE) + 1; in AvctSendFraMsg()
447 if ((msgLen - (cbCh->peerMtu - AVCT_PKG_HDR_LEN_START)) % (cbCh->peerMtu - AVCT_PKG_HDR_LEN_CONTINUE) != 0) { in AvctSendFraMsg()
474 msgLen = PacketFragment(pkt, sndPkg, size); in AvctSendFraMsg()
480 if (msgLen > (cbCh->peerMtu - AVCT_PKG_HDR_LEN_END)) { in AvctSendFraMsg()
485 } while ((msgLen > 0) && (ret == L2CAP_SUCCESS)); in AvctSendFraMsg()
/foundation/communication/dsoftbus/core/bus_center/ipc/mini/
H A Dlnn_bus_center_ipc.c155 int32_t LnnIpcSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen) in LnnIpcSyncTrustedRelationShip() argument
159 (void)msgLen; in LnnIpcSyncTrustedRelationShip()
203 int32_t LnnIpcNotifyDeviceTrustedChange(int32_t type, const char *msg, uint32_t msgLen) in LnnIpcNotifyDeviceTrustedChange() argument
207 (void)msgLen; in LnnIpcNotifyDeviceTrustedChange()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dif_softbus_server.cpp104 int32_t ISoftBusServer::SyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen) in SyncTrustedRelationShip() argument
108 (void)msgLen; in SyncTrustedRelationShip()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dpicture_handle_service.cpp47 uint32_t msgLen = 0; in OpenPicture() local
48 msgLen += UINT32_LEN; // msgLen长度 in OpenPicture()
49 msgLen += UINT32_LEN; // dataSize长度 in OpenPicture()
50 msgLen += UINT32_LEN; // auxiliaryPictureSize长度 in OpenPicture()
51 msgLen += dataSize; // data长度 in OpenPicture()
55 msgParcel.WriteUint32(msgLen); in OpenPicture()
56 MEDIA_DEBUG_LOG("PictureHandlerService::OpenPicture msgLen: %{public}d", msgLen); in OpenPicture()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/
H A Dlnn_fast_offline.h42 int32_t LnnSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen);
/foundation/communication/dsoftbus/sdk/bus_center/ipc/mini/
H A Dbus_center_server_proxy.c139 int32_t ServerIpcSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen) in ServerIpcSyncTrustedRelationShip() argument
143 (void)msgLen; in ServerIpcSyncTrustedRelationShip()
/foundation/communication/dsoftbus/sdk/bus_center/manager/include/
H A Dclient_bus_center_manager.h56 int32_t SyncTrustedRelationShipInner(const char *pkgName, const char *msg, uint32_t msgLen);
64 int32_t LnnOnNodeDeviceTrustedChange(const char *pkgName, int32_t type, const char *msg, uint32_t msgLen);
/foundation/communication/dsoftbus/core/bus_center/ipc/include/
H A Dlnn_bus_center_ipc.h58 int32_t LnnIpcNotifyDeviceTrustedChange(int32_t type, const char *msg, uint32_t msgLen);
66 int32_t LnnIpcSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen);
/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/
H A Djs_component_test_utils.cpp103 size_t msgLen = GetParamLen(env, arg) + 1; in CheckAndParseStr() local
104 std::unique_ptr<char[]> message = std::make_unique<char[]>(msgLen); in CheckAndParseStr()
106 if (napi_get_value_string_utf8(env, arg, message.get(), msgLen, &ret) != napi_ok) { in CheckAndParseStr()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/mini_discover/
H A Dcoap_def.h57 uint16_t msgLen; member
/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dif_softbus_client.cpp119 int32_t ISoftBusClient::OnNodeDeviceTrustedChange(const char *pkgName, int32_t type, const char *msg, uint32_t msgLen) in OnNodeDeviceTrustedChange() argument
124 (void)msgLen; in OnNodeDeviceTrustedChange()
H A Dsoftbus_client_stub.cpp531 uint32_t msgLen = 0; in OnNodeDeviceTrustedChangeInner() local
532 if (!data.ReadUint32(msgLen)) { in OnNodeDeviceTrustedChangeInner()
533 COMM_LOGE(COMM_SDK, "read failed! msgLen=%{public}u", msgLen); in OnNodeDeviceTrustedChangeInner()
536 int32_t retReply = OnNodeDeviceTrustedChange(pkgName, type, msg, msgLen); in OnNodeDeviceTrustedChangeInner()
732 uint32_t msgLen) in OnNodeDeviceTrustedChange()
734 return LnnOnNodeDeviceTrustedChange(pkgName, type, msg, msgLen); in OnNodeDeviceTrustedChange()
731 OnNodeDeviceTrustedChange(const char *pkgName, int32_t type, const char *msg, uint32_t msgLen) OnNodeDeviceTrustedChange() argument
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_discover.c534 uint16_t msgLen = GetUnitInfo(frame + len, frameLen - len, msgPtr, frameLen - len, COAP_MSG_TYPE); local
535 if (msgLen == 0) {
540 return msgLen;
558 uint16_t msgLen; local
571 msgLen = ParseServiceMsgFrame(buf, size, moduleName, deviceId, &msg);
572 if (msgLen == 0) {
587 NotifyMsgReceived(moduleName, deviceId, msg, msgLen, srcIp);
892 static uint8_t *CreateServiceMsgFrame(const char *moduleName, const char *deviceId, const uint8_t *msg, uint32_t msgLen, argument
901 msgUnitLen = sizeof(CoapMsgUnit) + msgLen;
934 if (memcpy_s(unit->value, bufferLen - len - sizeof(CoapMsgUnit), msg, msgLen) !
[all...]
/foundation/multimedia/media_library/frameworks/js/src/
H A Dpicture_handle_client.cpp79 uint32_t msgLen = *((uint32_t*)msgLenAddr); in ReadPicture() local
81 MEDIA_DEBUG_LOG("PictureHandlerClient::ReadPicture msgLen: %{public}d", msgLen); in ReadPicture()
84 uint8_t *addr = (uint8_t*)mmap(nullptr, msgLen, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in ReadPicture()
130 munmap(addr, msgLen); in ReadPicture()
/foundation/communication/dsoftbus/core/bus_center/ipc/small/src/
H A Dlnn_bus_center_ipc.c373 int32_t LnnIpcSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen) in LnnIpcSyncTrustedRelationShip() argument
377 (void)msgLen; in LnnIpcSyncTrustedRelationShip()
462 int32_t LnnIpcNotifyDeviceTrustedChange(int32_t type, const char *msg, uint32_t msgLen) in LnnIpcNotifyDeviceTrustedChange() argument
466 (void)msgLen; in LnnIpcNotifyDeviceTrustedChange()
/foundation/communication/dsoftbus/interfaces/kits/bus_center/
H A Dsoftbus_bus_center.h489 * @param msgLen The length of msg.
494 void (*onNodeDeviceTrustedChange)(TrustChangeType type, const char *msg, uint32_t msgLen);
928 * @param msgLen The length of msg.
935 int32_t SyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen);
/foundation/communication/dsoftbus/core/bus_center/ipc/standard/include/
H A Dbus_center_client_proxy.h43 int32_t ClinetNotifyDeviceTrustedChange(int32_t type, const char *msg, uint32_t msgLen);
H A Dbus_center_client_proxy_standard.h46 int32_t OnNodeDeviceTrustedChange(const char *pkgName, int32_t type, const char *msg, uint32_t msgLen) override;
/foundation/communication/dsoftbus/sdk/bus_center/ipc/include/
H A Dbus_center_server_proxy.h54 int32_t ServerIpcSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen);
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_listener.cpp782 const uint32_t msgLen = 100; in HWTEST_F() local
783 char msg1[msgLen] = {0}; in HWTEST_F()
784 softbusListener->OnDeviceTrustedChange(type, msg1, msgLen); in HWTEST_F()
786 softbusListener->OnDeviceTrustedChange(type, msg2, msgLen); in HWTEST_F()
791 char devicelist[msgLen] = {0}; in HWTEST_F()
794 softbusListener->OnCredentialAuthStatus(devicelist, msgLen, deviceTypeId, errcode); in HWTEST_F()
/foundation/communication/dsoftbus/core/bus_center/ipc/standard/src/
H A Dlnn_bus_center_ipc.cpp434 int32_t LnnIpcSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen)
436 return LnnSyncTrustedRelationShip(pkgName, msg, msgLen);
505 int32_t LnnIpcNotifyDeviceTrustedChange(int32_t type, const char *msg, uint32_t msgLen)
507 return ClinetNotifyDeviceTrustedChange(type, msg, msgLen);
H A Dbus_center_client_proxy.cpp113 int32_t ClinetNotifyDeviceTrustedChange(int32_t type, const char *msg, uint32_t msgLen) in ClinetNotifyDeviceTrustedChange() argument
123 clientProxy->OnNodeDeviceTrustedChange(proxy.first.c_str(), type, msg, msgLen); in ClinetNotifyDeviceTrustedChange()
/foundation/communication/dsoftbus/sdk/frame/standard/include/
H A Dif_softbus_client.h64 virtual int32_t OnNodeDeviceTrustedChange(const char *pkgName, int32_t type, const char *msg, uint32_t msgLen);
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy.cpp309 int32_t ServerIpcSyncTrustedRelationShip(const char *pkgName, const char *msg, uint32_t msgLen) in ServerIpcSyncTrustedRelationShip() argument
315 int32_t ret = g_serverProxy->SyncTrustedRelationShip(pkgName, msg, msgLen); in ServerIpcSyncTrustedRelationShip()

Completed in 17 milliseconds

12