Home
last modified time | relevance | path

Searched refs:CONTACT_ID (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
DContactLoaderTest.java56 private static final long CONTACT_ID = 1; field in ContactLoaderTest
116 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactIdUri()
120 CONTACT_ID); in testLoadContactWithContactIdUri()
124 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactIdUri()
128 assertEquals(CONTACT_ID, contact.getId()); in testLoadContactWithContactIdUri()
144 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithOldStyleUri()
147 CONTACT_ID); in testLoadContactWithOldStyleUri()
151 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
152 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
156 assertEquals(CONTACT_ID, contact.getId()); in testLoadContactWithOldStyleUri()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java128 " WHERE " + RawContacts.CONTACT_ID + "=?" + in aggregateContact()
230 mContactUpdate.bindLong(ContactReplaceSqlStatement.CONTACT_ID, contactId); in aggregateContact()
262 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=?1)) AS a" + in clearSuperPrimarySetting()
291 " WHERE " + RawContacts.CONTACT_ID + "=?1)" + in clearSuperPrimarySetting()
532 "raw_contacts1." + RawContacts.CONTACT_ID,
534 "raw_contacts2." + RawContacts.CONTACT_ID,
649 mSb.append(RawContacts.CONTACT_ID).append(" IN ("); in pickBestMatchBasedOnSecondaryData()
701 + " AND " + RawContacts.CONTACT_ID + " IN " + Tables.DEFAULT_DIRECTORY;
704 RawContacts.CONTACT_ID
707 int CONTACT_ID = 0; field
[all …]
DAbstractContactAggregator.java114 " WHERE " + RawContacts.CONTACT_ID + "=?" +
289 + AggregatedPresenceColumns.CONTACT_ID + ", " in AbstractContactAggregator()
292 + " SELECT " + PresenceColumns.CONTACT_ID + "," in AbstractContactAggregator()
303 + " WHERE " + PresenceColumns.CONTACT_ID in AbstractContactAggregator()
305 + " AND " + PresenceColumns.CONTACT_ID in AbstractContactAggregator()
312 " WHERE " + RawContacts.CONTACT_ID + "=?" in AbstractContactAggregator()
317 " WHERE " + AggregatedPresenceColumns.CONTACT_ID + "=?"); in AbstractContactAggregator()
343 + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID + " AND " in AbstractContactAggregator()
349 + " WHERE " + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID + " AND " in AbstractContactAggregator()
352 + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID in AbstractContactAggregator()
[all …]
DContactAggregator2.java402 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=? AND " + in canBeReused()
561 mSelectionArgs2, RawContacts.CONTACT_ID, null, null); in updateMatchScoresBasedOnIdentityMatch()
568 final long contactId = c.getLong(IdentityLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnIdentityMatch()
592 long contactId = c.getLong(NameLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnNameMatches()
622 long contactId = c.getLong(EmailLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnEmailMatches()
650 long contactId = c.getLong(NameLookupMatchQueryWithParameter.CONTACT_ID); in updateMatchScoresBasedOnNameMatches()
679 long contactId = c.getLong(PhoneLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnPhoneMatches()
707 + RawContacts.CONTACT_ID + " IN " + Tables.DEFAULT_DIRECTORY; in lookupApproximateNameMatches()
721 RawContacts.CONTACT_ID,
728 int CONTACT_ID = 1; field
[all …]
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java111 static final String CONTACT_ID = "contact_id"; field
127 static final String CONTACT_ID = "contact_id"; field
148 Phone.CONTACT_ID, // 4
215 ContactsContract.DeletedContacts.CONTACT_ID, // 0
262 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.CONTACT_ID + ", "
401 + SmartDialDbColumns.CONTACT_ID + " INTEGER," in setupTables()
418 + PrefixColumns.CONTACT_ID + " INTEGER" in setupTables()
627 SmartDialDbColumns.CONTACT_ID + "=" + deleteContactId, null); in removeDeletedContacts()
629 PrefixColumns.CONTACT_ID + "=" + deleteContactId, null); in removeDeletedContacts()
658 PrefixColumns.CONTACT_ID + " IN " + in removePotentiallyCorruptedContacts()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DContactsTableUtil.java97 + " SELECT " + ContactsContract.RawContacts.CONTACT_ID in buildUpdateLastUpdateSql()
124 final String sql = "select " + ContactsContract.RawContacts.CONTACT_ID + ", count(1)" in deleteContactIfSingleton()
126 + " where " + ContactsContract.RawContacts.CONTACT_ID + " =" in deleteContactIfSingleton()
127 + " (select " + ContactsContract.RawContacts.CONTACT_ID in deleteContactIfSingleton()
130 + " group by " + ContactsContract.RawContacts.CONTACT_ID; in deleteContactIfSingleton()
DDeletedContactsTableUtil.java39 ContactsContract.DeletedContacts.CONTACT_ID + " INTEGER PRIMARY KEY," + in create()
58 values.put(ContactsContract.DeletedContacts.CONTACT_ID, contactId); in insertDeletedContact()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java83 Phone.CONTACT_ID, // 0
165 contactCursor = mResolver.query(myUri, new String[] {Phone.CONTACT_ID}, in getContactsSize()
166 CLAUSE_ONLY_VISIBLE, null, Phone.CONTACT_ID); in getContactsSize()
262 String orderBy = Phone.CONTACT_ID; in getPhonebookNameList()
306 Phone.CONTACT_ID); in getContactNamesByNumber()
412 Phone.CONTACT_ID in composeAndSendPhonebookVcards()
416 null, Phone.CONTACT_ID); in composeAndSendPhonebookVcards()
443 Phone.CONTACT_ID in composeAndSendPhonebookOneVcard()
446 String orderBy = Phone.CONTACT_ID; in composeAndSendPhonebookOneVcard()
490 final int contactIdColumn = contactCursor.getColumnIndex(Data.CONTACT_ID); in filterByRange()
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DGroupMemberLoader.java39 Data.CONTACT_ID, // 0
46 public static final int CONTACT_ID = 0; field in GroupMemberLoader.GroupEditorQuery
55 Data.CONTACT_ID, // 0
63 public static final int CONTACT_ID = 0; field in GroupMemberLoader.GroupDetailQuery
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/pbap/
DContactCursorFilterTest.java30 ContactsContract.CommonDataKinds.Phone.CONTACT_ID, in testFilterByRangeWithoutDup()
67 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME}); in testFilterByRangeWithDup()
104 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME}); in testFilterByOffsetWithoutDup()
129 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME}); in testFilterByOffsetWithDup()
157 int index = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.CONTACT_ID); in getContactsIdFromCursor()
DBluetoothPbapVcardManagerTest.java50 columnNames = new String[]{Phone.CONTACT_ID, Phone.DISPLAY_NAME}; in getContactNamesByNumberInternal()
75 MatrixCursor mc = new MatrixCursor(new String[]{ContactsContract.Data.CONTACT_ID}); in testGetDistinctContactIdSize()
93 new String[]{ContactsContract.CommonDataKinds.Phone.CONTACT_ID, in testGetPhonebookNameListOrderByIndex()
120 new String[]{ContactsContract.CommonDataKinds.Phone.CONTACT_ID, in testGetPhonebookNameListOrderByAlphabetical()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java59 Data.CONTACT_ID,
298 sb.append(RawContacts.CONTACT_ID + " IN ("); in updateIndexForRawContacts()
311 sb.append(RawContacts.CONTACT_ID + " IN " + in updateIndexForRawContacts()
312 "(SELECT " + RawContacts.CONTACT_ID + " FROM " + Tables.RAW_CONTACTS + in updateIndexForRawContacts()
326 SearchIndexColumns.CONTACT_ID + " IN (SELECT " + in updateIndexForRawContacts()
327 RawContacts.CONTACT_ID + in updateIndexForRawContacts()
343 mSb.append(Data.CONTACT_ID + ", "); in buildAndInsertIndex()
398 mValues.put(SearchIndexColumns.CONTACT_ID, contactId); in insertIndexRow()
DContactsDatabaseHelper.java344 + SettingsColumns.CONCRETE_ACCOUNT_TYPE + "," + RawContacts.CONTACT_ID;
375 " WHERE " + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID +
376 " GROUP BY " + RawContacts.CONTACT_ID;
465 Tables.RAW_CONTACTS + "." + RawContacts.CONTACT_ID;
602 String CONTACT_ID = "presence_contact_id"; field
606 String CONTACT_ID = "presence_contact_id"; field
607 String CONCRETE_CONTACT_ID = Tables.AGGREGATED_PRESENCE + "." + CONTACT_ID;
692 public static final String CONTACT_ID = "contact_id"; field
1126 PresenceColumns.CONTACT_ID + " INTEGER REFERENCES contacts(_id)," + in onOpen()
1137 + Tables.PRESENCE + " (" + PresenceColumns.CONTACT_ID + ");"); in onOpen()
[all …]
DContactsProvider2.java238 " WHERE " + RawContacts.CONTACT_ID + "=?";
529 public static final int CONTACT_ID = 5; field
555 + "(SELECT " + RawContacts.CONTACT_ID
606 " WHERE " + RawContacts.CONTACT_ID + " = ?1 AND " + Contacts.PINNED + " <= " +
651 + Data.CONTACT_ID + ", "
860 .add(Phone.CONTACT_ID)
874 .add(RawContacts.CONTACT_ID)
903 .add(RawContacts.CONTACT_ID)
916 .add(Contacts.Entity.CONTACT_ID)
945 .add(Data.CONTACT_ID)
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListAdapter.java96 public static final int CONTACT_ID = 0; field in ContactListAdapter.ContactQuery
174 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getContactUri()
188 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in isEnterpriseContact()
212 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID); in isSelectedContact()
274 bindViewId(view, cursor, ContactQuery.CONTACT_ID); in bindNameAndViewId()
322 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getSelectedContactPosition()
DPhoneNumberListAdapter.java104 Phone.CONTACT_ID, // 4
126 Phone.CONTACT_ID, // 4
147 public static final int CONTACT_ID = 4; field in PhoneNumberListAdapter.PhoneQuery
398 final long contactId = cursor.getLong(PhoneQuery.CONTACT_ID); in getResultCount()
422 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView()
424 final long previousContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView()
431 final long nextContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView()
449 PhoneQuery.PHOTO_URI, PhoneQuery.CONTACT_ID, in bindView()
/packages/apps/ContactsCommon/src-pre-N/com/android/contacts/common/compat/
DPhoneLookupSdkCompat.java22 public static final String CONTACT_ID = Data.CONTACT_ID; field in PhoneLookupSdkCompat
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java290 + " AND " + Data.CONTACT_ID + " IN (";
294 Data.CONTACT_ID,
309 public static final int CONTACT_ID = 1; field in AggregationSuggestionEngine.DataQuery
352 DataQuery.COLUMNS, sb.toString(), null, Data.CONTACT_ID); in loadAggregationSuggestions()
408 new String[]{Data.CONTACT_ID}, null, null, null); in getSuggestions()
428 long contactId = mDataCursor.getLong(DataQuery.CONTACT_ID); in getSuggestions()
/packages/apps/Dialer/src/com/android/dialer/util/
DPhoneLookupUtil.java31 return PhoneLookupSdkCompat.CONTACT_ID; in getContactIdColumnNameForUri()
36 return (isSip) ? PhoneLookupSdkCompat.CONTACT_ID : ContactsContract.PhoneLookup._ID; in getContactIdColumnNameForUri()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java47 private static final int CONTACT_ID = 10; field in EnterprisePolicyGuardTest
54 Uri.parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/photo");
56 .parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/display_photo");
79 Uri.parse("content://com.android.contacts/contacts/" + CONTACT_ID);
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DDatabaseTestUtils.java31 DialerDatabaseHelper.SmartDialDbColumns.CONTACT_ID}); in constructNewNameCursor()
41 Phone.CONTACT_ID, // 4 in constructNewContactCursor()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactTileLoaderFactory.java33 public final static int CONTACT_ID = 0; field in ContactTileLoaderFactory
81 Phone.CONTACT_ID, //.......................................10
/packages/apps/Contacts/src/com/android/contacts/activities/
DConfirmAddDetailActivity.java180 RawContacts.CONTACT_ID,
184 final int CONTACT_ID = 0; field
363 ExtraInfoQuery.COLUMNS, RawContacts.CONTACT_ID + " = ?", in startExtraInfoQuery()
395 mSelection = RawContacts.CONTACT_ID + "=?"; in doInBackground()
400 mSelection = RawContacts.CONTACT_ID + "=?"; in doInBackground()
420 new String[] { RawContacts.CONTACT_ID }, in queryForContactId()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallerInfo.java53 PhoneLookupSdkCompat.CONTACT_ID,
499 columnName = RawContacts.CONTACT_ID; in getColumnIndexForPersonId()
505 columnName = Data.CONTACT_ID; in getColumnIndexForPersonId()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java278 new String[] {RawContacts.CONTACT_ID}, in queryForContactId()
321 RawContacts.CONTACT_ID + "=" + contactId, null, null); in queryForRawContactId()
340 RawContacts.CONTACT_ID + "=" + contactId, null, null); in queryForAllRawContactIds()

1234