/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 55 Data.IS_PRIMARY, 63 Data.IS_PRIMARY, 70 public static final int IS_PRIMARY = 3; field 123 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); in insert() 256 final boolean hasPrimary = values.getAsInteger(Data.IS_PRIMARY) != null; in handlePrimaryAndSuperPrimary() 266 values.getAsInteger(Data.IS_PRIMARY) == 0; in handlePrimaryAndSuperPrimary() 273 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY }; in handlePrimaryAndSuperPrimary() 294 values.getAsInteger(Data.IS_PRIMARY) != 0; in handlePrimaryAndSuperPrimary() 314 values.remove(Data.IS_PRIMARY); in handlePrimaryAndSuperPrimary() 320 boolean primary = c.getInt(DataDeleteQuery.IS_PRIMARY) != 0; in delete()
|
D | ContactsDatabaseHelper.java | 561 public static final String CONCRETE_IS_PRIMARY = Tables.DATA + "." + Data.IS_PRIMARY; 836 + Data.IS_PRIMARY + "," 857 public static final int IS_PRIMARY = 1; field 1423 Data.IS_PRIMARY + " INTEGER NOT NULL DEFAULT 0," + in onCreate() 1857 Data.IS_PRIMARY + ", " in createContactsViews() 4843 && c.getInt(RawContactNameQuery.IS_PRIMARY) == 0) { in updateRawContactDisplayName() 5044 " SET " + Data.IS_PRIMARY + "=(_id=?)" + in setIsPrimary()
|
D | LegacyApiSupport.java | 583 Data.IS_PRIMARY in createViews() 1339 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, in parseOrganizationValues() 1360 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, in parsePhoneValues() 1377 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, values, in parseContactMethodValues()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 58 Data.IS_PRIMARY, StructuredName.DISPLAY_NAME, Nickname.NAME, Email.DATA, 66 int IS_PRIMARY = 4; field 199 if (info.nickname == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { in loadNickname() 205 if (info.email == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { in loadEmail() 211 if (info.phone == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { in loadPhoneNumber()
|
D | ContactSaveService.java | 176 Data.IS_PRIMARY, 1169 values.put(Data.IS_PRIMARY, 0); in clearPrimary() 1597 builder.withValue(Data.IS_PRIMARY, 1); in joinContacts()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 128 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); in isPrimary() 212 mContentValues.put(Data.IS_PRIMARY, 1); in collapseWith() 217 mContentValues.put(Data.IS_PRIMARY, 1); in collapseWith()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | DataItem.java | 121 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); in isPrimary() 211 mContentValues.put(Data.IS_PRIMARY, 1); in collapseWith() 216 mContentValues.put(Data.IS_PRIMARY, 1); in collapseWith()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/ |
D | CrossProfileCalendarHelper.java | 73 CALENDARS_TABLE_ALLOWED_LIST.add(CalendarContract.Calendars.IS_PRIMARY); 89 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Calendars.IS_PRIMARY);
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 145 + SmartDialDbColumns.IS_PRIMARY in setupTables() 529 + SmartDialDbColumns.IS_PRIMARY in insertUpdatedContactsAndNumberPrefix() 843 + SmartDialDbColumns.IS_PRIMARY in updateSmartDialDatabase() 1050 String IS_PRIMARY = "is_primary"; field 1093 Data.IS_PRIMARY, // 13 1231 + SmartDialDbColumns.IS_PRIMARY
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | FakeContactsProvider.java | 90 + Data.IS_PRIMARY 159 values.put(Data.IS_PRIMARY, calculateIsPrimary(contactId)); in addEmail() 176 values.put(Data.IS_PRIMARY, calculateIsPrimary(contactId)); in addPhone() 187 values.put(Data.IS_PRIMARY, calculateIsPrimary(contactId)); in addStructuredPostal()
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | ContactUpdateUtils.java | 41 values.put(ContactsContract.Data.IS_PRIMARY, 1); in setSuperPrimary()
|
/packages/apps/Dialer/java/com/android/contacts/common/database/ |
D | ContactUpdateUtils.java | 39 values.put(ContactsContract.Data.IS_PRIMARY, 1); in setSuperPrimary()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 694 values.put(Data.IS_PRIMARY, 1); in createName() 708 values.put(Data.IS_PRIMARY, 1); in createPhone() 724 values.put(Data.IS_PRIMARY, 1); in createEmail() 787 values.put(Data.IS_PRIMARY, 1); in setSuperPrimaryPhone()
|
D | ContactsProvider2Test.java | 647 Data.IS_PRIMARY, in testDataProjection() 737 Data.IS_PRIMARY, in testDistinctDataProjection() 821 Data.IS_PRIMARY, in testEntityProjection() 931 Data.IS_PRIMARY, in testRawEntityProjection() 1455 values.put(Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId() 1457 assertStoredValue(dataUri, Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId() 6385 values.put(Data.IS_PRIMARY, 1); in testDataCreateUpdateDeleteByMimeType() 6411 values.put(Data.IS_PRIMARY, 0); in testDataCreateUpdateDeleteByMimeType() 6981 assertStoredValue(mailUri11, Data.IS_PRIMARY, 1); in testMarkAsMetadataDirtyForDataPrimarySettingInsert() 6991 assertStoredValue(mailUri1, Data.IS_PRIMARY, 0); in testMarkAsMetadataDirtyForDataPrimarySettingUpdate() [all …]
|
D | BaseContactsProvider2Test.java | 272 values.put(Data.IS_PRIMARY, 1); in insertOrganization() 308 values.put(Data.IS_PRIMARY, 1); in insertPhoneNumber() 345 values.put(Data.IS_PRIMARY, 1); in insertEmail() 365 values.put(Data.IS_PRIMARY, 1); in insertSipAddress() 1795 values.put(Data.IS_PRIMARY, 1); in insertPhone()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 92 values.put(Data.IS_PRIMARY, 1); in insertStructuredName()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 518 cursorColumnToContentValues(cursor, cv, ContactQuery.IS_PRIMARY); in loadDataValues() 841 public static final int IS_PRIMARY = 47; field in ContactLoader.ContactQuery 908 Data.IS_PRIMARY,
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 167 Data.IS_PRIMARY, 246 public static final int IS_PRIMARY = 47; field in ContactLoader.ContactQuery 669 cursorColumnToContentValues(cursor, cv, ContactQuery.IS_PRIMARY); in loadDataValues()
|
D | ValuesDelta.java | 167 final Long isPrimary = getAsLong(ContactsContract.Data.IS_PRIMARY); in isPrimary()
|
/packages/apps/Contacts/src/com/android/contacts/sdn/ |
D | SdnProvider.kt | 222 Data.IS_PRIMARY -> 1 in <lambda>()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 3213 Calendars.IS_PRIMARY in testGetColumnIndex_IsPrimary() 3222 assertEquals(3, cursor.getColumnIndex(Calendars.IS_PRIMARY)); in testGetColumnIndex_IsPrimary() 3243 Calendars.IS_PRIMARY in testGetIsPrimary_ForEvents() 3246 "((" + Calendars.IS_PRIMARY + " = ? OR " + Calendars.ACCOUNT_NAME + " = ?))"; in testGetIsPrimary_ForEvents() 3255 assertEquals(1, cursor.getInt(cursor.getColumnIndex(Calendars.IS_PRIMARY))); in testGetIsPrimary_ForEvents() 3276 Calendars.IS_PRIMARY in testGetIsNotPrimary_ForEvents() 3287 assertEquals(0, cursor.getInt(cursor.getColumnIndex(Calendars.IS_PRIMARY))); in testGetIsNotPrimary_ForEvents() 3492 cursor.getColumnIndex(Calendars.IS_PRIMARY))); in testEnterpriseEventsProjectionCalibration()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 176 builder.withValue(Data.IS_PRIMARY, 1); in actuallyImportOneSimContact()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | ContactsIndexerImpl.java | 79 + ContactsContract.Data.IS_PRIMARY
|
D | ContactDataHandler.java | 195 columns.add(Data.IS_PRIMARY); in addNeededColumns()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 336 Data.DATA_VERSION, Data.IS_PRIMARY, in fetchAllData()
|