Home
last modified time | relevance | path

Searched refs:IS_SUPER_PRIMARY (Results 1 – 25 of 33) 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()
DSearchIndexManager.java357 mSb.append(" END), " + Data.IS_SUPER_PRIMARY + ", " + DataColumns.CONCRETE_ID); in buildAndInsertIndex()
/packages/apps/ContactsCommon/src/com/android/contacts/common/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.java133 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/
DDialerDatabaseHelper.java118 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/
DPhoneNumberInteraction.java263 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/
DContactsActor.java583 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()
DContactsProvider2Test.java307 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 …]
DBaseContactsProvider2Test.java249 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/
DValuesDelta.java178 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/
DContactUpdateUtils.java40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1253 " 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)";
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/Dialer/tests/src/com/android/dialer/database/
DDatabaseTestUtils.java48 Data.IS_SUPER_PRIMARY, // 11 in constructNewContactCursor()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactTileLoaderFactory.java79 Phone.IS_SUPER_PRIMARY, //.................................8
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DDataUtil.java94 values.put(Data.IS_SUPER_PRIMARY, 1); in insertStructuredName()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1056 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/
DPhotoEditorView.java227 mEntry.put(Photo.IS_SUPER_PRIMARY, superPrimary ? 1 : 0); in setSuperPrimary()
DAggregationSuggestionEngine.java301 Data.IS_SUPER_PRIMARY,
/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/tests/src/com/android/dialer/interactions/
DPhoneNumberInteractionTest.java252 Phone.IS_SUPER_PRIMARY, in expectQuery()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java301 " AND " + Data.IS_SUPER_PRIMARY + "=1", in querySuperPrimaryPhone()

12