/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_sdp_client.cpp | 74 … hidInf_.ctryCode = *static_cast<uint8_t*>(serviceAry[0].attribute[i].attributeValue); in SdpCallback_() 93 uint8_t *attributeValue = attribute.attributeValue + offset; in ParseHidDescInfo() local 94 uint8_t type = attributeValue[0] >> HID_SDP_DESCRIPTOR_SIZE_BIT; in ParseHidDescInfo() 95 uint8_t size = attributeValue[0] & SDP_SIZE_MASK; in ParseHidDescInfo() 98 descLength = attributeValue[1]; in ParseHidDescInfo() 102 … descLength = (attributeValue[offset] << ONE_BYTE_OFFSET) | attributeValue[offset + 1]; in ParseHidDescInfo() 137 if ((attribute.attributeValue[0] & SDP_SIZE_MASK) == SDP_DE_SIZE_VAR_8) { in CheckAttributeValueLengthAvalid() 139 } else if ((attribute.attributeValue[0] & SDP_SIZE_MASK) == SDP_DE_SIZE_VAR_16) { in CheckAttributeValueLengthAvalid() 201 … pnpInf_.vendorId = *static_cast<uint16_t*>(serviceAry[0].attribute[i].attributeValue); in SdpPnpCallback_() 207 … pnpInf_.productId = *static_cast<uint16_t*>(serviceAry[0].attribute[i].attributeValue); in SdpPnpCallback_() [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_client_parse.c | 1477 if (service->attribute[service->attributeNumber].attributeValue == NULL) { in SdpGetAttributeForBool() 1502 if (service->attribute[service->attributeNumber].attributeValue == NULL) { in SdpGetAttributeForUint() 1519 if (service->attribute[service->attributeNumber].attributeValue == NULL) { in SdpGetAttributeForUint() 1536 if (service->attribute[service->attributeNumber].attributeValue == NULL) { in SdpGetAttributeForUint() 1568 if (service->attribute[service->attributeNumber].attributeValue == NULL) { in SdpGetAttributeForInt() 1858 if (service->attribute[i].attributeValue) { in SdpFreeServiceRemained() 1859 MEM_MALLOC.free(service->attribute[i].attributeValue); in SdpFreeServiceRemained() 1860 service->attribute[i].attributeValue = NULL; in SdpFreeServiceRemained() 1868 if (service->sequenceAttribute[i].attributeValue) { in SdpFreeServiceRemained() 1869 MEM_MALLOC.free(service->sequenceAttribute[i].attributeValue); in SdpFreeServiceRemained() [all …]
|
H A D | sdp_server.c | 38 uint8_t *attributeValue; member 717 buffer[1] = *(uint8_t *)attributeValue; in SdpAddAttributeForCommon() 721 buffer[1] = *(uint8_t *)attributeValue; in SdpAddAttributeForCommon() 733 buffer[1] = *(int8_t *)attributeValue; in SdpAddAttributeForCommon() 737 int16_t value = *(int16_t *)attributeValue; in SdpAddAttributeForCommon() 775 uuid.uuid16 = *(uint16_t *)attributeValue; in SdpAddAttribute() 780 uuid.uuid32 = *(uint32_t *)attributeValue; in SdpAddAttribute() 985 uint8_t *attributeValue = NULL; in SdpAddAttributeToServiceRecord() local 1006 attributeValue = item->attributeItem[item->attributeNumber].attributeValue; in SdpAddAttributeToServiceRecord() 1018 attributeValue[offset] = attributeType; in SdpAddAttributeToServiceRecord() [all …]
|
H A D | sdp_server.h | 61 …uint32_t handle, uint16_t attributeId, SdpDataType type, void *attributeValue, uint16_t attributeV… 63 …uint32_t handle, uint16_t attributeId, const uint8_t *attributeValue, uint16_t attributeValueLengt…
|
H A D | sdp.c | 149 void *attributeValue; member 158 const uint8_t *attributeValue; member 1145 …SdpAddAttribute(ctx->handle, ctx->attributeId, ctx->type, ctx->attributeValue, ctx->attributeValue… in SdpAddAttributeTask() 1152 …uint32_t handle, uint16_t attributeId, SdpDataType type, void *attributeValue, uint16_t attributeV… in SDP_AddAttribute() argument 1167 ctx->attributeValue = attributeValue; in SDP_AddAttribute() 1191 …SdpAddSequenceAttribute(ctx->handle, ctx->attributeId, ctx->attributeValue, ctx->attributeValueLen… in SdpAddSequenceAttributeTask() 1198 …uint32_t handle, uint16_t attributeId, const uint8_t *attributeValue, uint16_t attributeValueLengt… in SDP_AddSequenceAttribute() argument 1212 ctx->attributeValue = attributeValue; in SDP_AddSequenceAttribute()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | sdp.h | 370 …uint32_t handle, uint16_t attributeId, SdpDataType type, void *attributeValue, uint16_t attributeV… 383 …uint32_t handle, uint16_t attributeId, const uint8_t *attributeValue, uint16_t attributeValueLengt… 426 void *attributeValue; member 435 uint8_t *attributeValue; member
|
H A D | att.h | 180 uint8_t *attributeValue; member 228 uint8_t *attributeValue; member
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_sdp_client.cpp | 234 … attribute.attributeValue = *static_cast<uint16_t*>(serviceAry[n].attribute[k].attributeValue); in CopySdpServiceArray() 236 … attribute.attributeValue = *static_cast<uint8_t*>(serviceAry[n].attribute[k].attributeValue); in CopySdpServiceArray() 325 features = HFP_HF_AG_FEATURES_BRSF_MASK & attributes[num].attributeValue; in FindProfileFeatures() 339 network = static_cast<uint8_t>(attributes[num].attributeValue); in FindProfileNetwork()
|
H A D | hfp_hf_sdp_server.cpp | 173 featuresAttr.attributeValue = &features; in AddFeatures() 188 …sdpHandle_, attribute.attributeId, attribute.type, attribute.attributeValue, attribute.attributeVa… in AddAttribute()
|
H A D | hfp_hf_sdp_client.h | 35 uint16_t attributeValue {0};
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_server_profile.cpp | 422 free(serviceList[i].attributeValue); in DiscoverAllPrimaryServiceResponse() 521 valueList[0].attributeValue = (uint8_t *)malloc(len); in FindIncludedServiceResponse() 522 if (valueList[0].attributeValue == nullptr) { in FindIncludedServiceResponse() 537 free(valueList[0].attributeValue); in FindIncludedServiceResponse() 1340 list[num].attributeValue = (uint8_t *)malloc(UUID_16BIT_LEN); in AssembleAttReadByGroupTypeRspPackage() 1344 list[num].attributeValue = (uint8_t *)malloc(UUID_128BIT_LEN); in AssembleAttReadByGroupTypeRspPackage() 1367 list[num].attributeValue = (uint8_t *)malloc(UUID_16BIT_LEN); in AssembleAttReadByTypeRspSvcPackage() 1395 list[num].attributeValue = (uint8_t *)malloc(len); in AssembleAttReadByTypeRspCharacteristicPackage() 1397 AssembleDataPackage(list[num].attributeValue, in AssembleAttReadByTypeRspCharacteristicPackage() 1563 free(list[i].attributeValue); in FreeDataPackage() [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_sdp_client.cpp | 226 … attribute.attributeValue = *static_cast<uint16_t*>(serviceAry[n].attribute[k].attributeValue); in CopySdpServiceArray() 228 … attribute.attributeValue = *static_cast<uint8_t*>(serviceAry[n].attribute[k].attributeValue); in CopySdpServiceArray() 317 features = HFP_AG_HF_FEATURES_BRSF_MASK & attributes[num].attributeValue; in FindProfileFeatures()
|
H A D | hfp_ag_sdp_server.cpp | 173 network.attributeValue = &networkValue; in AddNetwork() 190 featuresAttr.attributeValue = &features; in AddFeatures() 205 …sdpHandle_, attribute.attributeId, attribute.type, attribute.attributeValue, attribute.attributeVa… in AddAttribute()
|
H A D | hfp_ag_sdp_client.h | 34 uint16_t attributeValue {0};
|
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/js/ |
H A D | AccessibilityExtensionContext.d.ts | 368 attributeValue<T extends keyof ElementAttributeValues>( 386 …attributeValue<T extends keyof ElementAttributeValues>(attributeName: T): Promise<ElementAttribute…
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/ |
H A D | att_send_response.c | 583 … MEM_MALLOC.free(readByTypeResAsyncPtr->attReadByTypeRspContext.valueList[index].attributeValue); in AttReadByTypeResponseFree() 642 readByTypeResAsyncPtr->attReadByTypeRspContext.valueList[index].attributeValue, in AttReadByTypeResponseAsync() 700 attReadByTypeDataPtr[index].attributeValue = MEM_MALLOC.alloc(length - STEP_TWO); in ATT_ReadByTypeResponse() 701 if (attReadByTypeDataPtr[index].attributeValue == NULL) { in ATT_ReadByTypeResponse() 706 (void)memcpy_s(attReadByTypeDataPtr[index].attributeValue, in ATT_ReadByTypeResponse() 708 valueList[index].attributeValue, in ATT_ReadByTypeResponse() 1033 …C.free(attReadByGroupResponseAsyncPtr->attReadGroupResContext.attributeData[index].attributeValue); in AttReadByGroupTypeResponseAsyncFree() 1091 … attReadByGroupResponseAsyncPtr->attReadGroupResContext.attributeData[index].attributeValue, in AttReadByGroupTypeResponseAsync() 1152 attReadGroupAttrDataPtr[index].attributeValue = MEM_MALLOC.alloc(length - STEP_FOUR); in ATT_ReadByGroupTypeResponse() 1155 (void)memcpy_s(attReadGroupAttrDataPtr[index].attributeValue, in ATT_ReadByGroupTypeResponse() [all …]
|
H A D | att_receive.c | 285 MEM_MALLOC.free(valueList->readHandleListNum.valueList[index].attributeValue); in AttReadFree() 287 MEM_MALLOC.free(valueList->readGroupResponse.attributeData[index].attributeValue); in AttReadFree() 316 …attReadPtr->readGroupResponse.attributeData[indexNum].attributeValue = MEM_MALLOC.alloc(len - STEP… in AttReadAttrAssign() 319 (void)memcpy_s(attReadPtr->readGroupResponse.attributeData[indexNum].attributeValue, in AttReadAttrAssign() 876 …attReadObj.readHandleListNum.valueList[indexNum].attributeValue = MEM_MALLOC.alloc(len - STEP_TWO); in AttReadByTypeResponse() 879 (void)memcpy_s(attReadObj.readHandleListNum.valueList[indexNum].attributeValue, in AttReadByTypeResponse()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-accessibility.md | 16 …yElement | "attributeValue\<T extends keyof ElementAttributeValues>(attributeName: T): Promise\<El…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-accessibility.md | 16 …yElement | "attributeValue\<T extends keyof ElementAttributeValues>(attributeName: T): Promise\<El…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.35/ |
H A D | changelogs-accessibility.md | 45 …| AccessibilityExtensionContext | attributeValue<T extends keyof ElementAttributeValues>(a… 46 …| AccessibilityExtensionContext | attributeValue<T extends keyof ElementAttributeValues>(att…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.35/ |
H A D | changelogs-accessibility.md | 45 …| AccessibilityExtensionContext | attributeValue\<T extends keyof ElementAttributeValues>(attribu… 46 …| AccessibilityExtensionContext | attributeValue\<T extends keyof ElementAttributeValues>(attribut…
|
/ohos5.0/docs/zh-cn/application-dev/accessibility/ |
H A D | accessibilityextensionability.md | 157 value = await accessibilityElement.attributeValue(key); 160 …console.error(`AccessibilityUtils Failed to get attributeValue of ${key} . Cause: ${JSON.stringif…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/ |
H A D | js-apidiff-accessibility.md | 8 …attributeValue\<T extends keyof ElementAttributeValues>(<br> attributeName: T,<br> callback:…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-accessibility-kit/ |
H A D | js-apis-inner-application-accessibilityExtensionContext.md | 857 ### attributeValue<sup>(deprecated)</sup> 859 attributeValue\<T extends keyof ElementAttributeValues>(attributeName: T): Promise\<ElementAttribut… 901 rootElement.attributeValue(attributeName).then((data: string) => { 908 ### attributeValue<sup>(deprecated)</sup> 910 attributeValue\<T extends keyof ElementAttributeValues>(attributeName: T, 946 rootElement.attributeValue(attributeName, (err: BusinessError, data: string) => {
|
/ohos5.0/docs/en/application-dev/accessibility/ |
H A D | accessibilityextensionability.md | 157 value = await accessibilityElement.attributeValue(key); 160 …console.error(`AccessibilityUtils Failed to get attributeValue of ${key} . Cause: ${JSON.stringif…
|