Home
last modified time | relevance | path

Searched refs:totalServiceRecordCount (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_connect.c1226 static uint16_t SdpGetCurrentServiceRecordCount(uint16_t mtu, uint16_t maxCount, uint16_t totalServiceRecordCount) in SdpGetCurrentServiceRecordCount() argument
1235 static Packet *SdpBuildSearchFragmentResponse(uint16_t transactionId, size_t size, uint16_t totalServiceRecordCount, in SdpBuildSearchFragmentResponse() argument
1280 *(uint16_t *)(header + offset) = H2BE_16(totalServiceRecordCount); in SdpBuildSearchFragmentResponse()
1291 uint16_t totalServiceRecordCount; in SdpSendSearchFragmentResponse() local
1308 totalServiceRecordCount = connect->totalCount; in SdpSendSearchFragmentResponse()
1311 totalServiceRecordCount = PacketSize(packet) / SDP_SERVICE_RECORD_HANDLE_BYTE; in SdpSendSearchFragmentResponse()
1313 currentServiceRecordCount = SdpGetCurrentServiceRecordCount(connect->mtu, maxCount, totalServiceRecordCount); in SdpSendSearchFragmentResponse()
1320 transactionId, size, totalServiceRecordCount, currentServiceRecordCount, fragmentPacket); in SdpSendSearchFragmentResponse()
1333 connect->totalCount = totalServiceRecordCount; in SdpSendSearchFragmentResponse()
1349 uint16_t totalServiceRecordCount; in SdpSendSearchResponse() local
[all...]
H A Dsdp_client_parse.c361 const BtAddr *addr, uint16_t transactionId, uint16_t totalServiceRecordCount, Packet *data, uint32_t *handleArray) in SdpParseServiceRecordHandleList()
383 if (length != totalServiceRecordCount * SDP_SERVICE_RECORD_HANDLE_BYTE) { in SdpParseServiceRecordHandleList()
398 for (; handleNum < totalServiceRecordCount; handleNum++) { in SdpParseServiceRecordHandleList()
671 uint16_t totalServiceRecordCount; in SdpParseSearchResponse() local
680 totalServiceRecordCount = BE2H_16(*(uint16_t *)buffer); in SdpParseSearchResponse()
681 if (totalServiceRecordCount == 0) { in SdpParseSearchResponse()
689 if ((currentServiceRecordCount > totalServiceRecordCount) || in SdpParseSearchResponse()
692 totalServiceRecordCount, currentServiceRecordCount, length); in SdpParseSearchResponse()
704 uint32_t *handleArray = (uint32_t *)MEM_MALLOC.alloc(SDP_UINT32_LENGTH * totalServiceRecordCount); in SdpParseSearchResponse()
710 handleArray, SDP_UINT32_LENGTH * totalServiceRecordCount, in SdpParseSearchResponse()
360 SdpParseServiceRecordHandleList( const BtAddr *addr, uint16_t transactionId, uint16_t totalServiceRecordCount, Packet *data, uint32_t *handleArray) SdpParseServiceRecordHandleList() argument
[all...]

Completed in 7 milliseconds