Home
last modified time | relevance | path

Searched refs:linkKey (Results 1 – 15 of 15) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
Dclassic_adapter_properties.cpp442 std::vector<uint8_t> linkKey; in GetPairedDevice() local
443 ClassicUtils::ConvertHexStringToInt(key, linkKey); in GetPairedDevice()
444 remote->SetLinkKey(linkKey); in GetPairedDevice()
492 std::vector<uint8_t> linkKey = remote->GetLinkKey(); in SavePairedDeviceInfo() local
493 std::string key = ClassicUtils::ConvertIntToHexString(linkKey); in SavePairedDeviceInfo()
Dclassic_remote_device.cpp235 void ClassicRemoteDevice::SetLinkKey(const std::vector<uint8_t> &linkKey) in SetLinkKey() argument
239 linkKey_ = linkKey; in SetLinkKey()
Dclassic_config.h266 bool SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) const;
Dclassic_remote_device.h267 void SetLinkKey(const std::vector<uint8_t> &linkKey);
Dclassic_config.cpp268 bool ClassicConfig::SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) con… in SetRemoteLinkkey()
270 if (!config_->SetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_LINK_KEY, linkKey)) { in SetRemoteLinkkey()
Dclassic_adapter.h532 … const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context);
888 …void ReceiveLinkKeyNotification(const BtAddr &addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8…
Dclassic_defs.h199 const uint8_t linkKey[PAIR_LINK_KEY_SIZE]; member
Dclassic_adapter.cpp833 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context) in LinkKeyNotification()
840 …(void)memcpy_s((void *)param.linkKeyNotificationParam_.linkKey, GAP_LINKKEY_SIZE, linkKey, GAP_LIN… in LinkKeyNotification()
972 param.linkKeyNotificationParam_.linkKey, in HandleSecurityEvent()
1511 const BtAddr &addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) in ReceiveLinkKeyNotification()
1530 std::vector<uint8_t> linkKeyVec(linkKey, (linkKey + GAP_LINKKEY_SIZE)); in ReceiveLinkKeyNotification()
2147 std::vector<uint8_t> linkKey = remoteDevice->GetLinkKey(); in SetLinkKey() local
2148 if (memcpy_s(key, linkKey.size(), &linkKey[0], linkKey.size()) != EOK) { in SetLinkKey()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
Dgap.h253 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uin…
Dgap_if.c142 uint8_t *linkKey; member
926 info->result = GAP_LinkKeyRsp(info->addr, info->accept, info->linkKey, info->keyType); in GapLinkKeyRspTask()
929 int GAPIF_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], u… in GAPIF_LinkKeyRsp()
943 ctx->linkKey = (uint8_t *)linkKey; in GAPIF_LinkKeyRsp()
Dgap_br_sec.c1494 static int GapLinkKeyRequestReply(const BtAddr *addr, const uint8_t *linkKey) in GapLinkKeyRequestReply() argument
1498 if (memcpy_s(hciCmdParam.linkKey, GAP_LINKKEY_SIZE, linkKey, GAP_LINKKEY_SIZE) != EOK) { in GapLinkKeyRequestReply()
1552 … &addr, (uint8_t *)eventParam->linkKey, eventParam->keyType, g_authenticationCallback.context); in GapOnLinkKeyNotificationEvent()
1605 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uin… in GAP_LinkKeyRsp()
1613 if (addr == NULL || linkKey == NULL) { in GAP_LinkKeyRsp()
1627 ret = GapLinkKeyRequestReply(addr, linkKey); in GAP_LinkKeyRsp()
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
Dgap_if.h192 … const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context);
446 const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType);
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
Dhci_def_evt.h248 uint8_t linkKey[16]; member
288 uint8_t linkKey[16]; member
Dhci_def_link_ctrl_cmd.h151 uint8_t linkKey[16]; member
Dhci_def_controller_baseband_cmd.h152 uint8_t *linkKey; member