/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()
|
D | SearchIndexManager.java | 357 mSb.append(" END), " + Data.IS_SUPER_PRIMARY + ", " + DataColumns.CONCRETE_ID); in buildAndInsertIndex()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/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 | 133 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary() 218 mContentValues.put(Data.IS_SUPER_PRIMARY, 1); in collapseWith()
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 118 static final String IS_SUPER_PRIMARY = "is_super_primary"; field 155 Data.IS_SUPER_PRIMARY, // 11 257 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.IS_SUPER_PRIMARY + " DESC, " 409 + SmartDialDbColumns.IS_SUPER_PRIMARY + " INTEGER, " in setupTables() 769 SmartDialDbColumns.IS_SUPER_PRIMARY + ", " + in insertUpdatedContactsAndNumberPrefix() 1016 SmartDialDbColumns.IS_SUPER_PRIMARY + ", " + in updateSmartDialDatabase()
|
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
D | PhoneNumberInteraction.java | 263 Phone.IS_SUPER_PRIMARY, // 2 274 private static final int IS_SUPER_PRIMARY = 2; field in PhoneNumberInteraction 416 if (mUseDefault && cursor.getInt(IS_SUPER_PRIMARY) != 0) { in onLoadComplete()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 583 values.put(Data.IS_SUPER_PRIMARY, 1); in createName() 597 values.put(Data.IS_SUPER_PRIMARY, 1); in createPhone() 613 values.put(Data.IS_SUPER_PRIMARY, 1); in createEmail() 676 values.put(Data.IS_SUPER_PRIMARY, 1); in setSuperPrimaryPhone()
|
D | ContactsProvider2Test.java | 307 Phone.IS_SUPER_PRIMARY, in testContactsStrequentPhoneOnlyProjection() 402 Data.IS_SUPER_PRIMARY, in testDataProjection() 490 Data.IS_SUPER_PRIMARY, in testDistinctDataProjection() 572 Data.IS_SUPER_PRIMARY, in testEntityProjection() 680 Data.IS_SUPER_PRIMARY, in testRawEntityProjection() 2983 assertStoredValue(dataUri, Data.IS_SUPER_PRIMARY, 0); in testUpdateFromMetadataEntry() 2995 assertStoredValue(dataUri, Data.IS_SUPER_PRIMARY, 1); in testUpdateFromMetadataEntry() 2997 assertStoredValue(dataUri2, Data.IS_SUPER_PRIMARY, 0); in testUpdateFromMetadataEntry() 6379 values.put(Data.IS_SUPER_PRIMARY, 1); in testDataCreateUpdateDeleteByMimeType() 6403 values.put(Data.IS_SUPER_PRIMARY, 0); in testDataCreateUpdateDeleteByMimeType() [all …]
|
D | BaseContactsProvider2Test.java | 249 values.put(Data.IS_SUPER_PRIMARY, 1); in insertOrganization() 285 values.put(Data.IS_SUPER_PRIMARY, 1); in insertPhoneNumber() 322 values.put(Data.IS_SUPER_PRIMARY, 1); in insertEmail() 757 final String[] projection = new String[]{Data.MIMETYPE, Data._ID, Data.IS_SUPER_PRIMARY}; in assertSuperPrimary() 763 assertEquals(1, c.getInt(c.getColumnIndexOrThrow(Data.IS_SUPER_PRIMARY))); in assertSuperPrimary() 765 assertEquals(0, c.getInt(c.getColumnIndexOrThrow(Data.IS_SUPER_PRIMARY))); in assertSuperPrimary()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ValuesDelta.java | 178 final Long isSuperPrimary = getAsLong(ContactsContract.Data.IS_SUPER_PRIMARY); in isSuperPrimary() 503 put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary() 505 put(ContactsContract.Data.IS_SUPER_PRIMARY, 0); in setSuperPrimary()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
D | ContactUpdateUtils.java | 40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 1253 " AND d." + Data.IS_SUPER_PRIMARY + "=1)"; 1272 + Data.IS_SUPER_PRIMARY + "," 1308 int IS_SUPER_PRIMARY = 15; field 1476 boolean superPrimary = c.getInt(RawContactsQuery.IS_SUPER_PRIMARY) != 0; in computeAggregateData() 1599 Data.IS_SUPER_PRIMARY, 1605 int IS_SUPER_PRIMARY = 2; field 1639 boolean superPrimary = c.getInt(PhotoIdQuery.IS_SUPER_PRIMARY) != 0; in updatePhotoId() 1744 " 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/Dialer/tests/src/com/android/dialer/database/ |
D | DatabaseTestUtils.java | 48 Data.IS_SUPER_PRIMARY, // 11 in constructNewContactCursor()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | ContactTileLoaderFactory.java | 79 Phone.IS_SUPER_PRIMARY, //.................................8
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 94 values.put(Data.IS_SUPER_PRIMARY, 1); in insertStructuredName()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1056 values.put(Data.IS_SUPER_PRIMARY, 0); in clearPrimary() 1162 Contacts.Entity.IS_SUPER_PRIMARY, 1171 int IS_SUPER_PRIMARY = 2; field 1274 builder.withValue(Data.IS_SUPER_PRIMARY, 1); in joinContacts()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 227 mEntry.put(Photo.IS_SUPER_PRIMARY, superPrimary ? 1 : 0); in setSuperPrimary()
|
D | AggregationSuggestionEngine.java | 301 Data.IS_SUPER_PRIMARY,
|
/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/tests/src/com/android/dialer/interactions/ |
D | PhoneNumberInteractionTest.java | 252 Phone.IS_SUPER_PRIMARY, in expectQuery()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | ContactsUtils.java | 301 " AND " + Data.IS_SUPER_PRIMARY + "=1", in querySuperPrimaryPhone()
|