Home
last modified time | relevance | path

Searched refs:descLength (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_sdp_client.cpp96 uint16_t descLength = 0; in ParseHidDescInfo() local
98 descLength = attributeValue[1]; in ParseHidDescInfo()
102descLength = (attributeValue[offset] << ONE_BYTE_OFFSET) | attributeValue[offset + 1]; in ParseHidDescInfo()
110 if (descLength <= 0) { in ParseHidDescInfo()
116 hidInf_.descInfo = std::make_unique<uint8_t[]>(descLength); in ParseHidDescInfo()
117 … if (memcpy_s(hidInf_.descInfo.get(), descLength, attributeValue + offset, descLength) != EOK) { in ParseHidDescInfo()
122 hidInf_.descLength = descLength; in ParseHidDescInfo()
170 hidInf_.relNum, hidInf_.ctryCode, hidInf_.subClass, hidInf_.descLength); in printHidSdpInfo()
H A Dhid_host_uhid.cpp188 hidInf.descLength); in SendHidInfo()
203 ev.u.create.rd_size = hidInf.descLength; in SendHidInfo()
213 __FUNCTION__, fd_, hidInf.descLength, ret); in SendHidInfo()
H A Dhid_host_hogp.cpp609 hidInf_.descLength = 0; in SaveReportMap()
613 hidInf_.descLength = character.length_; in SaveReportMap()
614 LOG_DEBUG("[HOGP]%{public}s():descLength = 0x%{public}x", __FUNCTION__, hidInf_.descLength); in SaveReportMap()
H A Dhid_host_statemachine.cpp622 __FUNCTION__, pnpInf.version, hidInf.ctryCode, hidInf.descLength); in ProcessOpenComplete()
688 __FUNCTION__, pnpInf.version, hidInf.ctryCode, hidInf.descLength); in ProcessBleOpenComplete()
H A Dhid_host_defines.h142 uint16_t descLength = 0; member