Lines Matching defs:peerUdid
838 const char *peerUdid = GetPeerUdidFromJson(osAccountId, context);
839 if (peerUdid != NULL) {
841 if (DeepCopyString(peerUdid, &deviceId) != HC_SUCCESS) {
842 LOGE("Failed to copy peerUdid!");
846 LOGE("add peerUdid to context fail.");
959 static int32_t AddDeviceIdToJson(CJson *context, const char *peerUdid)
962 if (DeepCopyString(peerUdid, &deviceId) != HC_SUCCESS) {
963 LOGE("Failed to copy peerUdid!");
967 LOGE("add peerUdid to context fail.");
992 const char *peerUdid = GetPeerUdidFromJson(osAccountId, context);
993 if (peerUdid == NULL) {
996 PRINT_SENSITIVE_DATA("PeerUdid", peerUdid);
997 if (AddDeviceIdToJson(context, peerUdid) != HC_SUCCESS) {
1034 const char *peerUdid = GetStringFromJson(context, FIELD_PEER_CONN_DEVICE_ID);
1036 if (peerUdid == NULL && pinCode == NULL) {
1040 if (peerUdid != NULL) {
1041 PRINT_SENSITIVE_DATA("PeerUdid", peerUdid);
1042 if (AddDeviceIdToJson(context, peerUdid) != HC_SUCCESS) {