Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java114 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY); in insert()
188 final boolean hasSuperPrimary = values.containsKey(Data.IS_SUPER_PRIMARY); in handlePrimaryAndSuperPrimary()
199 values.getAsInteger(Data.IS_SUPER_PRIMARY) == 0; in handlePrimaryAndSuperPrimary()
204 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY }; in handlePrimaryAndSuperPrimary()
227 values.getAsInteger(Data.IS_SUPER_PRIMARY) != 0; in handlePrimaryAndSuperPrimary()
244 values.remove(Data.IS_SUPER_PRIMARY); in handlePrimaryAndSuperPrimary()
DContactsDatabaseHelper.java1097 Data.IS_SUPER_PRIMARY + " INTEGER NOT NULL DEFAULT 0," + in onCreate()
1567 + Data.IS_SUPER_PRIMARY + ", " in createContactsViews()
5402 " SET " + Data.IS_SUPER_PRIMARY + "=0" + in clearSuperPrimary()
5421 " SET " + Data.IS_SUPER_PRIMARY + "=(" + Data._ID + "=?)" + in setIsSuperPrimary()
5529 " AND " + Data.IS_SUPER_PRIMARY + "<>0)", in rawContactHasSuperPrimary()
DSearchIndexManager.java351 mSb.append(" END), " + Data.IS_SUPER_PRIMARY + ", " + DataColumns.CONCRETE_ID); in buildAndInsertIndex()
DContactsProvider2.java529 + Data.IS_SUPER_PRIMARY + " DESC, "
647 .add(Data.IS_SUPER_PRIMARY)
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java326 Data.IS_SUPER_PRIMARY, in testDataProjection()
410 Data.IS_SUPER_PRIMARY, in testDistinctDataProjection()
489 Data.IS_SUPER_PRIMARY, in testEntityProjection()
592 Data.IS_SUPER_PRIMARY, in testRawEntityProjection()
5227 values.put(Data.IS_SUPER_PRIMARY, 1); in testDataCreateUpdateDeleteByMimeType()
5250 values.put(Data.IS_SUPER_PRIMARY, 0); in testDataCreateUpdateDeleteByMimeType()
5542 storeValue(photoUri2, Photo.IS_SUPER_PRIMARY, "1"); in testAccountDeletion()
5863 values.put(Data.IS_SUPER_PRIMARY, 1); in testSuperPrimaryPhoto()
6380 assertStoredValue(mailUri11, Data.IS_SUPER_PRIMARY, 0); in testSetAndClearSuperPrimaryEmail()
6382 assertStoredValue(mailUri12, Data.IS_SUPER_PRIMARY, 0); in testSetAndClearSuperPrimaryEmail()
[all …]
DContactsActor.java391 values.put(Data.IS_SUPER_PRIMARY, 1); in createName()
405 values.put(Data.IS_SUPER_PRIMARY, 1); in createPhone()
421 values.put(Data.IS_SUPER_PRIMARY, 1); in createEmail()
484 values.put(Data.IS_SUPER_PRIMARY, 1); in setSuperPrimaryPhone()
DBaseContactsProvider2Test.java292 values.put(Data.IS_SUPER_PRIMARY, 1); in insertEmail()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DValuesDelta.java176 final Long isSuperPrimary = getAsLong(ContactsContract.Data.IS_SUPER_PRIMARY); in isSuperPrimary()
479 put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
481 put(ContactsContract.Data.IS_SUPER_PRIMARY, 0); in setSuperPrimary()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java1711 + Data.IS_SUPER_PRIMARY + ","
1746 int IS_SUPER_PRIMARY = 15; field
1902 boolean superPrimary = c.getInt(RawContactsQuery.IS_SUPER_PRIMARY) != 0; in computeAggregateData()
2018 Data.IS_SUPER_PRIMARY,
2024 int IS_SUPER_PRIMARY = 2; field
2058 boolean superPrimary = c.getInt(PhotoIdQuery.IS_SUPER_PRIMARY) != 0; in updatePhotoId()
/packages/apps/Dialer/src/com/android/dialer/interactions/
DPhoneNumberInteraction.java252 Phone.IS_SUPER_PRIMARY,
375 … if (mUseDefault && cursor.getInt(cursor.getColumnIndex(Phone.IS_SUPER_PRIMARY)) != 0) { in onLoadComplete()
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
DContactUpdateUtils.java40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); in setSuperPrimary()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoEditorView.java164 mEntry.put(Photo.IS_SUPER_PRIMARY, superPrimary ? 1 : 0); in setSuperPrimary()
DAggregationSuggestionEngine.java278 Data.IS_SUPER_PRIMARY,
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java128 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialCache.java134 + Data.IS_SUPER_PRIMARY + " DESC, "
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/
DPhoneNumberInteractionTest.java250 Phone.IS_SUPER_PRIMARY, in expectQuery()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java301 " AND " + Data.IS_SUPER_PRIMARY + "=1", in querySuperPrimaryPhone()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java316 Data.IS_SUPER_PRIMARY, Data.MIMETYPE, Data.RES_PACKAGE, in fetchAllData()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java605 final Long isSuperPrimary = getAsLong(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java376 Data.IS_SUPER_PRIMARY) != 0; in buildEntries()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java168 Data.IS_SUPER_PRIMARY,
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java931 values.put(Data.IS_SUPER_PRIMARY, 0); in clearPrimary()