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

1234

/packages/apps/ContactsCommon/src-pre-N/com/android/contacts/common/compat/
H A DPhoneLookupSdkCompat.java22 public static final String CONTACT_ID = Data.CONTACT_ID; field in class:PhoneLookupSdkCompat
/packages/apps/ContactsCommon/src-N/com/android/contacts/common/compat/
H A DPhoneLookupSdkCompat.java22 // TODO: We should reference PhoneLookup.CONTACT_ID once we update the SDK.
23 public static final String CONTACT_ID = "contact_id"; field in class:PhoneLookupSdkCompat
/packages/apps/Dialer/src/com/android/dialer/util/
H A DPhoneLookupUtil.java31 return PhoneLookupSdkCompat.CONTACT_ID;
36 return (isSip) ? PhoneLookupSdkCompat.CONTACT_ID : ContactsContract.PhoneLookup._ID;
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
H A DContactLoaderTest.java56 private static final long CONTACT_ID = 1; field in class:ContactLoaderTest
116 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID);
120 CONTACT_ID);
124 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY);
128 assertEquals(CONTACT_ID, contact.getId());
144 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID);
147 CONTACT_ID);
151 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY);
152 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY);
156 assertEquals(CONTACT_ID, contac
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
H A DContactsTableUtil.java97 + " SELECT " + ContactsContract.RawContacts.CONTACT_ID
124 final String sql = "select " + ContactsContract.RawContacts.CONTACT_ID + ", count(1)"
126 + " where " + ContactsContract.RawContacts.CONTACT_ID + " ="
127 + " (select " + ContactsContract.RawContacts.CONTACT_ID
130 + " group by " + ContactsContract.RawContacts.CONTACT_ID;
H A DDeletedContactsTableUtil.java39 ContactsContract.DeletedContacts.CONTACT_ID + " INTEGER PRIMARY KEY," +
58 values.put(ContactsContract.DeletedContacts.CONTACT_ID, contactId);
/packages/apps/Contacts/src/com/android/contacts/
H A DGroupMemberLoader.java39 Data.CONTACT_ID, // 0
46 public static final int CONTACT_ID = 0; field in class:GroupMemberLoader.GroupEditorQuery
55 Data.CONTACT_ID, // 0
63 public static final int CONTACT_ID = 0; field in class:GroupMemberLoader.GroupDetailQuery
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactTileLoaderFactory.java33 public final static int CONTACT_ID = 0; field in class:ContactTileLoaderFactory
81 Phone.CONTACT_ID, //.......................................10
/packages/apps/Dialer/tests/src/com/android/dialer/database/
H A DDatabaseTestUtils.java31 DialerDatabaseHelper.SmartDialDbColumns.CONTACT_ID});
41 Phone.CONTACT_ID, // 4
/packages/apps/Dialer/src/com/android/dialer/database/
H A DDialerDatabaseHelper.java111 static final String CONTACT_ID = "contact_id"; field in interface:DialerDatabaseHelper.SmartDialDbColumns
127 static final String CONTACT_ID = "contact_id"; field in interface:DialerDatabaseHelper.PrefixColumns
148 Phone.CONTACT_ID, // 4
215 ContactsContract.DeletedContacts.CONTACT_ID, // 0
262 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.CONTACT_ID + ", "
401 + SmartDialDbColumns.CONTACT_ID + " INTEGER,"
418 + PrefixColumns.CONTACT_ID + " INTEGER"
627 SmartDialDbColumns.CONTACT_ID + "=" + deleteContactId, null);
629 PrefixColumns.CONTACT_ID + "=" + deleteContactId, null);
658 PrefixColumns.CONTACT_ID
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java128 " WHERE " + RawContacts.CONTACT_ID + "=?" +
230 mContactUpdate.bindLong(ContactReplaceSqlStatement.CONTACT_ID, contactId);
262 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=?1)) AS a" +
291 " WHERE " + RawContacts.CONTACT_ID + "=?1)" +
532 "raw_contacts1." + RawContacts.CONTACT_ID,
534 "raw_contacts2." + RawContacts.CONTACT_ID,
649 mSb.append(RawContacts.CONTACT_ID).append(" IN (");
701 + " AND " + RawContacts.CONTACT_ID + " IN " + Tables.DEFAULT_DIRECTORY;
704 RawContacts.CONTACT_ID
707 int CONTACT_ID field in interface:ContactAggregator.IdentityLookupMatchQuery
751 int CONTACT_ID = 0; field in interface:ContactAggregator.NameLookupMatchQuery
855 int CONTACT_ID = 0; field in interface:ContactAggregator.ContactNameLookupQuery
[all...]
H A DContactAggregator2.java402 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=? AND " +
561 mSelectionArgs2, RawContacts.CONTACT_ID, null, null);
568 final long contactId = c.getLong(IdentityLookupMatchQuery.CONTACT_ID);
592 long contactId = c.getLong(NameLookupMatchQuery.CONTACT_ID);
622 long contactId = c.getLong(EmailLookupQuery.CONTACT_ID);
650 long contactId = c.getLong(NameLookupMatchQueryWithParameter.CONTACT_ID);
679 long contactId = c.getLong(PhoneLookupQuery.CONTACT_ID);
707 + RawContacts.CONTACT_ID + " IN " + Tables.DEFAULT_DIRECTORY;
721 RawContacts.CONTACT_ID,
728 int CONTACT_ID field in interface:ContactAggregator2.ContactNameLookupQuery
956 int CONTACT_ID = 1; field in interface:ContactAggregator2.IdentityLookupMatchQuery
982 int CONTACT_ID = 1; field in interface:ContactAggregator2.NameLookupMatchQuery
1010 int CONTACT_ID = 1; field in interface:ContactAggregator2.EmailLookupQuery
1039 int CONTACT_ID = 1; field in interface:ContactAggregator2.PhoneLookupQuery
1053 int CONTACT_ID = 1; field in interface:ContactAggregator2.NullNameRawContactsIdsQuery
[all...]
H A DAbstractContactAggregator.java114 " WHERE " + RawContacts.CONTACT_ID + "=?" +
289 + AggregatedPresenceColumns.CONTACT_ID + ", "
292 + " SELECT " + PresenceColumns.CONTACT_ID + ","
303 + " WHERE " + PresenceColumns.CONTACT_ID
305 + " AND " + PresenceColumns.CONTACT_ID
312 " WHERE " + RawContacts.CONTACT_ID + "=?"
317 " WHERE " + AggregatedPresenceColumns.CONTACT_ID + "=?");
343 + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID + " AND "
349 + " WHERE " + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID + " AND "
352 + RawContacts.CONTACT_ID
417 int CONTACT_ID = 1; field in interface:AbstractContactAggregator.AggregationQuery
665 public static final int CONTACT_ID = 0; field in class:AbstractContactAggregator.RawContactIdAndAccountQuery
1063 int CONTACT_ID = 1; field in interface:AbstractContactAggregator.NameLookupMatchQueryWithParameter
1170 int CONTACT_ID = 1; field in interface:AbstractContactAggregator.EmailLookupQuery
1200 int CONTACT_ID = 1; field in interface:AbstractContactAggregator.PhoneLookupQuery
1213 int CONTACT_ID = 0; field in interface:AbstractContactAggregator.ContactNameLookupQuery
1360 int CONTACT_ID = 13; field in interface:AbstractContactAggregator.ContactReplaceSqlStatement
[all...]
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/pbap/
H A DContactCursorFilterTest.java30 ContactsContract.CommonDataKinds.Phone.CONTACT_ID,
67 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME});
104 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME});
129 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME});
157 int index = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.CONTACT_ID);
H A DBluetoothPbapVcardManagerTest.java50 columnNames = new String[]{Phone.CONTACT_ID, Phone.DISPLAY_NAME};
75 MatrixCursor mc = new MatrixCursor(new String[]{ContactsContract.Data.CONTACT_ID});
93 new String[]{ContactsContract.CommonDataKinds.Phone.CONTACT_ID,
120 new String[]{ContactsContract.CommonDataKinds.Phone.CONTACT_ID,
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListAdapter.java96 public static final int CONTACT_ID = 0; field in class:ContactListAdapter.ContactQuery
174 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
188 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
212 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID);
274 bindViewId(view, cursor, ContactQuery.CONTACT_ID);
322 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
H A DPhoneNumberListAdapter.java104 Phone.CONTACT_ID, // 4
126 Phone.CONTACT_ID, // 4
147 public static final int CONTACT_ID = 4; field in class:PhoneNumberListAdapter.PhoneQuery
398 final long contactId = cursor.getLong(PhoneQuery.CONTACT_ID);
422 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID);
424 final long previousContactId = cursor.getLong(PhoneQuery.CONTACT_ID);
431 final long nextContactId = cursor.getLong(PhoneQuery.CONTACT_ID);
449 PhoneQuery.PHOTO_URI, PhoneQuery.CONTACT_ID,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DSearchIndexManager.java59 Data.CONTACT_ID,
298 sb.append(RawContacts.CONTACT_ID + " IN (");
311 sb.append(RawContacts.CONTACT_ID + " IN " +
312 "(SELECT " + RawContacts.CONTACT_ID + " FROM " + Tables.RAW_CONTACTS +
326 SearchIndexColumns.CONTACT_ID + " IN (SELECT " +
327 RawContacts.CONTACT_ID +
343 mSb.append(Data.CONTACT_ID + ", ");
398 mValues.put(SearchIndexColumns.CONTACT_ID, contactId);
H A 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 in interface:ContactsDatabaseHelper.PresenceColumns
606 String CONTACT_ID = "presence_contact_id"; field in interface:ContactsDatabaseHelper.AggregatedPresenceColumns
607 String CONCRETE_CONTACT_ID = Tables.AGGREGATED_PRESENCE + "." + CONTACT_ID;
692 public static final String CONTACT_ID = "contact_id"; field in interface:ContactsDatabaseHelper.SearchIndexColumns
1126 PresenceColumns.CONTACT_ID + " INTEGER REFERENCES contacts(_id)," +
1137 + Tables.PRESENCE + " (" + PresenceColumns.CONTACT_ID
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DGroupMemberTileAdapter.java41 mIdIndex = GroupMemberLoader.GroupDetailQuery.CONTACT_ID;
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DPhoneQuery.java39 PhoneLookupSdkCompat.CONTACT_ID,
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
H A DDeletedContactUtil.java49 DeletedContacts.CONTACT_ID
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapVcardManager.java83 Phone.CONTACT_ID, // 0
165 contactCursor = mResolver.query(myUri, new String[] {Phone.CONTACT_ID},
166 CLAUSE_ONLY_VISIBLE, null, Phone.CONTACT_ID);
262 String orderBy = Phone.CONTACT_ID;
306 Phone.CONTACT_ID);
412 Phone.CONTACT_ID
416 null, Phone.CONTACT_ID);
443 Phone.CONTACT_ID
446 String orderBy = Phone.CONTACT_ID;
490 final int contactIdColumn = contactCursor.getColumnIndex(Data.CONTACT_ID);
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
H A DEnterprisePolicyGuardTest.java47 private static final int CONTACT_ID = 10; field in class: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/Contacts/src/com/android/contacts/editor/
H A DAggregationSuggestionEngine.java290 + " AND " + Data.CONTACT_ID + " IN (";
294 Data.CONTACT_ID,
309 public static final int CONTACT_ID = 1; field in class:AggregationSuggestionEngine.DataQuery
352 DataQuery.COLUMNS, sb.toString(), null, Data.CONTACT_ID);
408 new String[]{Data.CONTACT_ID}, null, null, null);
428 long contactId = mDataCursor.getLong(DataQuery.CONTACT_ID);

Completed in 607 milliseconds

1234