Home
last modified time | relevance | path

Searched refs:peerConnDeviceId (Results 1 - 2 of 2) sorted by relevance

/base/security/device_auth/services/identity_manager/src/
H A Didentity_p2p.c42 const char *peerConnDeviceId = GetStringFromJson(in, FIELD_PEER_CONN_DEVICE_ID); in CombineQueryCredentialParams() local
43 if (peerConnDeviceId == NULL) { in CombineQueryCredentialParams()
44 LOGE("Failed to get peerConnDeviceId from context, need peerConnDeviceId!"); in CombineQueryCredentialParams()
68 if (AddStringToJson(out, FIELD_DEVICE_ID, peerConnDeviceId) != HC_SUCCESS) { in CombineQueryCredentialParams()
257 LOGE("get peerConnDeviceId from json fail."); in GetDirectAuthPskAliasCreateIfNeeded()
/base/security/device_auth/services/
H A Ddevice_auth.c162 const char *peerConnDeviceId = GetStringFromJson(in, FIELD_PEER_CONN_DEVICE_ID); in GetPeerUdidFromJson() local
163 if (peerConnDeviceId == NULL) { in GetPeerUdidFromJson()
164 LOGI("get peerConnDeviceId from json fail."); in GetPeerUdidFromJson()
170 const char *deviceId = GetDeviceIdByUdidHash(osAccountId, peerConnDeviceId); in GetPeerUdidFromJson()
171 return (deviceId == NULL ? peerConnDeviceId : deviceId); in GetPeerUdidFromJson()
173 return peerConnDeviceId; in GetPeerUdidFromJson()
851 LOGE("add peerConnDeviceId to context fail."); in BuildClientAuthContext()
972 LOGE("add peerConnDeviceId to context fail."); in AddDeviceIdToJson()
1037 LOGE("need peerConnDeviceId or pinCode!"); in BuildServerP2PAuthContext()

Completed in 6 milliseconds