Home
last modified time | relevance | path

Searched refs:descData (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_sdp_client.cpp188 std::vector<uint8_t> descData = std::vector<uint8_t>( in SaveHidSdpInfo() local
191 currentAddr_, hidInf_.ctryCode, descData, hidInf_.descLength); in SaveHidSdpInfo()
206 std::vector<uint8_t> descData; in GetConfigHidSdpInfo() local
210 classicAdapter->GetHidDescInfo(currentAddr_, ctryCode, descData, descLength); in GetConfigHidSdpInfo()
211 if (!descData.empty() && descLength > 0) { in GetConfigHidSdpInfo()
213 if (memcpy_s(hidInf_.descInfo.get(), descLength, &descData[0], descLength) != EOK) { in GetConfigHidSdpInfo()
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_adapter_classic.h364 const std::string &remoteAddr, int ctryCode, const std::vector<uint8_t> &descData, int descLength) = 0;
367 const std::string &remoteAddr, int &ctryCode, std::vector<uint8_t> &descData, int &descLength) = 0;
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_client.cpp228 BtGattReadData descData; variable
232 GattcBuildUuid(&descData.attribute.descriptor.characteristic.serviceUuid, srvUuid);
233 GattcBuildUuid(&descData.attribute.descriptor.characteristic.characteristicUuid, charcUuid);
234 GattcBuildUuid(&descData.attribute.descriptor.descriptorUuid, descUuid);
236 descData.data = descriptor.GetValue(&tmpLen).get();
237 descData.dataLen = (unsigned short)tmpLen;
239 HILOGI("clientId: %{public}d, ret: %{public}d, dataLen: %{public}d", clientId_, ret, descData.dataLen);
242 appCallback_->readDescriptorCb(clientId_, &descData, GetGattcResult(ret));
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter.h408 const std::string &remoteAddr, int ctryCode, const std::vector<uint8_t> &descData, int descLength) override;
411 const std::string &remoteAddr, int &ctryCode, std::vector<uint8_t> &descData, int &descLength) override;
H A Dclassic_adapter.cpp2432 const std::string &remoteAddr, int ctryCode, const std::vector<uint8_t> &descData, int descLength) in SetHidDescInfo()
2434 bool ret = adapterProperties_.SetHidDescInfo(remoteAddr, ctryCode, ClassicUtils::ConvertIntToHexString(descData)); in SetHidDescInfo()
2447 const std::string &remoteAddr, int &ctryCode, std::vector<uint8_t> &descData, int &descLength) in GetHidDescInfo()
2451 ClassicUtils::ConvertHexStringToInt(descInfo, descData); in GetHidDescInfo()
2452 descLength = descData.size(); in GetHidDescInfo()
2431 SetHidDescInfo( const std::string &remoteAddr, int ctryCode, const std::vector<uint8_t> &descData, int descLength) SetHidDescInfo() argument
2446 GetHidDescInfo( const std::string &remoteAddr, int &ctryCode, std::vector<uint8_t> &descData, int &descLength) GetHidDescInfo() argument

Completed in 8 milliseconds