Home
last modified time | relevance | path

Searched refs:peerUdidHash (Results 1 - 14 of 14) sorted by relevance

/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_connection_fsm.c97 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 Dlnn_event_form.h126 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 Dlnn_event_test.cpp94 .peerUdidHash = "9ada389cd0898797", in HWTEST_F()
148 .peerUdidHash = "", in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_connection_fsm_test.cpp587 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 Dauth_hichain.c263 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 Dlnn_event.c80 extra->peerUdidHash = NULL; in LnnEventExtraInit()
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Dlnn_event_converter.h68 LNN_ASSIGNER(AnonymizeString, PeerUdidHash, peerUdidHash)
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_auth_manager_third.cpp56 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 Dlnn_node_info.h125 unsigned char peerUdidHash[LFINDER_UDID_HASH_LEN]; member
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/mock/
H A Dlnn_hisysevent_matcher.h96 MatchLnnEventNameTypeExtraStrParamAnony(params, ++index, extra.peerUdidHash); in MATCHER_P2()
/foundation/distributedhardware/device_manager/services/implementation/include/authentication/
H A Ddm_auth_manager.h530 void GetPeerUdidHash(int32_t sessionId, std::string &peerUdidHash);
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link.c852 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 Ddm_auth_manager.cpp400 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 Dlnn_heartbeat_medium_mgr.c608 extra->peerUdidHash = bleExtra->extra.peerUdidHash; in CopyBleReportExtra()

Completed in 18 milliseconds