Home
last modified time | relevance | path

Searched refs:aggregationMode (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DAbstractContactAggregator.java507 int aggregationMode = mDbHelper.getAggregationMode(rawContactId); in triggerAggregation() local
508 switch (aggregationMode) { in triggerAggregation()
513 markForAggregation(rawContactId, aggregationMode, false); in triggerAggregation()
539 public final void markNewForAggregation(long rawContactId, int aggregationMode) { in markNewForAggregation() argument
540 mRawContactsMarkedForAggregation.put(rawContactId, aggregationMode); in markNewForAggregation()
548 if (aggregationMode == RawContacts.AGGREGATION_MODE_DEFAULT) { in markForAggregation()
551 effectiveAggregationMode = aggregationMode; in markForAggregation()
556 effectiveAggregationMode = aggregationMode; in markForAggregation()
584 int aggregationMode = cursor.getInt( in markContactForAggregation() local
588 if (aggregationMode == RawContacts.AGGREGATION_MODE_DEFAULT) { in markContactForAggregation()
[all …]
H A DContactAggregator.java87 int aggregationMode = RawContacts.AGGREGATION_MODE_DEFAULT; in aggregateContact() local
91 aggregationMode = aggModeObject; in aggregateContact()
100 if (aggregationMode == RawContacts.AGGREGATION_MODE_DEFAULT) { in aggregateContact()
165 } else if (aggregationMode == RawContacts.AGGREGATION_MODE_DISABLED) { in aggregateContact()
184 || aggregationMode == RawContacts.AGGREGATION_MODE_SUSPENDED)) { in aggregateContact()
H A DContactAggregator2.java106 int aggregationMode = RawContacts.AGGREGATION_MODE_DEFAULT; in aggregateContact() local
110 aggregationMode = aggModeObject; in aggregateContact()
115 if (aggregationMode == RawContacts.AGGREGATION_MODE_DEFAULT) { in aggregateContact()
124 } else if (aggregationMode == RawContacts.AGGREGATION_MODE_DISABLED) { in aggregateContact()
157 || aggregationMode == RawContacts.AGGREGATION_MODE_SUSPENDED)) { in aggregateContact()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java2905 final int aggregationMode = getIntValue(values, RawContacts.AGGREGATION_MODE, in insertRawContact() local
2907 mAggregator.get().markNewForAggregation(rawContactId, aggregationMode); in insertRawContact()
4648 int aggregationMode = getIntValue( in updateRawContact() local
4653 if (aggregationMode != RawContacts.AGGREGATION_MODE_DEFAULT) { in updateRawContact()
4654 aggregator.markForAggregation(rawContactId, aggregationMode, false); in updateRawContact()