/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_cmd.c | 32 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 D | att_send_request.c | 210 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 D | att_send_response.c | 140 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 D | avdtp_message.c | 77 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 D | avctp_ctrl_act.c | 372 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 D | avctp_br_act.c | 347 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 D | avrcp_tg_browse.cpp | 51 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 D | avrcp_tg_unit_info.cpp | 54 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_UNIT_RESPONSE_SIZE); in AssemblePacket()
|
H A D | avrcp_tg_sub_unit_info.cpp | 55 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_SUB_UNIT_RESPONSE_SIZE); in AssemblePacket()
|
H A D | avrcp_tg_pass_through.cpp | 60 pkt_ = PacketMalloc(0x00, 0x00, AVRC_TG_PASS_RESPONSE_SIZE); in AssemblePacket()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_packet.h | 32 obexPacket_ = PacketMalloc(0, 0, size); in ObexPacket()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_browse.cpp | 90 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 D | avrcp_ct_sub_unit_info.cpp | 55 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_SUB_UNIT_COMMAND_SIZE); in AssemblePacket()
|
H A D | avrcp_ct_unit_info.cpp | 46 pkt_ = PacketMalloc(0x00, 0x00, AVRC_CT_UNIT_COMMAND_SIZE); in AssemblePacket()
|
H A D | avrcp_ct_pass_through.cpp | 54 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 D | hci_cmd.c | 177 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 D | packet.h | 50 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 D | gatt_profile_defines.h | 153 data_ = PacketMalloc(0, 0, 0); in ReadValCache()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
H A D | pan_bnep.cpp | 274 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 D | sdp_connect.c | 1207 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 D | sdp_client.c | 60 packet = PacketMalloc(0, 0, length); in SdpBuildPacket()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/src/ |
H A D | a2dp_encoder_sbc.cpp | 486 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 D | hci.c | 316 hciPacket->packet = PacketMalloc(0, 0, btPacket->size); in HciOnReceivedHciPacket()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_l2cap_connection.cpp | 268 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 D | rfcomm_l2cap_if.c | 547 packet = PacketMalloc(headSize, 1, 0); in RfcommSendData()
|