Home
last modified time | relevance | path

Searched refs:PacketMalloc (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_cmd.c32 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_PAIR_REQ_DATA_LEN); in SMP_SendPairingRequest()
63 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_PAIR_RSP_DATA_LEN); in SMP_SendPairingResponse()
95 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_PAIR_CFM_DATA_LEN); in SMP_SendPairingConfirm()
119 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_PAIR_RAND_DATA_LEN); in SMP_SendPairingRandom()
143 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_PAIR_FAIL_DATA_LEN); in SMP_SendPairingFailed()
167 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_PAIR_PUBLIC_KEY_DATA_LEN); in SMP_SendPairingPublicKey()
191 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_PAIR_DHK_CHECK_DATA_LEN); in SMP_SendPairingDHKeyCheck()
215 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_ENCRYPTION_INFO_DATA_LEN); in SMP_SendEncryptionInformation()
268 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_IDENTITY_INFO_DATA_LEN); in SMP_SendIdentityInformation()
318 pkt = PacketMalloc(0x00, 0x00, SMP_CMD_SIGNING_INFO_DATA_LEN); in SMP_SendSigningInformation()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_send_request.c210 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(exchangeMtuReqPtr->mtu)); in AttExchangeMTURequestAsync()
292 packet = PacketMalloc(0, in AttFindInformationRequestAsync()
382 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(AttFindByTypeValueReq)); in AttFindByTypeValueRequestAsync()
612 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(readReqAsyncPtr->attHandle)); in AttReadRequestAsync()
693 packet = PacketMalloc(0, in AttReadBlobRequestAsync()
787 packet = PacketMalloc(0, 0, sizeof(uint8_t)); in AttReadMultipleRequestAsync()
1038 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(writeReqAsyncPtr->attHandle)); in AttWriteRequestAsync()
1138 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(writeCommandAsyncPtr->attHandle)); in AttWriteCommandAsync()
1384 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint16_t)); in AttPrepareWriteRequestAsync()
1488 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(executeWriteReqAsyncPtr->flag)); in AttExecuteWriteRequestAsync()
[all …]
H A Datt_send_response.c140 packet = PacketMalloc(0, 0, sizeof(uint8_t) + STEP_FOUR); in AttErrorResponseAsync()
243 packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(exchangeMtuResPtr->mtu)); in AttExchangeMTUResponseAsync()
507 Packet *packet = PacketMalloc(0, 0, sizeof(uint8_t) + handlesInforLen); in AttFindByTypeValueResponseAsync()
626 Packet *packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(len)); in AttReadByTypeResponseAsync()
752 packet = PacketMalloc(0, 0, sizeof(uint8_t)); in AttReadResponseAsync()
853 packet = PacketMalloc(0, 0, sizeof(uint8_t)); in AttReadBlobResponseAsync()
955 packet = PacketMalloc(0, 0, sizeof(uint8_t)); in AttReadMultipleResponseAsync()
1075 Packet *packet = PacketMalloc(0, 0, sizeof(uint8_t) + sizeof(len)); in AttReadByGroupTypeResponseAsync()
1200 packet = PacketMalloc(0, 0, sizeof(uint8_t)); in AttWriteResponseAsync()
1394 packet = PacketMalloc(0, 0, sizeof(uint8_t)); in AttExecuteWriteResponseAsync()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/
H A Davdtp_message.c77 Packet *fragmentPacket = PacketMalloc(0, 0, 0); in AvdtSendFragPacket()
130 Packet *sendMsg = PacketMalloc(AVDT_BUFFER_START, 0, 0); in AvdtSendFragStart()
156 Packet *sendMsg = PacketMalloc(AVDT_BUFFER_END, 0, 0); in AvdtSendFragContinueEnd()
303 Packet *pkt = PacketMalloc(AVDT_BUFFER_GENERAL_REJ, 0, 0); in AvdtMsgSendGeneralRej()
363 Packet *pkt = PacketMalloc(AVDT_BUFFER_SINGLE, 0, 0); in AvdtBuildDiscoverCmd()
479 Packet *pkt = PacketMalloc(AVDT_BUFFER_SINGLE, 0, 0); in AvdtBuildSingleRsp()
503 Packet *pkt = PacketMalloc(AVDT_BUFFER_REJECT, 0, 0); in AvdtBuildCommonRej()
530 Packet *pkt = PacketMalloc(AVDT_BUFFER_REJECT_4, 0, 0); in AvdtBuildConfigureRej()
571 Packet *pkt = PacketMalloc(AVDT_BUFFER_SINGLE, 0, payloadLen); in AvdtBuildSetConfigureCmd()
610 Packet *pkt = PacketMalloc(AVDT_BUFFER_SINGLE, 0, payloadLen); in AvdtBuildGetCapRsp()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp_ctrl_act.c372 Packet *sndPkg = PacketMalloc(AVCT_PKG_HDR_LEN_SINGLE, 0, 0); in AvctCbCtrlRevMsg()
527 cbCh->rxMsg = PacketMalloc(0, 0, AVCT_PKG_HDR_LEN_SINGLE); in AvctMsgAsmbl()
601 Packet *pkg = PacketMalloc(AVCT_PKG_HDR_LEN_START, 0, 0); in AvctMakeFrgMsgHeadStart()
626 Packet *pkg = PacketMalloc(AVCT_PKG_HDR_LEN_CONTINUE, 0, 0); in AvctMakeFrgMsgHeadContinueEnd()
H A Davctp_br_act.c347 Packet *sndPkg = PacketMalloc(AVCT_PKG_HDR_LEN_SINGLE, 0, 0); in AvctCbBrRevMsg()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_browse.cpp51 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_BROWSE_MIN_SIZE + AVRC_TG_BROWSE_STATUS_SIZE); in AssemblePacket()
152 pkt_ = PacketMalloc(0x00, 0x00, frameSize); in AssemblePacket()
262 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_CP_FIXED_RSP_FRAME_SIZE); in AssemblePacket()
441 pkt_ = PacketMalloc(0x00, 0x00, frameSize); in AssembleMpPacket()
570 pkt_ = PacketMalloc(0x00, 0x00, frameSize); in AssembleMePacket()
809 pkt_ = PacketMalloc(0x00, 0x00, frameSize); in AssemblePacket()
967 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_GTNOI_FIXED_RSP_FRAME_SIZE); in AssemblePacket()
H A Davrcp_tg_unit_info.cpp54 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_UNIT_RESPONSE_SIZE); in AssemblePacket()
H A Davrcp_tg_sub_unit_info.cpp55 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_SUB_UNIT_RESPONSE_SIZE); in AssemblePacket()
H A Davrcp_tg_pass_through.cpp60 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_PASS_RESPONSE_SIZE); in AssemblePacket()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_packet.h32 obexPacket_ = PacketMalloc(0, 0, size); in ObexPacket()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_browse.cpp90 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_SBP_FIXED_CMD_FRAME_SIZE); in AssemblePacket()
221 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_CP_FIXED_CMD_FRAME_SIZE); in AssemblePacket()
320 pkt_ = PacketMalloc(0x00, in AssemblePacket()
670 pkt_ = PacketMalloc(0x00, in AssemblePacket()
812 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_GTNOI_FIXED_CMD_FRAME_SIZE); in AssemblePacket()
H A Davrcp_ct_sub_unit_info.cpp55 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_SUB_UNIT_COMMAND_SIZE); in AssemblePacket()
H A Davrcp_ct_unit_info.cpp46 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_UNIT_COMMAND_SIZE); in AssemblePacket()
H A Davrcp_ct_pass_through.cpp54 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_PASS_COMMAND_SIZE); in AssemblePacket()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/cmd/
H A Dhci_cmd.c177 Packet *packet = PacketMalloc(sizeof(HciCmdHeader), 0, 0); in HciCreateCmdPacket()
190 Packet *packet = PacketMalloc(sizeof(HciCmdHeader), 0, paramLength); in HciCreateCmdPacketWithParam()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dpacket.h50 BTSTACK_API Packet *PacketMalloc(uint16_t headSize, uint16_t tailSize, uint32_t payloadSize);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_profile_defines.h153 data_ = PacketMalloc(0, 0, 0); in ReadValCache()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_bnep.cpp274 packet = PacketMalloc(packetLength, 0, 0); in SendData()
1199 packet = PacketMalloc(packetLength, 0, 0); in BnepSendControlCommandNotUnderstood()
1220 packet = PacketMalloc(packetLength, 0, 0); in BnepSendSetupConnectionResponse()
1241 packet = PacketMalloc(packetLength, 0, 0); in BnepSendFilterNetTypeResponse()
1262 packet = PacketMalloc(packetLength, 0, 0); in BnepSendFilterMultiAddrResponse()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_connect.c1207 packet = PacketMalloc(SDP_PDU_HEADER_LENGTH, 0, SDP_UINT16_LENGTH); in SdpSendErrorResponse()
1315 fragmentPacket = PacketMalloc(0, 0, 0); in SdpSendSearchFragmentResponse()
1364 packet = PacketMalloc(0, 0, offset); in SdpSendSearchResponse()
1489 fragmentPacket = PacketMalloc(0, 0, 0); in SdpSendAttributeFragmentResponse()
H A Dsdp_client.c60 packet = PacketMalloc(0, 0, length); in SdpBuildPacket()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/src/
H A Da2dp_encoder_sbc.cpp486 Packet *pkt = PacketMalloc(A2DP_SBC_FRAGMENT_HEADER, 0, 0); in A2dpSbcEncodeFrames()
580 Packet *mediaPacket = PacketMalloc(A2DP_SBC_FRAGMENT_HEADER, 0, 0); in EnqueuePacketFragment()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci.c316 hciPacket->packet = PacketMalloc(0, 0, btPacket->size); in HciOnReceivedHciPacket()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_l2cap_connection.cpp268 packet = PacketMalloc(packetLength, 0, 0); in SendGetReport()
312 packet = PacketMalloc(length + HID_HOST_PDU_HEADER_LENGTH, 0, 0); in SendSetReport()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_l2cap_if.c547 packet = PacketMalloc(headSize, 1, 0); in RfcommSendData()

12