Searched refs:phoneContacts (Results 1 – 1 of 1) sorted by relevance
141 List<Cp2Contact> phoneContacts = new ArrayList<>(); in coalesceContacts() local144 phoneContacts.add(contact); in coalesceContacts()156 removeDuplicatePhoneNumbers(phoneContacts); in coalesceContacts()159 for (Cp2Contact phoneContact : phoneContacts) { in coalesceContacts()177 private static void removeDuplicatePhoneNumbers(List<Cp2Contact> phoneContacts) { in removeDuplicatePhoneNumbers() argument178 for (int i = 0; i < phoneContacts.size(); i++) { in removeDuplicatePhoneNumbers()179 Cp2Contact contact1 = phoneContacts.get(i); in removeDuplicatePhoneNumbers()180 for (int j = i + 1; j < phoneContacts.size(); /* don't iterate by default */ ) { in removeDuplicatePhoneNumbers()181 Cp2Contact contact2 = phoneContacts.get(j); in removeDuplicatePhoneNumbers()184 phoneContacts.remove(contact2); in removeDuplicatePhoneNumbers()[all …]