/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_connection_fsm.c | 97 char peerUdidHash[HB_SHORT_UDID_HASH_HEX_LEN + 1]; member 504 static int32_t GetUdidHashForDfx(char *localUdidHash, char *peerUdidHash, LnnConntionInfo *connInfo) in GetUdidHashForDfx() argument 525 if (strncpy_s(peerUdidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, (char *)connInfo->addr.info.ip.udidHash, in GetUdidHashForDfx() 531 rc = ConvertBytesToHexString(peerUdidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, in GetUdidHashForDfx() 541 static int32_t GetPeerUdidHash(NodeInfo *nodeInfo, char *peerUdidHash) in GetPeerUdidHash() argument 543 if (nodeInfo == NULL || peerUdidHash == NULL) { in GetPeerUdidHash() 555 rc = ConvertBytesToHexString(peerUdidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, hash, HB_SHORT_UDID_HASH_LEN); in GetPeerUdidHash() 593 static int32_t GetPeerUdidInfo(NodeInfo *nodeInfo, char *udidData, char *peerUdidHash) in GetPeerUdidInfo() argument 600 if (IsEmptyShortHashStr(peerUdidHash) || strlen(peerUdidHash) ! in GetPeerUdidInfo() 831 char peerUdidHash[HB_SHORT_UDID_HASH_HEX_LEN + 1] = { 0 }; DeletePcRestrictNode() local [all...] |
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/ |
H A D | lnn_event_form.h | 126 const char *peerUdidHash; // PEER_UDID_HASH member 145 char peerUdidHash[HB_SHORT_UDID_HASH_HEX_LEN + 1]; // PEER_UDID_HASH member
|
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/src/ |
H A D | lnn_event_test.cpp | 94 .peerUdidHash = "9ada389cd0898797", in HWTEST_F() 148 .peerUdidHash = "", in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_connection_fsm_test.cpp | 587 char peerUdidHash[HB_SHORT_UDID_HASH_HEX_LEN + 1] = {0}; in HWTEST_F() local 588 int32_t ret = GetUdidHashForDfx(localUdidHash, peerUdidHash, &connInfo); in HWTEST_F() 590 ret = GetUdidHashForDfx(localUdidHash, peerUdidHash, &connInfo); in HWTEST_F() 594 ret = GetUdidHashForDfx(localUdidHash, peerUdidHash, &connInfo); in HWTEST_F() 626 char peerUdidHash[HB_SHORT_UDID_HASH_HEX_LEN + 1] = {0}; in HWTEST_F() local 627 int32_t ret = GetPeerUdidHash(&nodeInfo, peerUdidHash); in HWTEST_F() 629 ret = GetPeerUdidHash(nullptr, peerUdidHash); in HWTEST_F() 675 char peerUdidHash[HB_SHORT_UDID_HASH_HEX_LEN + 1] = {0}; in HWTEST_F() local 676 int32_t ret = GetPeerUdidInfo(&nodeInfo, udidData, peerUdidHash); in HWTEST_F() 691 extra.peerUdidHash in HWTEST_F() [all...] |
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_hichain.c | 263 char peerUdidHash[HB_SHORT_UDID_HASH_HEX_LEN + 1] = { 0 }; in DeletePcRestrictNode() local 266 if (GetUdidHash(udid, peerUdidHash) == SOFTBUS_OK && GetNodeFromPcRestrictMap(peerUdidHash, &count) == SOFTBUS_OK) { in DeletePcRestrictNode() 267 DeleteNodeFromPcRestrictMap(peerUdidHash); in DeletePcRestrictNode()
|
/foundation/communication/dsoftbus/core/common/dfx/event/src/ |
H A D | lnn_event.c | 80 extra->peerUdidHash = NULL; in LnnEventExtraInit()
|
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/ |
H A D | lnn_event_converter.h | 68 LNN_ASSIGNER(AnonymizeString, PeerUdidHash, peerUdidHash)
|
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_auth_manager_third.cpp | 56 void DmAuthManager::GetPeerUdidHash(int32_t sessionId, std::string &peerUdidHash) in GetPeerUdidHash() argument 58 peerUdidHash = g_peerUdidHash; in GetPeerUdidHash()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 125 unsigned char peerUdidHash[LFINDER_UDID_HASH_LEN]; member
|
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/mock/ |
H A D | lnn_hisysevent_matcher.h | 96 MatchLnnEventNameTypeExtraStrParamAnony(params, ++index, extra.peerUdidHash); in MATCHER_P2()
|
/foundation/distributedhardware/device_manager/services/implementation/include/authentication/ |
H A D | dm_auth_manager.h | 530 void GetPeerUdidHash(int32_t sessionId, std::string &peerUdidHash);
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link.c | 852 uint8_t peerUdidHash[UDID_HASH_LEN] = {0}; in ConvertUdidToHexStr() local 853 int32_t ret = SoftBusGenerateStrHash((const unsigned char*)peerUdid, strlen(peerUdid), peerUdidHash); in ConvertUdidToHexStr() 858 ret = ConvertBytesToHexString(udidHashStr, hashStrLen, peerUdidHash, UDID_SHORT_HASH_LEN_TMP); in ConvertUdidToHexStr()
|
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/ |
H A D | dm_auth_manager.cpp | 400 void DmAuthManager::GetPeerUdidHash(int32_t sessionId, std::string &peerUdidHash) in GetPeerUdidHash() argument 406 peerUdidHash = ""; in GetPeerUdidHash() 412 peerUdidHash = ""; in GetPeerUdidHash() 415 peerUdidHash = std::string(udidHashTmp); in GetPeerUdidHash()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_medium_mgr.c | 608 extra->peerUdidHash = bleExtra->extra.peerUdidHash; in CopyBleReportExtra()
|