Home
last modified time | relevance | path

Searched refs:mergeUtils (Results 1 - 3 of 3) sorted by relevance

/applications/standard/contacts_data/ability/merge/src/
H A Dcandidate_status.cpp48 MergeUtils mergeUtils; in QueryAllForMerge() local
49 std::set<std::string> names = mergeUtils.QueryRawContactByType(store, rawId, nameType); in QueryAllForMerge()
51 std::vector<int> nameIds = mergeUtils.QueryByDataName(rawId, names, store); in QueryAllForMerge()
53 std::set<std::string> phones = mergeUtils.QueryRawContactByType(store, rawId, phoneType); in QueryAllForMerge()
61 std::set<std::string> otherPhones = mergeUtils.QueryRawContactByType(store, nameIds[i], phoneType); in QueryAllForMerge()
68 if (mergeUtils.SetEqual(phones, otherPhones)) { in QueryAllForMerge()
206 MergeUtils mergeUtils; in JudgeDataDifferent() local
209 std::set<std::string> names = mergeUtils.QueryRawContactByType(store, rawId, nameType); in JudgeDataDifferent()
210 std::set<std::string> phones = mergeUtils.QueryRawContactByType(store, rawId, phoneType); in JudgeDataDifferent()
H A Dmatch_candidate.cpp88 MergeUtils mergeUtils; in Split() local
89 mergeUtils.GetRawIdsByRawId(store, rawId, rawIds); in Split()
110 MergeUtils mergeUtils; in AddHasByRawId() local
116 mergeUtils.AddHasJudgeForRawId(store, rawId, values); in AddHasByRawId()
140 MergeUtils mergeUtils; in AddNewContact() local
166 mergeUtils.AddHasJudgeForRawId(store, rawId, value[0]); in AddNewContact()
H A Dmerger_contacts.cpp333 MergeUtils mergeUtils; in UpdateCandidate() local
335 std::set<std::string> names = mergeUtils.QueryRawContactByType(store, rawId, nameType); in UpdateCandidate()
336 std::set<std::string> phones = mergeUtils.QueryRawContactByType(store, rawId, phoneType); in UpdateCandidate()
345 std::set<std::string> otherPhones = mergeUtils.QueryRawContactByType(store, *nameId, phoneType); in UpdateCandidate()
346 bool isMatch = mergeUtils.SetEqual(phones, otherPhones); in UpdateCandidate()

Completed in 3 milliseconds