Home
last modified time | relevance | path

Searched refs:udidHashStr (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_manager_mock.cpp84 int32_t LnnGetConnSubFeatureByUdidHashStr(const char *udidHashStr, uint64_t *connSubFeature) in LnnGetConnSubFeatureByUdidHashStr() argument
86 …return GetConnectionBleInterface()->LnnGetConnSubFeatureByUdidHashStr(udidHashStr, connSubFeature); in LnnGetConnSubFeatureByUdidHashStr()
H A Dconnection_ble_manager_mock.h43 …virtual int32_t LnnGetConnSubFeatureByUdidHashStr(const char *udidHashStr, uint64_t *connSubFeatur…
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c829 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in BleServerAccepted() local
831udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), (unsigned char *)info.bleInfo.deviceIdHash, SHORT_UD… in BleServerAccepted()
837 ConvertAnonymizeSensitiveString(anomizeUdid, UDID_BUF_LEN, udidHashStr); in BleServerAccepted()
890 char udidHashStr[HEXIFY_LEN(UDID_HASH_LEN)] = { 0 }; in BleConnectionClosed() local
892udidHashStr, HEXIFY_LEN(UDID_HASH_LEN), (unsigned char *)info.bleInfo.deviceIdHash, UDID_HASH_LEN); in BleConnectionClosed()
898 SoftbusBleConflictNotifyDisconnect(connection->addr, udidHashStr); in BleConnectionClosed()
1746 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in BleConnectDevice() local
1747 int32_t status = ConvertBytesToHexString(udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), in BleConnectDevice()
1756 ConvertAnonymizeSensitiveString(anomizeUdid, UDID_BUF_LEN, udidHashStr); in BleConnectDevice()
1766 strcpy_s(ctx->udid, UDID_BUF_LEN, udidHashStr) != EOK) { in BleConnectDevice()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link.c846 static int32_t ConvertUdidToHexStr(const char *peerUdid, char *udidHashStr, uint32_t hashStrLen) in ConvertUdidToHexStr() argument
848 if (peerUdid == NULL || udidHashStr == NULL) { in ConvertUdidToHexStr()
858 ret = ConvertBytesToHexString(udidHashStr, hashStrLen, peerUdidHash, UDID_SHORT_HASH_LEN_TMP); in ConvertUdidToHexStr()
903 static int32_t FetchLaneResourceByDevIdHash(const char *udidHashStr, LaneLinkType type, bool isSame… in FetchLaneResourceByDevIdHash() argument
905 if (udidHashStr == NULL) { in FetchLaneResourceByDevIdHash()
923 if ((!isSameDevice && strcmp(hashHexStr, udidHashStr) != 0) || in FetchLaneResourceByDevIdHash()
924 (isSameDevice && strcmp(hashHexStr, udidHashStr) == 0)) { in FetchLaneResourceByDevIdHash()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/interface/
H A Dbus_center_manager.h86 int32_t LnnGetConnSubFeatureByUdidHashStr(const char *udidHashStr, uint64_t *connSubFeature);
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_client_test.cpp120 int32_t LnnGetConnSubFeatureByUdidHashStr(const char *udidHashStr, uint64_t *connSubFeature) in LnnGetConnSubFeatureByUdidHashStr() argument
122 (void)udidHashStr; in LnnGetConnSubFeatureByUdidHashStr()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger_manager.c1460 int32_t LnnGetConnSubFeatureByUdidHashStr(const char *udidHashStr, uint64_t *connSubFeature) in LnnGetConnSubFeatureByUdidHashStr() argument
1462 if (udidHashStr == NULL || udidHashStr[0] == '\0' || connSubFeature == NULL) { in LnnGetConnSubFeatureByUdidHashStr()
1489 if (memcmp(shortUdidHashStr, udidHashStr, SHORT_UDID_HASH_HEX_LEN) != 0) { in LnnGetConnSubFeatureByUdidHashStr()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_manager.c2092 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in TransProxyGetConnOptionByChanId() local
2093 ret = ConvertBytesToHexString(udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), in TransProxyGetConnOptionByChanId()
2103 Anonymize(udidHashStr, &udidHash); in TransProxyGetConnOptionByChanId()