OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:connectedRawContactSets
(Results
1 - 4
of
4
) sorted by null
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
ContactAggregatorHelper.java
40
public static void mergeComponentsWithDisjointAccounts(Set<Set<Long>>
connectedRawContactSets
,
48
for (Set<Long> rIds :
connectedRawContactSets
) {
62
connectedRawContactSets
.clear();
69
connectedRawContactSets
.add(rIdSet);
86
connectedRawContactSets
.add(mergedSet);
96
Set<Set<Long>>
connectedRawContactSets
= new HashSet<>();
102
connectedRawContactSets
.add(set);
105
return
connectedRawContactSets
;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
ContactAggregatorHelperTest.java
47
Set<Set<Long>>
connectedRawContactSets
= new HashSet<>();
53
connectedRawContactSets
.add(rawContactSet);
71
ContactAggregatorHelper.mergeComponentsWithDisjointAccounts(
connectedRawContactSets
,
74
MoreAsserts.assertContentsInAnyOrder(
connectedRawContactSets
, Sets.newHashSet(100l,
79
Set<Set<Long>>
connectedRawContactSets
= new HashSet<>();
84
connectedRawContactSets
.add(rawContactSet1);
88
connectedRawContactSets
.add(rawContactSet2);
91
connectedRawContactSets
.add(rawContactSet3);
101
ContactAggregatorHelper.mergeComponentsWithDisjointAccounts(
connectedRawContactSets
,
104
MoreAsserts.assertContentsInAnyOrder(
connectedRawContactSets
, Sets.newHashSet(100l
[
all
...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java
425
final Set<Set<Long>>
connectedRawContactSets
= findConnectedRawContacts(db, allIds);
427
if (
connectedRawContactSets
.size() == 1) {
429
createContactForRawContacts(db, txContext,
connectedRawContactSets
.iterator().next(),
432
for (Set<Long> connectedRawContactIds :
connectedRawContactSets
) {
438
connectedRawContactSets
.remove(connectedRawContactIds);
446
int index =
connectedRawContactSets
.size();
447
for (Set<Long> connectedRawContactIds :
connectedRawContactSets
) {
[
all
...]
ContactAggregator2.java
321
final Set<Set<Long>>
connectedRawContactSets
= findConnectedRawContacts(db, allIds);
325
ContactAggregatorHelper.mergeComponentsWithDisjointAccounts(
connectedRawContactSets
,
327
breakComponentsByExceptions(db,
connectedRawContactSets
);
332
for (Set<Long> connectedRawContactIds :
connectedRawContactSets
) {
[
all
...]
Completed in 2921 milliseconds