Home
last modified time | relevance | path

Searched refs:IS_SUPER_PRIMARY (Results 1 – 25 of 37) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java120 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY); in insert()
256 final boolean hasSuperPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY) != null; in handlePrimaryAndSuperPrimary()
269 values.getAsInteger(Data.IS_SUPER_PRIMARY) == 0; in handlePrimaryAndSuperPrimary()
274 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY }; in handlePrimaryAndSuperPrimary()
297 values.getAsInteger(Data.IS_SUPER_PRIMARY) != 0; in handlePrimaryAndSuperPrimary()
314 values.remove(Data.IS_SUPER_PRIMARY); in handlePrimaryAndSuperPrimary()
DMetadataEntryParser.java55 private final static String IS_SUPER_PRIMARY = "is_super_primary"; field in MetadataEntryParser
208 final boolean isSuperPrimary = fieldDataPrefs.getBoolean(IS_SUPER_PRIMARY); in parseDataToMetaDataEntry()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java131 + SmartDialDbColumns.IS_SUPER_PRIMARY in setupTables()
469 + SmartDialDbColumns.IS_SUPER_PRIMARY in insertUpdatedContactsAndNumberPrefix()
754 + SmartDialDbColumns.IS_SUPER_PRIMARY in updateSmartDialDatabase()
970 String IS_SUPER_PRIMARY = "is_super_primary"; field
1013 Data.IS_SUPER_PRIMARY, // 11
1131 + SmartDialDbColumns.IS_SUPER_PRIMARY
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DStructuredNameDataItem.java96 return contentValues == null || !contentValues.containsKey(StructuredName.IS_SUPER_PRIMARY) in isSuperPrimary()
98 : contentValues.getAsBoolean(StructuredName.IS_SUPER_PRIMARY); in isSuperPrimary()
DDataItem.java126 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
210 mContentValues.put(Data.IS_SUPER_PRIMARY, 1); in collapseWith()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DStructuredNameDataItem.java97 return contentValues == null || !contentValues.containsKey(StructuredName.IS_SUPER_PRIMARY) in isSuperPrimary()
98 ? false : contentValues.getAsBoolean(StructuredName.IS_SUPER_PRIMARY); in isSuperPrimary()
DDataItem.java135 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
221 mContentValues.put(Data.IS_SUPER_PRIMARY, 1); in collapseWith()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java309 Phone.IS_SUPER_PRIMARY, in testContactsStrequentPhoneOnlyProjection()
404 Data.IS_SUPER_PRIMARY, in testDataProjection()
492 Data.IS_SUPER_PRIMARY, in testDistinctDataProjection()
574 Data.IS_SUPER_PRIMARY, in testEntityProjection()
682 Data.IS_SUPER_PRIMARY, in testRawEntityProjection()
3009 assertStoredValue(dataUri, Data.IS_SUPER_PRIMARY, 0); in testUpdateFromMetadataEntry()
3021 assertStoredValue(dataUri, Data.IS_SUPER_PRIMARY, 1); in testUpdateFromMetadataEntry()
3023 assertStoredValue(dataUri2, Data.IS_SUPER_PRIMARY, 0); in testUpdateFromMetadataEntry()
6471 values.put(Data.IS_SUPER_PRIMARY, 1); in testDataCreateUpdateDeleteByMimeType()
6495 values.put(Data.IS_SUPER_PRIMARY, 0); in testDataCreateUpdateDeleteByMimeType()
[all …]
DContactsActor.java598 values.put(Data.IS_SUPER_PRIMARY, 1); in createName()
612 values.put(Data.IS_SUPER_PRIMARY, 1); in createPhone()
628 values.put(Data.IS_SUPER_PRIMARY, 1); in createEmail()
691 values.put(Data.IS_SUPER_PRIMARY, 1); in setSuperPrimaryPhone()
DBaseContactsProvider2Test.java257 values.put(Data.IS_SUPER_PRIMARY, 1); in insertOrganization()
293 values.put(Data.IS_SUPER_PRIMARY, 1); in insertPhoneNumber()
330 values.put(Data.IS_SUPER_PRIMARY, 1); in insertEmail()
765 final String[] projection = new String[]{Data.MIMETYPE, Data._ID, Data.IS_SUPER_PRIMARY}; in assertSuperPrimary()
771 assertEquals(1, c.getInt(c.getColumnIndexOrThrow(Data.IS_SUPER_PRIMARY))); in assertSuperPrimary()
773 assertEquals(0, c.getInt(c.getColumnIndexOrThrow(Data.IS_SUPER_PRIMARY))); in assertSuperPrimary()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1258 " AND d." + Data.IS_SUPER_PRIMARY + "=1)";
1277 + Data.IS_SUPER_PRIMARY + ","
1313 int IS_SUPER_PRIMARY = 15; field
1481 boolean superPrimary = c.getInt(RawContactsQuery.IS_SUPER_PRIMARY) != 0; in computeAggregateData()
1604 Data.IS_SUPER_PRIMARY,
1610 int IS_SUPER_PRIMARY = 2; field
1644 boolean superPrimary = c.getInt(PhotoIdQuery.IS_SUPER_PRIMARY) != 0; in updatePhotoId()
1749 " AND d." + Data.IS_SUPER_PRIMARY + "=1)";
DContactAggregator.java260 Data.IS_SUPER_PRIMARY + " =1 AND " + in clearSuperPrimarySetting()
264 Data.IS_SUPER_PRIMARY + " =1 AND " + in clearSuperPrimarySetting()
288 " SET " + Data.IS_SUPER_PRIMARY + "=0" + in clearSuperPrimarySetting()
DContactAggregator2.java250 Tables.DATA +" WHERE " + Data.IS_SUPER_PRIMARY + " = 1 AND " + in clearSuperPrimarySetting()
280 " SET " + Data.IS_SUPER_PRIMARY + "=0" + in clearSuperPrimarySetting()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java180 final Long isSuperPrimary = getAsLong(ContactsContract.Data.IS_SUPER_PRIMARY); in isSuperPrimary()
505 put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
507 put(ContactsContract.Data.IS_SUPER_PRIMARY, 0); in setSuperPrimary()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java1362 storeValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
1365 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1366 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
1719 assertStoredValue(uri, Data.IS_SUPER_PRIMARY, 1); in testAggregation_clearSuperPrimarySingleMimetype()
1726 assertStoredValue(uri, Data.IS_SUPER_PRIMARY, 1); in testAggregation_clearSuperPrimarySingleMimetype()
DContactAggregator2Test.java1371 storeValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
1374 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1375 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
1730 assertStoredValue(uri, Data.IS_SUPER_PRIMARY, 1); in testAggregation_clearSuperPrimarySingleMimetype()
1737 assertStoredValue(uri, Data.IS_SUPER_PRIMARY, 1); in testAggregation_clearSuperPrimarySingleMimetype()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DPhoneNumberInteraction.java91 Phone.IS_SUPER_PRIMARY,
280 int isSuperPrimaryColumn = cursor.getColumnIndexOrThrow(Phone.IS_SUPER_PRIMARY); in onLoadComplete()
/packages/apps/Dialer/java/com/android/contacts/common/database/
DContactUpdateUtils.java38 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
/packages/apps/Contacts/src/com/android/contacts/database/
DContactUpdateUtils.java40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
/packages/apps/Dialer/java/com/android/contacts/common/
DContactTileLoaderFactory.java49 Phone.IS_SUPER_PRIMARY,
/packages/apps/Contacts/src/com/android/contacts/
DContactTileLoaderFactory.java79 Phone.IS_SUPER_PRIMARY, //.................................8
DContactSaveService.java1164 values.put(Data.IS_SUPER_PRIMARY, 0); in clearPrimary()
1395 Contacts.Entity.IS_SUPER_PRIMARY,
1404 int IS_SUPER_PRIMARY = 2; field
1588 builder.withValue(Data.IS_SUPER_PRIMARY, 1); in joinContacts()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DDataUtil.java93 values.put(Data.IS_SUPER_PRIMARY, 1); in insertStructuredName()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java318 ContactsContract.Data.IS_SUPER_PRIMARY,
326 ContactsContract.Data.IS_SUPER_PRIMARY,
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java301 " AND " + Data.IS_SUPER_PRIMARY + "=1", in querySuperPrimaryPhone()

12