/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 | LegacyApiSupport.java | 610 Data.IS_PRIMARY in createViews() 1398 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, in parseOrganizationValues() 1419 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, in parsePhoneValues() 1436 ContactsDatabaseHelper.copyLongValue(mValues, Data.IS_PRIMARY, values, in parseContactMethodValues()
|
D | ContactsDatabaseHelper.java | 515 public static final String CONCRETE_IS_PRIMARY = Tables.DATA + "." + Data.IS_PRIMARY; 861 + Data.IS_PRIMARY + "," 882 public static final int IS_PRIMARY = 1; field 1369 Data.IS_PRIMARY + " INTEGER NOT NULL DEFAULT 0," + in onCreate() 1836 Data.IS_PRIMARY + ", " in createContactsViews() 5862 && c.getInt(RawContactNameQuery.IS_PRIMARY) == 0) { in updateRawContactDisplayName() 6060 " SET " + Data.IS_PRIMARY + "=(_id=?)" + in setIsPrimary()
|
/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 | 130 Data.IS_PRIMARY, 1057 values.put(Data.IS_PRIMARY, 0); in clearPrimary() 1275 builder.withValue(Data.IS_PRIMARY, 1); in joinContacts()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSyncFragment.java | 60 private static final String IS_PRIMARY = "\"primary\""; field in SelectCalendarsSyncFragment 61 private static final String SORT_ORDER = IS_PRIMARY + " DESC," + Calendars.CALENDAR_DISPLAY_NAME 71 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY, };
|
D | SelectVisibleCalendarsFragment.java | 46 private static final String IS_PRIMARY = "\"primary\""; field in SelectVisibleCalendarsFragment 59 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY,
|
D | SelectSyncedCalendarsMultiAccountAdapter.java | 59 private static final String IS_PRIMARY = "\"primary\""; field in SelectSyncedCalendarsMultiAccountAdapter 60 private static final String CALENDARS_ORDERBY = IS_PRIMARY + " DESC," 122 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
D | DataItem.java | 128 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); in isPrimary() 219 mContentValues.put(Data.IS_PRIMARY, 1); in collapseWith() 224 mContentValues.put(Data.IS_PRIMARY, 1); in collapseWith()
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 120 static final String IS_PRIMARY = "is_primary"; field 157 Data.IS_PRIMARY, // 13 263 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.IS_PRIMARY + " DESC"; 411 + SmartDialDbColumns.IS_PRIMARY + " INTEGER, " in setupTables() 771 SmartDialDbColumns.IS_PRIMARY + ", " + in insertUpdatedContactsAndNumberPrefix() 1022 SmartDialDbColumns.IS_PRIMARY + in updateSmartDialDatabase()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 582 values.put(Data.IS_PRIMARY, 1); in createName() 596 values.put(Data.IS_PRIMARY, 1); in createPhone() 612 values.put(Data.IS_PRIMARY, 1); in createEmail() 675 values.put(Data.IS_PRIMARY, 1); in setSuperPrimaryPhone()
|
D | ContactsProvider2Test.java | 401 Data.IS_PRIMARY, in testDataProjection() 489 Data.IS_PRIMARY, in testDistinctDataProjection() 571 Data.IS_PRIMARY, in testEntityProjection() 679 Data.IS_PRIMARY, in testRawEntityProjection() 1175 values.put(Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId() 1177 assertStoredValue(dataUri, Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId() 2982 assertStoredValue(dataUri, Data.IS_PRIMARY, 0); in testUpdateFromMetadataEntry() 2994 assertStoredValue(dataUri, Data.IS_PRIMARY, 1); in testUpdateFromMetadataEntry() 2996 assertStoredValue(dataUri2, Data.IS_PRIMARY, 0); in testUpdateFromMetadataEntry() 6378 values.put(Data.IS_PRIMARY, 1); in testDataCreateUpdateDeleteByMimeType() [all …]
|
D | BaseContactsProvider2Test.java | 246 values.put(Data.IS_PRIMARY, 1); in insertOrganization() 282 values.put(Data.IS_PRIMARY, 1); in insertPhoneNumber() 319 values.put(Data.IS_PRIMARY, 1); in insertEmail() 339 values.put(Data.IS_PRIMARY, 1); in insertSipAddress() 1670 values.put(Data.IS_PRIMARY, 1);
|
D | ContactsDatabaseHelperUpgradeTest.java | 280 new TableColumn(Data.IS_PRIMARY, INTEGER, true, "0"),
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
D | ContactUpdateUtils.java | 41 values.put(ContactsContract.Data.IS_PRIMARY, 1); in setSuperPrimary()
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | DatabaseTestUtils.java | 50 Data.IS_PRIMARY, // 13 in constructNewContactCursor()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 93 values.put(Data.IS_PRIMARY, 1); in insertStructuredName()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 168 Data.IS_PRIMARY, 250 public static final int IS_PRIMARY = 47; field in ContactLoader.ContactQuery 728 cursorColumnToContentValues(cursor, cv, ContactQuery.IS_PRIMARY); in loadDataValues()
|
D | ValuesDelta.java | 165 final Long isPrimary = getAsLong(ContactsContract.Data.IS_PRIMARY); in isPrimary()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 177 builder.withValue(Data.IS_PRIMARY, 1); in actuallyImportOneSimContact()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
D | ContactLoaderTest.java | 337 Data.DATA_VERSION, Data.IS_PRIMARY, in fetchAllData()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | EntityDelta.java | 592 final Long isPrimary = getAsLong(Data.IS_PRIMARY); in isPrimary()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/ |
D | DataItemTests.java | 85 mValues2.put(Data.IS_PRIMARY, 0); in testDataItemCollapsing_genericDataItemFields()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 3092 Calendars.IS_PRIMARY in testGetColumnIndex_IsPrimary() 3101 assertEquals(3, cursor.getColumnIndex(Calendars.IS_PRIMARY)); in testGetColumnIndex_IsPrimary()
|