/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 120 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()
|
D | MetadataEntryParser.java | 55 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/ |
D | DialerDatabaseHelper.java | 131 + 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/ |
D | StructuredNameDataItem.java | 96 return contentValues == null || !contentValues.containsKey(StructuredName.IS_SUPER_PRIMARY) in isSuperPrimary() 98 : contentValues.getAsBoolean(StructuredName.IS_SUPER_PRIMARY); in isSuperPrimary()
|
D | DataItem.java | 126 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/ |
D | StructuredNameDataItem.java | 97 return contentValues == null || !contentValues.containsKey(StructuredName.IS_SUPER_PRIMARY) in isSuperPrimary() 98 ? false : contentValues.getAsBoolean(StructuredName.IS_SUPER_PRIMARY); in isSuperPrimary()
|
D | DataItem.java | 135 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/ |
D | ContactsProvider2Test.java | 309 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 …]
|
D | ContactsActor.java | 598 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()
|
D | BaseContactsProvider2Test.java | 257 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/ |
D | AbstractContactAggregator.java | 1258 " 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)";
|
D | ContactAggregator.java | 260 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()
|
D | ContactAggregator2.java | 250 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/ |
D | ValuesDelta.java | 180 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/ |
D | ContactAggregatorTest.java | 1362 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()
|
D | ContactAggregator2Test.java | 1371 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/ |
D | PhoneNumberInteraction.java | 91 Phone.IS_SUPER_PRIMARY, 280 int isSuperPrimaryColumn = cursor.getColumnIndexOrThrow(Phone.IS_SUPER_PRIMARY); in onLoadComplete()
|
/packages/apps/Dialer/java/com/android/contacts/common/database/ |
D | ContactUpdateUtils.java | 38 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | ContactUpdateUtils.java | 40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | ContactTileLoaderFactory.java | 49 Phone.IS_SUPER_PRIMARY,
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactTileLoaderFactory.java | 79 Phone.IS_SUPER_PRIMARY, //.................................8
|
D | ContactSaveService.java | 1164 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/ |
D | DataUtil.java | 93 values.put(Data.IS_SUPER_PRIMARY, 1); in insertStructuredName()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 318 ContactsContract.Data.IS_SUPER_PRIMARY, 326 ContactsContract.Data.IS_SUPER_PRIMARY,
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | ContactsUtils.java | 301 " AND " + Data.IS_SUPER_PRIMARY + "=1", in querySuperPrimaryPhone()
|