Searched refs:connectedRawContactSets (Results 1 – 4 of 4) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | ContactAggregatorHelperTest.java | 50 Set<Set<Long>> connectedRawContactSets = new HashSet<>(); in testMergeComponentsWithDisjointAccounts() local 56 connectedRawContactSets.add(rawContactSet); in testMergeComponentsWithDisjointAccounts() 74 ContactAggregatorHelper.mergeComponentsWithDisjointAccounts(connectedRawContactSets, in testMergeComponentsWithDisjointAccounts() 77 MoreAsserts.assertContentsInAnyOrder(connectedRawContactSets, Sets.newHashSet(100l, in testMergeComponentsWithDisjointAccounts() 82 Set<Set<Long>> connectedRawContactSets = new HashSet<>(); in testMergeComponentsWithDisjointAccounts2() local 87 connectedRawContactSets.add(rawContactSet1); in testMergeComponentsWithDisjointAccounts2() 91 connectedRawContactSets.add(rawContactSet2); in testMergeComponentsWithDisjointAccounts2() 94 connectedRawContactSets.add(rawContactSet3); in testMergeComponentsWithDisjointAccounts2() 104 ContactAggregatorHelper.mergeComponentsWithDisjointAccounts(connectedRawContactSets, in testMergeComponentsWithDisjointAccounts2() 107 MoreAsserts.assertContentsInAnyOrder(connectedRawContactSets, Sets.newHashSet(100l, in testMergeComponentsWithDisjointAccounts2()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | ContactAggregatorHelper.java | 41 public static void mergeComponentsWithDisjointAccounts(Set<Set<Long>> connectedRawContactSets, in mergeComponentsWithDisjointAccounts() argument 49 for (Set<Long> rIds : connectedRawContactSets) { in mergeComponentsWithDisjointAccounts() 63 connectedRawContactSets.clear(); in mergeComponentsWithDisjointAccounts() 70 connectedRawContactSets.add(rIdSet); in mergeComponentsWithDisjointAccounts() 87 connectedRawContactSets.add(mergedSet); in mergeComponentsWithDisjointAccounts() 97 Set<Set<Long>> connectedRawContactSets = new ArraySet<>(); in findConnectedComponents() local 103 connectedRawContactSets.add(set); in findConnectedComponents() 106 return connectedRawContactSets; in findConnectedComponents()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 423 final Set<Set<Long>> connectedRawContactSets = findConnectedRawContacts(db, allIds); in reAggregateRawContacts() local 425 if (connectedRawContactSets.size() == 1) { in reAggregateRawContacts() 427 createContactForRawContacts(db, txContext, connectedRawContactSets.iterator().next(), in reAggregateRawContacts() 430 for (Set<Long> connectedRawContactIds : connectedRawContactSets) { in reAggregateRawContacts() 436 connectedRawContactSets.remove(connectedRawContactIds); in reAggregateRawContacts() 444 int index = connectedRawContactSets.size(); in reAggregateRawContacts() 445 for (Set<Long> connectedRawContactIds : connectedRawContactSets) { in reAggregateRawContacts()
|
D | ContactAggregator2.java | 319 final Set<Set<Long>> connectedRawContactSets = findConnectedRawContacts(db, allIds); in reAggregateRawContacts() local 323 ContactAggregatorHelper.mergeComponentsWithDisjointAccounts(connectedRawContactSets, in reAggregateRawContacts() 325 breakComponentsByExceptions(db, connectedRawContactSets); in reAggregateRawContacts() 330 for (Set<Long> connectedRawContactIds : connectedRawContactSets) { in reAggregateRawContacts()
|