/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 51 Data.IS_PRIMARY, 59 Data.IS_PRIMARY, 66 public static final int IS_PRIMARY = 3; field 119 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); in insert() 255 final boolean hasPrimary = values.getAsInteger(Data.IS_PRIMARY) != null; in handlePrimaryAndSuperPrimary() 267 values.getAsInteger(Data.IS_PRIMARY) == 0; in handlePrimaryAndSuperPrimary() 274 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY }; in handlePrimaryAndSuperPrimary() 295 values.getAsInteger(Data.IS_PRIMARY) != 0; in handlePrimaryAndSuperPrimary() 315 values.remove(Data.IS_PRIMARY); in handlePrimaryAndSuperPrimary() 321 boolean primary = c.getInt(DataDeleteQuery.IS_PRIMARY) != 0; in delete()
|
D | MetadataEntryParser.java | 54 private final static String IS_PRIMARY = "is_primary"; field in MetadataEntryParser 207 final boolean isPrimary = fieldDataPrefs.getBoolean(IS_PRIMARY); in parseDataToMetaDataEntry()
|
D | ContactsDatabaseHelper.java | 549 public static final String CONCRETE_IS_PRIMARY = Tables.DATA + "." + Data.IS_PRIMARY; 842 + Data.IS_PRIMARY + "," 863 public static final int IS_PRIMARY = 1; field 1422 Data.IS_PRIMARY + " INTEGER NOT NULL DEFAULT 0," + in onCreate() 1906 Data.IS_PRIMARY + ", " in createContactsViews() 4620 && c.getInt(RawContactNameQuery.IS_PRIMARY) == 0) { in updateRawContactDisplayName() 4815 " SET " + Data.IS_PRIMARY + "=(_id=?)" + in setIsPrimary()
|
D | LegacyApiSupport.java | 581 Data.IS_PRIMARY in createViews() 1337 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, in parseOrganizationValues() 1358 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, in parsePhoneValues() 1375 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 | 172 Data.IS_PRIMARY, 1165 values.put(Data.IS_PRIMARY, 0); in clearPrimary() 1589 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/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/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/ |
D | CrossProfileCalendarHelper.java | 73 CALENDARS_TABLE_WHITELIST.add(CalendarContract.Calendars.IS_PRIMARY); 89 EVENTS_TABLE_WHITELIST.add(CalendarContract.Calendars.IS_PRIMARY);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 641 values.put(Data.IS_PRIMARY, 1); in createName() 655 values.put(Data.IS_PRIMARY, 1); in createPhone() 671 values.put(Data.IS_PRIMARY, 1); in createEmail() 734 values.put(Data.IS_PRIMARY, 1); in setSuperPrimaryPhone()
|
D | ContactsProvider2Test.java | 402 Data.IS_PRIMARY, in testDataProjection() 492 Data.IS_PRIMARY, in testDistinctDataProjection() 576 Data.IS_PRIMARY, in testEntityProjection() 686 Data.IS_PRIMARY, in testRawEntityProjection() 1210 values.put(Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId() 1212 assertStoredValue(dataUri, Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId() 2945 assertStoredValue(dataUri, Data.IS_PRIMARY, 0); in testUpdateFromMetadataEntry() 2957 assertStoredValue(dataUri, Data.IS_PRIMARY, 1); in testUpdateFromMetadataEntry() 2959 assertStoredValue(dataUri2, Data.IS_PRIMARY, 0); in testUpdateFromMetadataEntry() 6348 values.put(Data.IS_PRIMARY, 1); in testDataCreateUpdateDeleteByMimeType() [all …]
|
D | BaseContactsProvider2Test.java | 254 values.put(Data.IS_PRIMARY, 1); in insertOrganization() 290 values.put(Data.IS_PRIMARY, 1); in insertPhoneNumber() 327 values.put(Data.IS_PRIMARY, 1); in insertEmail() 347 values.put(Data.IS_PRIMARY, 1); in insertSipAddress() 1697 values.put(Data.IS_PRIMARY, 1); in insertPhone()
|
/packages/apps/Dialer/java/com/android/contacts/common/database/ |
D | ContactUpdateUtils.java | 39 values.put(ContactsContract.Data.IS_PRIMARY, 1); in setSuperPrimary()
|
/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/model/ |
D | ContactLoader.java | 517 cursorColumnToContentValues(cursor, cv, ContactQuery.IS_PRIMARY); in loadDataValues() 836 public static final int IS_PRIMARY = 47; field in ContactLoader.ContactQuery 903 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/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 92 values.put(Data.IS_PRIMARY, 1); in insertStructuredName()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 3194 Calendars.IS_PRIMARY in testGetColumnIndex_IsPrimary() 3203 assertEquals(3, cursor.getColumnIndex(Calendars.IS_PRIMARY)); in testGetColumnIndex_IsPrimary() 3224 Calendars.IS_PRIMARY in testGetIsPrimary_ForEvents() 3227 "((" + Calendars.IS_PRIMARY + " = ? OR " + Calendars.ACCOUNT_NAME + " = ?))"; in testGetIsPrimary_ForEvents() 3236 assertEquals(1, cursor.getInt(cursor.getColumnIndex(Calendars.IS_PRIMARY))); in testGetIsPrimary_ForEvents() 3257 Calendars.IS_PRIMARY in testGetIsNotPrimary_ForEvents() 3268 assertEquals(0, cursor.getInt(cursor.getColumnIndex(Calendars.IS_PRIMARY))); in testGetIsNotPrimary_ForEvents() 3473 cursor.getColumnIndex(Calendars.IS_PRIMARY))); in testEnterpriseEventsProjectionCalibration()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 455 Calendars.IS_PRIMARY + "= 1" 4976 sCalendarsProjectionMap.put(Calendars.IS_PRIMARY, in sCalendarsProjectionMap.put() argument 4977 "COALESCE(" + Calendars.IS_PRIMARY + ", " in sCalendarsProjectionMap.put() argument 4979 + Calendars.IS_PRIMARY); in sCalendarsProjectionMap.put() 5063 sEventsProjectionMap.put(Calendars.IS_PRIMARY, in sEventsProjectionMap.put() argument 5064 "COALESCE(" + Calendars.IS_PRIMARY + ", " in sEventsProjectionMap.put() argument 5066 + Calendars.IS_PRIMARY); in sEventsProjectionMap.put()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | TelecomUtils.java | 340 values.put(ContactsContract.Data.IS_PRIMARY, 1); in setAsPrimaryPhoneNumber()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 176 builder.withValue(Data.IS_PRIMARY, 1); in actuallyImportOneSimContact()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 331 Data.DATA_VERSION, Data.IS_PRIMARY, in fetchAllData()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 81 mValues2.put(Data.IS_PRIMARY, 0); in testDataItemCollapsing_genericDataItemFields()
|