Lines Matching refs:rawId
40 * @param rawId Contacts's raw_contact_id to query
44 int MatchCandidate::FindMatchContact(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
48 Candidate candidate = candidateStatus.QueryAllForMerge(store, rawId);
77 * @param rawId Contacts's raw_contact_id to split
81 int MatchCandidate::Split(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
89 mergeUtils.GetRawIdsByRawId(store, rawId, rawIds);
104 AddHasByRawId(store, rawId);
108 void MatchCandidate::AddHasByRawId(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
116 mergeUtils.AddHasJudgeForRawId(store, rawId, values);
118 int contactsRet = contacts.UpdateContact(rawId, store, values);
122 int MatchCandidate::UpdateSearch(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId, int contactsId)
133 .append(std::to_string(rawId));
138 int64_t MatchCandidate::AddNewContact(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
162 .append(std::to_string(rawId));
165 value[0].PutInt(ContactColumns::NAME_RAW_CONTACT_ID, rawId);
166 mergeUtils.AddHasJudgeForRawId(store, rawId, value[0]);
167 int64_t rawIdTemp = rawId;
222 int MatchCandidate::UpdateRawContact(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId, int64_t contactsId)
238 .append(std::to_string(rawId));