Home
last modified time | relevance | path

Searched refs:RAW_CONTACTS (Results 1 – 13 of 13) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java171 public static final String RAW_CONTACTS = "raw_contacts"; field
199 RAW_CONTACTS,
230 public static final String RAW_CONTACTS_JOIN_SETTINGS_DATA_GROUPS = Tables.RAW_CONTACTS
266 + " INNER JOIN " + Tables.RAW_CONTACTS
312 public static final String RAW_CONTACTS_JOIN_ACCOUNTS = Tables.RAW_CONTACTS
317 public static final String RAW_CONTACTS_JOIN_METADATA_SYNC = Tables.RAW_CONTACTS
349 public static final String RAW_CONTACTS = "view_raw_contacts"; field
415 " FROM " + Tables.RAW_CONTACTS + " AS " + OUTER_RAW_CONTACTS +
459 Tables.RAW_CONTACTS + "." + BaseColumns._ID;
462 public static final String CONCRETE_ACCOUNT_ID = Tables.RAW_CONTACTS + "." + ACCOUNT_ID;
[all …]
DContactsProvider2.java321 public static final int RAW_CONTACTS = 2002; field in ContactsProvider2
468 + " FROM " + Tables.RAW_CONTACTS + " WHERE " + RawContacts._ID + "=?";
519 + " FROM " + Tables.RAW_CONTACTS
531 "UPDATE " + Tables.RAW_CONTACTS +
537 "UPDATE " + Tables.RAW_CONTACTS +
554 "UPDATE " + Tables.RAW_CONTACTS +
567 "UPDATE " + Tables.RAW_CONTACTS +
1212 matcher.addURI(ContactsContract.AUTHORITY, "raw_contacts", RAW_CONTACTS); in matcher.addURI() argument
2637 case RAW_CONTACTS: in insertInTransaction()
2849 final long rawContactId = db.insert(Tables.RAW_CONTACTS, RawContacts.CONTACT_ID, values); in insertRawContact()
[all …]
DLegacyApiSupport.java532 Tables.RAW_CONTACTS + "." + RawContactsColumns.DISPLAY_NAME in createViews()
546 Tables.RAW_CONTACTS + "." + RawContacts.CUSTOM_RINGTONE in createViews()
548 Tables.RAW_CONTACTS + "." + RawContacts.SEND_TO_VOICEMAIL in createViews()
550 Tables.RAW_CONTACTS + "." + RawContacts.STARRED in createViews()
572 " FROM " + Tables.RAW_CONTACTS + PEOPLE_JOINS + in createViews()
573 " WHERE " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0;"); in createViews()
596 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
620 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
648 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
666 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
[all …]
DAbstractContactsProvider.java383 "SELECT _id, count(*) as c FROM " + Tables.RAW_CONTACTS
396 + " FROM " + Tables.RAW_CONTACTS
408 + " FROM " + Tables.DATA + " AS d JOIN " + Tables.RAW_CONTACTS + " AS r"
DDataRowHandlerForGroupMembership.java45 String TABLE = Tables.RAW_CONTACTS;
107 if (db.update(Tables.RAW_CONTACTS, rawContactValues, SELECTION_RAW_CONTACT_ID, in updateRawContactsStar()
DSearchIndexManager.java316 "(SELECT " + RawContacts.CONTACT_ID + " FROM " + Tables.RAW_CONTACTS + in updateIndexForRawContacts()
332 " FROM " + Tables.RAW_CONTACTS + in updateIndexForRawContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java112 " JOIN " + Tables.RAW_CONTACTS +
313 " FROM " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
322 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
344 + ")=0 THEN 0 ELSE 1 END) FROM " + Tables.RAW_CONTACTS + " WHERE " in AbstractContactAggregator()
350 + RawContacts.SEND_TO_VOICEMAIL + ") FROM " + Tables.RAW_CONTACTS in AbstractContactAggregator()
353 + RawContacts.SEND_TO_VOICEMAIL + ") FROM " + Tables.RAW_CONTACTS + " WHERE " in AbstractContactAggregator()
359 + Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=" in AbstractContactAggregator()
365 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
371 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
384 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
[all …]
DContactAggregator2.java192 final String sql = "SELECT " + RawContacts._ID + " FROM " + Tables.RAW_CONTACTS + in needAggregate()
402 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=? AND " + in canBeReused()
953 + " JOIN " + Tables.RAW_CONTACTS +
955 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
979 + " JOIN " + Tables.RAW_CONTACTS +
981 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
1007 + " JOIN " + Tables.RAW_CONTACTS +
1009 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
1018 Tables.RAW_CONTACTS + "." + RawContacts._ID,
1037 + " JOIN " + Tables.RAW_CONTACTS
[all …]
DContactAggregator.java127 " FROM " + Tables.RAW_CONTACTS + in aggregateContact()
262 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=?1)) AS a" + in clearSuperPrimarySetting()
290 " IN (SELECT " + RawContacts._ID + " FROM " + Tables.RAW_CONTACTS + in clearSuperPrimarySetting()
691 + " JOIN " + Tables.RAW_CONTACTS +
693 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
736 + " JOIN " + Tables.RAW_CONTACTS +
738 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java280 final long rawContactId = mDb.insert(Tables.RAW_CONTACTS,null, rawContactValues); in testUpgradeHashId()
318 final long rawContactId = mDb.insert(Tables.RAW_CONTACTS,null, rawContactValues); in testUpgradeHashIdForPhoto()
349 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket()
366 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket()
384 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonZeroPrimaryPhonebookBucket()
397 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonNullPrimarySortKey()
411 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonZeroAltPhonebookBucket()
424 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonNullAltSortKeyToNumber()
435 final Cursor cursor = mDb.query(Tables.RAW_CONTACTS, in assertUpgradeToVersion1111()
DTestUtils.java248 db.update(Tables.RAW_CONTACTS, in insertRawContact()
256 + Tables.RAW_CONTACTS + " AS r " in insertRawContact()
DContactsDatabaseHelperUpgradeTest.java575 new TableListEntry(Tables.RAW_CONTACTS, RAW_CONTACTS_COLUMNS),
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DContactsTableUtil.java98 + " FROM " + Tables.RAW_CONTACTS in buildUpdateLastUpdateSql()
125 + " from " + Tables.RAW_CONTACTS in deleteContactIfSingleton()
128 + " from " + Tables.RAW_CONTACTS in deleteContactIfSingleton()