Home
last modified time | relevance | path

Searched refs:BleUtils (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_utils.cpp26 std::string BleUtils::IntToHexString(uint8_t value) in IntToHexString()
35 std::string BleUtils::ConvertIntToHexString(const std::vector<uint8_t> &key) in ConvertIntToHexString()
45 void BleUtils::ConvertHexStringToInt(const std::string &str, std::vector<uint8_t> &key) in ConvertHexStringToInt()
53 void BleUtils::Rand16hex(std::vector<uint8_t> &key) in Rand16hex()
73 void BleUtils::GetRandomAddress(std::vector<uint8_t> &addr, bool isNonResPriAddr) in GetRandomAddress()
H A Dble_utils.h32 class BleUtils { class
H A Dble_security.cpp462 ret &= BleConfig::GetInstance().SetLocalLtk(addr.GetAddress(), BleUtils::ConvertIntToHexString(ltk)); in SaveLocalPairKey()
470 ret &= BleConfig::GetInstance().SetLocalCsrk(addr.GetAddress(), BleUtils::ConvertIntToHexString(csrk)); in SaveLocalPairKey()
489 ret &= BleConfig::GetInstance().SetPeerLtk(addr.GetAddress(), BleUtils::ConvertIntToHexString(ltk)); in SavePeerPairKey()
500 ret &= BleConfig::GetInstance().SetPeerIrk(addr.GetAddress(), BleUtils::ConvertIntToHexString(irk)); in SavePeerPairKey()
506 ret &= BleConfig::GetInstance().SetPeerCsrk(addr.GetAddress(), BleUtils::ConvertIntToHexString(csrk)); in SavePeerPairKey()
545 BleUtils::ConvertHexStringToInt(ltk, vec); in GapLeLocalEncryptionKeyReqEvent()
573 BleUtils::ConvertHexStringToInt(ltk, vec); in GapLeRemoteEncryptionKeyReqEvent()
615 BleUtils::ConvertHexStringToInt(BleConfig::GetInstance().GetLocalCsrk(addr.GetAddress()), vec); in GapRequestSigningAlgorithmInfoEvt()
625 BleUtils::ConvertHexStringToInt(BleConfig::GetInstance().GetPeerCsrk(addr.GetAddress()), vec); in GapRequestSigningAlgorithmInfoEvt()
H A Dble_adapter.cpp436 BleUtils::Rand16hex(key); in SetLocalIrkAndIdentityAddrToBtm()
437 BleConfig::GetInstance().SetLocalIrk(BleUtils::ConvertIntToHexString(key)); in SetLocalIrkAndIdentityAddrToBtm()
438 irk = BleUtils::ConvertIntToHexString(key); in SetLocalIrkAndIdentityAddrToBtm()
441 BleUtils::ConvertHexStringToInt(irk, vec); in SetLocalIrkAndIdentityAddrToBtm()
454 BleUtils::GetRandomAddress(vec, false); in SetLocalIrkAndIdentityAddrToBtm()
1218 BleUtils::ConvertHexStringToInt(irk, vec); in SavePeerDevices2BTM()
1380 BleUtils::ConvertHexStringToInt(irk, vec); in LePairComplete()
H A Dble_central_manager_impl.cpp268 LOG_INFO("AdvertisingReport Data=%{public}s", BleUtils::ConvertIntToHexString(mergeData).c_str()); in AdvertisingReport()
315 LOG_INFO("ExAdvertisingReport Data=%{public}s", BleUtils::ConvertIntToHexString(mergeData).c_str()); in ExAdvertisingReport()
329 HILOGI("Data = %{public}s", BleUtils::ConvertIntToHexString(data).c_str()); in AdvertisingReportTask()
384 HILOGI("Data = %{public}s", BleUtils::ConvertIntToHexString(data).c_str()); in ExAdvertisingReportTask()
H A Dble_advertiser_impl.cpp894 BleUtils::ConvertIntToHexString(legacyDatas).c_str(), in SetAdvDataToGap()
1028 BleUtils::ConvertIntToHexString(exAdvDatas).c_str(), in SetExAdvDataToGap()
1056 BleUtils::ConvertIntToHexString(legacyDatas).c_str(), in SetAdvScanRspDataToGap()
1092 BleUtils::ConvertIntToHexString(exAdvDatas).c_str(), in SetExAdvScanRspDataToGap()

Completed in 11 milliseconds