Home
last modified time | relevance | path

Searched refs:uuidArray (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_client.c106 static uint16_t SdpCreateSearchRequest(const BtUuid *uuidArray, uint16_t uuidNum, uint8_t *buffer) in SdpCreateSearchRequest() argument
115 offset = SdpAddAttributeForUuid(buffer, offset, &uuidArray[i]); in SdpCreateSearchRequest()
143 const BtUuid *uuidArray, uint16_t uuidNum, SdpAttributeIdList attributeIdList, uint8_t *buffer) in SdpCreateSearchAttributeRequest() argument
152 offset = SdpAddAttributeForUuid(buffer, offset, &uuidArray[i]); in SdpCreateSearchAttributeRequest()
177 int SdpServiceSearch(const BtAddr *addr, const SdpUuid *uuidArray, void *context, in SdpServiceSearch() argument
180 … LOG_INFO("[%{public}s][%{public}d] uuidNum = [%hu]", __FUNCTION__, __LINE__, uuidArray->uuidNum); in SdpServiceSearch()
193 buffer = MEM_MALLOC.alloc(uuidArray->uuidNum * SDP_UUID_ATTRIBUTE_LENGTH + SDP_SEARCH_LENGTH); in SdpServiceSearch()
195 (uuidArray->uuidNum * SDP_UUID_ATTRIBUTE_LENGTH + SDP_SEARCH_LENGTH), in SdpServiceSearch()
197 (uuidArray->uuidNum * SDP_UUID_ATTRIBUTE_LENGTH + SDP_SEARCH_LENGTH)); in SdpServiceSearch()
199 length = SdpCreateSearchRequest(uuidArray->uuid, uuidArray->uuidNum, buffer); in SdpServiceSearch()
[all …]
H A Dsdp_client.h32 int SdpServiceSearch(const BtAddr *addr, const SdpUuid *uuidArray, void *context,
36 int SdpServiceSearchAttribute(const BtAddr *addr, const SdpUuid *uuidArray, SdpAttributeIdList attr…
H A Dsdp_server.c77 …uint8_t uuidArray[][20], int uuidNum, uint32_t *handleArray, uint16_t handleNum, uint16_t maxRecor…
1125 …handleNum = GetRecordHandleArray(uuidArray, uuidNum, handleArray, handleNum, maximumServiceRecordC… in SdpCreateSearchResponse()
1138 static int SdpGetUuidArray(uint8_t *buffer, uint16_t pos, uint16_t length, uint8_t uuidArray[][20]) in SdpGetUuidArray()
1172 uint8_t uuidArray[SDP_MAX_UUID_COUNT][20]; in SdpParseSearchRequest() local
1223 (void)memset_s(uuidArray, sizeof(uuidArray), 0, sizeof(uuidArray)); in SdpParseSearchRequest()
1224 uuidNum = SdpGetUuidArray(bufferInfo->buffer, pos, length, uuidArray); in SdpParseSearchRequest()
1231 SdpCreateSearchResponse(lcid, transactionId, uuidArray, uuidNum, maximumServiceRecordCount); in SdpParseSearchRequest()
1432 uint8_t uuidArray[SDP_MAX_UUID_COUNT][20] = {0}; in BuildServiceRecordHandleList() local
1471 handleNum = GetRecordHandleArray(uuidArray, uuidNum, handleArray, handleNum, 0); in BuildServiceRecordHandleList()
1908 ret = GetRecordHandleArrayByUuid(item, uuidArray[i]); in GetRecordHandleNumber()
[all …]
H A Dsdp.c166 SdpUuid uuidArray; member
185 SdpUuid uuidArray; member
1235 ctx->result = SdpServiceSearch(&ctx->addr, &ctx->uuidArray, ctx->context, ctx->ServiceSearchCb); in SdpServiceSearchTask()
1241 int SDP_ServiceSearch(const BtAddr *addr, const SdpUuid *uuidArray, void *context, in SDP_ServiceSearch() argument
1255 (void)memcpy_s(&ctx->uuidArray, sizeof(SdpUuid), uuidArray, sizeof(SdpUuid)); in SDP_ServiceSearch()
1326 … &ctx->addr, &ctx->uuidArray, ctx->attributeIdList, ctx->context, ctx->ServiceSearchAttributeCb); in SdpServiceSearchAttributeTask()
1332 int SDP_ServiceSearchAttribute(const BtAddr *addr, const SdpUuid *uuidArray, SdpAttributeIdList att… in SDP_ServiceSearchAttribute() argument
1347 (void)memcpy_s(&ctx->uuidArray, sizeof(SdpUuid), uuidArray, sizeof(SdpUuid)); in SDP_ServiceSearchAttribute()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dsdp.h494 int BTSTACK_API SDP_ServiceSearch(const BtAddr *addr, const SdpUuid *uuidArray, void *context,
524 int BTSTACK_API SDP_ServiceSearchAttribute(const BtAddr *addr, const SdpUuid *uuidArray,
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/src/
H A Dutil_js.ts585 let uuidArray: Uint8Array = helpUtil.randomBinaryUUID(entropyCache);
586 return uuidArray;
596 let uuidArray: Uint8Array = helpUtil.parseUUID(uuid);
597 return uuidArray;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter.cpp1669 SdpUuid uuidArray; in SearchRemoteUuids() local
1670 uuidArray.uuid = &btUuid[0]; in SearchRemoteUuids()
1671 uuidArray.uuidNum = 1; in SearchRemoteUuids()
1677 …int ret = SDP_ServiceSearchAttribute(&btAddr, &uuidArray, attributeIdList, (void *)this, ServiceSe… in SearchRemoteUuids()