Home
last modified time | relevance | path

Searched refs:superPrimary (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java120 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY); in insert() local
121 if ((primary != null && primary != 0) || (superPrimary != null && superPrimary != 0)) { in insert()
128 if (superPrimary != null) { in insert()
129 if (superPrimary != 0) { in insert()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java133 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary() local
134 return superPrimary != null && superPrimary != 0; in isSuperPrimary()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java126 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary() local
127 return superPrimary != null && superPrimary != 0; in isSuperPrimary()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java249 boolean superPrimary) { in insertOrganization() argument
256 if (superPrimary) { in insertOrganization()
273 boolean superPrimary) { in insertPhoneNumber() argument
274 return insertPhoneNumber(rawContactId, phoneNumber, primary, superPrimary, Phone.TYPE_HOME); in insertPhoneNumber()
283 boolean superPrimary, int type) { in insertPhoneNumber() argument
292 if (superPrimary) { in insertPhoneNumber()
309 boolean superPrimary) { in insertEmail() argument
310 return insertEmail(rawContactId, email, primary, superPrimary, Email.TYPE_HOME, null); in insertEmail()
319 boolean superPrimary, int type, String label) { in insertEmail() argument
329 if (superPrimary) { in insertEmail()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1481 boolean superPrimary = c.getInt(RawContactsQuery.IS_SUPER_PRIMARY) != 0; in computeAggregateData()
1490 if (superPrimary || hasHigherPhotoPriority( in computeAggregateData()
1496 foundSuperPrimaryPhoto |= superPrimary; in computeAggregateData()
1644 boolean superPrimary = c.getInt(PhotoIdQuery.IS_SUPER_PRIMARY) != 0; in updatePhotoId()
1651 if (superPrimary || hasHigherPhotoPriority( in updatePhotoId()
1657 if (superPrimary) { in updatePhotoId()