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.java191 public static final String RAW_CONTACTS = "raw_contacts"; field
217 RAW_CONTACTS,
247 public static final String RAW_CONTACTS_JOIN_SETTINGS_DATA_GROUPS = Tables.RAW_CONTACTS
268 + " INNER JOIN " + Tables.RAW_CONTACTS
314 public static final String RAW_CONTACTS_JOIN_ACCOUNTS = Tables.RAW_CONTACTS
342 public static final String RAW_CONTACTS = "view_raw_contacts"; field
416 " FROM " + Tables.RAW_CONTACTS + " AS " + OUTER_RAW_CONTACTS +
436 "NOT EXISTS (SELECT 1 FROM " + Tables.RAW_CONTACTS
471 Tables.RAW_CONTACTS + "." + BaseColumns._ID;
474 public static final String CONCRETE_ACCOUNT_ID = Tables.RAW_CONTACTS + "." + ACCOUNT_ID;
[all …]
DContactsProvider2.java361 public static final int RAW_CONTACTS = 2002; field in ContactsProvider2
508 + " FROM " + Tables.RAW_CONTACTS + " WHERE " + RawContacts._ID + "=?";
559 + " FROM " + Tables.RAW_CONTACTS
571 "UPDATE " + Tables.RAW_CONTACTS +
577 "UPDATE " + Tables.RAW_CONTACTS +
590 "UPDATE " + Tables.RAW_CONTACTS +
1231 matcher.addURI(ContactsContract.AUTHORITY, "raw_contacts", RAW_CONTACTS); in matcher.addURI() argument
2152 + Tables.RAW_CONTACTS in cleanupDanglingContacts()
2975 case RAW_CONTACTS: in insertInTransaction()
3186 final long rawContactId = db.insert(Tables.RAW_CONTACTS, RawContacts.CONTACT_ID, values); in insertRawContact()
[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()
DLegacyApiSupport.java534 Tables.RAW_CONTACTS + "." + RawContactsColumns.DISPLAY_NAME in createViews()
548 Tables.RAW_CONTACTS + "." + RawContacts.CUSTOM_RINGTONE in createViews()
550 Tables.RAW_CONTACTS + "." + RawContacts.SEND_TO_VOICEMAIL in createViews()
552 Tables.RAW_CONTACTS + "." + RawContacts.STARRED in createViews()
574 " FROM " + Tables.RAW_CONTACTS + PEOPLE_JOINS + in createViews()
575 " WHERE " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0;"); in createViews()
598 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
622 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
650 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
668 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + in createViews()
[all …]
DSearchIndexManager.java317 "(SELECT " + RawContacts.CONTACT_ID + " FROM " + Tables.RAW_CONTACTS + in updateIndexForRawContacts()
333 " FROM " + Tables.RAW_CONTACTS + in updateIndexForRawContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java111 " JOIN " + Tables.RAW_CONTACTS +
309 " FROM " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
318 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
340 + ")=0 THEN 0 ELSE 1 END) FROM " + Tables.RAW_CONTACTS + " WHERE " in AbstractContactAggregator()
346 + RawContacts.SEND_TO_VOICEMAIL + ") FROM " + Tables.RAW_CONTACTS in AbstractContactAggregator()
349 + RawContacts.SEND_TO_VOICEMAIL + ") FROM " + Tables.RAW_CONTACTS + " WHERE " in AbstractContactAggregator()
355 + Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=" in AbstractContactAggregator()
361 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
367 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
380 "UPDATE " + Tables.RAW_CONTACTS + in AbstractContactAggregator()
[all …]
DContactAggregator2.java190 final String sql = "SELECT " + RawContacts._ID + " FROM " + Tables.RAW_CONTACTS + in needAggregate()
400 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=? AND " + in canBeReused()
951 + " JOIN " + Tables.RAW_CONTACTS +
953 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
977 + " JOIN " + Tables.RAW_CONTACTS +
979 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
1005 + " JOIN " + Tables.RAW_CONTACTS +
1007 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
1016 Tables.RAW_CONTACTS + "." + RawContacts._ID,
1035 + " JOIN " + Tables.RAW_CONTACTS
[all …]
DContactAggregator.java125 " FROM " + Tables.RAW_CONTACTS + in aggregateContact()
260 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=?1)) AS a" + in clearSuperPrimarySetting()
288 " IN (SELECT " + RawContacts._ID + " FROM " + Tables.RAW_CONTACTS + in clearSuperPrimarySetting()
689 + " JOIN " + Tables.RAW_CONTACTS +
691 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
734 + " JOIN " + Tables.RAW_CONTACTS +
736 + Tables.RAW_CONTACTS + "." + RawContacts._ID + ")";
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java282 final long rawContactId = mDb.insert(Tables.RAW_CONTACTS,null, rawContactValues); in testUpgradeHashId()
320 final long rawContactId = mDb.insert(Tables.RAW_CONTACTS,null, rawContactValues); in testUpgradeHashIdForPhoto()
351 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket()
368 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket()
386 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonZeroPrimaryPhonebookBucket()
399 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonNullPrimarySortKey()
413 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonZeroAltPhonebookBucket()
426 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonNullAltSortKeyToNumber()
437 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.java654 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()