/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
H A D | ContactLoaderTest.java | 50 private static final long CONTACT_ID = 1; field in ContactLoaderTest 114 CONTACT_ID); in testLoadContactWithContactIdUri() 122 assertEquals(CONTACT_ID, contact.getId()); in testLoadContactWithContactIdUri() 141 CONTACT_ID); in testLoadContactWithOldStyleUri() 150 assertEquals(CONTACT_ID, contact.getId()); in testLoadContactWithOldStyleUri() 171 CONTACT_ID); in testLoadContactWithRawContactIdUri() 181 assertEquals(CONTACT_ID, contact.getId()); in testLoadContactWithRawContactIdUri() 205 assertEquals(CONTACT_ID, contact.getId()); in testLoadContactWithContactLookupUri() 220 CONTACT_ID); in testLoadContactWithContactLookupAndIdUri() 250 CONTACT_ID); in testLoadContactWithContactLookupWithIncorrectIdUri() [all …]
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
H A D | ContactAggregator.java | 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() 704 RawContacts.CONTACT_ID 707 int CONTACT_ID = 0; field 719 mSelectionArgs2, RawContacts.CONTACT_ID, null, null); in updateMatchScoresBasedOnIdentityMatch() 745 RawContacts.CONTACT_ID, 751 int CONTACT_ID = 0; field 864 RawContacts.CONTACT_ID, [all …]
|
H A D | ContactAggregator2.java | 561 mSelectionArgs2, RawContacts.CONTACT_ID, null, null); in updateMatchScoresBasedOnIdentityMatch() 735 RawContacts.CONTACT_ID, 742 int CONTACT_ID = 1; field 970 int CONTACT_ID = 1; field 988 RawContacts.CONTACT_ID, 996 int CONTACT_ID = 1; field 1019 RawContacts.CONTACT_ID, 1024 int CONTACT_ID = 1; field 1053 RawContacts.CONTACT_ID, 1058 int CONTACT_ID = 1; field [all …]
|
H A D | AbstractContactAggregator.java | 419 int CONTACT_ID = 1; field 661 RawContacts.CONTACT_ID, 1062 RawContacts.CONTACT_ID, 1069 int CONTACT_ID = 1; field 1171 RawContacts.CONTACT_ID, 1176 int CONTACT_ID = 1; field 1207 RawContacts.CONTACT_ID, 1212 int CONTACT_ID = 1; field 1220 RawContacts.CONTACT_ID, 1225 int CONTACT_ID = 0; field [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/database/ |
H A D | DialerDatabaseHelper.java | 125 + SmartDialDbColumns.CONTACT_ID in setupTables() 159 + PrefixColumns.CONTACT_ID in setupTables() 442 PrefixColumns.CONTACT_ID in removePotentiallyCorruptedContacts() 445 + SmartDialDbColumns.CONTACT_ID in removePotentiallyCorruptedContacts() 542 + PrefixColumns.CONTACT_ID in insertUpdatedContactsAndNumberPrefix() 630 + PrefixColumns.CONTACT_ID in insertNamePrefixes() 857 + PrefixColumns.CONTACT_ID in updateSmartDialDatabase() 931 + PrefixColumns.CONTACT_ID in getLooseMatches() 1041 String CONTACT_ID = "contact_id"; field 1058 String CONTACT_ID = "contact_id"; field [all …]
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListAdapter.java | 94 public static final int CONTACT_ID = 0; field in ContactListAdapter.ContactQuery 114 super(context, ContactQuery.CONTACT_ID); in ContactListAdapter() 170 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getContactUri() 186 return cursor == null ? -1 : cursor.getLong(ContactQuery.CONTACT_ID); in getContactId() 192 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in isEnterpriseContact() 216 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID); in isSelectedContact() 278 bindViewId(view, cursor, ContactQuery.CONTACT_ID); in bindNameAndViewId() 326 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getSelectedContactPosition() 382 favorites.add(cursor.getInt(ContactQuery.CONTACT_ID)); in changeCursor() 388 favorites.add(cursor.getInt(ContactQuery.CONTACT_ID)); in changeCursor() [all …]
|
H A D | MultiSelectEmailAddressesListAdapter.java | 43 Email.CONTACT_ID, // 4 55 Email.CONTACT_ID, // 4 66 public static final int CONTACT_ID = 4; field in MultiSelectEmailAddressesListAdapter.EmailQuery 104 loader.setSelection(ContactsContract.Data.CONTACT_ID in configureLoader() 150 final long currentContactId = cursor.getLong(EmailQuery.CONTACT_ID); in bindView() 152 final long previousContactId = cursor.getLong(EmailQuery.CONTACT_ID); in bindView()
|
H A D | MultiSelectPhoneNumbersListAdapter.java | 43 Phone.CONTACT_ID, // 4 55 Phone.CONTACT_ID, // 4 66 public static final int CONTACT_ID = 4; field in MultiSelectPhoneNumbersListAdapter.PhoneQuery 104 loader.setSelection(ContactsContract.Data.CONTACT_ID in configureLoader() 150 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView() 152 final long previousContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView()
|
H A D | PhoneNumberListAdapter.java | 104 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()
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
H A D | ContactsTableUtil.java | 97 + " 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()
|
H A D | DeletedContactsTableUtil.java | 39 ContactsContract.DeletedContacts.CONTACT_ID + " INTEGER PRIMARY KEY," + in create() 58 values.put(ContactsContract.DeletedContacts.CONTACT_ID, contactId); in insertDeletedContact()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/ |
H A D | Projections.java | 34 public static final int CONTACT_ID = 9; field in Projections 55 Phone.CONTACT_ID, // 9 75 Data.CONTACT_ID, // 9 94 Data.CONTACT_ID, // 9
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupMembersAdapter.java | 41 Data.CONTACT_ID, 51 Data.CONTACT_ID, 60 public static final int CONTACT_ID = 0; field in GroupMembersAdapter.GroupMembersQuery 74 super(context, GroupMembersQuery.CONTACT_ID); in GroupMembersAdapter() 87 final long contactId = cursor.getLong(GroupMembersQuery.CONTACT_ID); in getContactUri() 95 return cursor.getLong(GroupMembersQuery.CONTACT_ID); in getContactId()
|
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | Queries.java | 36 Phone.CONTACT_ID, // 4 56 Email.CONTACT_ID, // 4 80 public static final int CONTACT_ID = 4; // long field in Queries.Query
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | PhoneLookupSdkCompat.java | 22 public static final String CONTACT_ID = ContactsContract.PhoneLookup.CONTACT_ID; field in PhoneLookupSdkCompat
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/smartdial/ |
H A D | SmartDialCursorLoader.java | 101 row[PhoneQuery.CONTACT_ID] = contact.id; in loadInBackground() 194 Phone.CONTACT_ID, // 4 208 Phone.CONTACT_ID, // 4 219 public static final int CONTACT_ID = 4; field in SmartDialCursorLoader.PhoneQuery
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | SearchIndexManager.java | 63 Data.CONTACT_ID, 303 sb.append(RawContacts.CONTACT_ID + " IN ("); in updateIndexForRawContacts() 316 sb.append(RawContacts.CONTACT_ID + " IN " + in updateIndexForRawContacts() 317 "(SELECT " + RawContacts.CONTACT_ID + " FROM " + Tables.RAW_CONTACTS + in updateIndexForRawContacts() 332 RawContacts.CONTACT_ID + in updateIndexForRawContacts() 348 mSb.append(Data.CONTACT_ID + ", "); in buildAndInsertIndex() 403 mValues.put(SearchIndexColumns.CONTACT_ID, contactId); in insertIndexRow()
|
H A D | ContactsDatabaseHelper.java | 406 " GROUP BY " + RawContacts.CONTACT_ID; 625 String CONTACT_ID = "presence_contact_id"; field 629 String CONTACT_ID = "presence_contact_id"; field 1150 AggregatedPresenceColumns.CONTACT_ID in createPresenceTables() 1194 + " AND " + PresenceColumns.CONTACT_ID + "=NEW." + PresenceColumns.CONTACT_ID + ";"; in createPresenceTables() 1324 RawContacts.CONTACT_ID + in onCreate() 1712 + " WHERE " + RawContacts.CONTACT_ID + "=OLD." + RawContacts.CONTACT_ID in createContactsTriggers() 1717 + " WHERE " + RawContacts.CONTACT_ID + "=OLD." + RawContacts.CONTACT_ID in createContactsTriggers() 1722 + " WHERE " + RawContacts.CONTACT_ID + "=OLD." + RawContacts.CONTACT_ID in createContactsTriggers() 2017 + RawContacts.CONTACT_ID + ", " in createContactsViews() [all …]
|
H A D | ContactsProvider2.java | 578 + Data.CONTACT_ID + ", " 787 .add(Phone.CONTACT_ID) 801 .add(RawContacts.CONTACT_ID) 830 .add(RawContacts.CONTACT_ID) 872 .add(Data.CONTACT_ID) 892 .add(RawContacts.CONTACT_ID) 1069 .add(StreamItems.CONTACT_ID) 7699 RawContacts.CONTACT_ID, 7705 int CONTACT_ID = 0; field 7762 int CONTACT_ID = 0; field [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
H A D | Cp2Contact.java | 97 .setPhoneId(cursor.getLong(Projections.CONTACT_ID)) in fromCursor() 106 .setContactId(cursor.getInt(Projections.CONTACT_ID)) in fromCursor() 124 row[Projections.CONTACT_ID] = contactId(); in toCursorRow()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapVcardManager.java | 84 Phone.CONTACT_ID, // 0 183 new String[]{Phone.CONTACT_ID}, selectionClause, in getContactsSize() 184 null, Phone.CONTACT_ID); in getContactsSize() 284 String orderBy = Phone.CONTACT_ID; in getPhonebookNameList() 348 Phone.CONTACT_ID); in getSelectedPhonebookNameList() 578 Phone.CONTACT_ID in composeAndSendPhonebookVcards() 588 null, Phone.CONTACT_ID); in composeAndSendPhonebookVcards() 622 Phone.CONTACT_ID in composeAndSendPhonebookOneVcard() 625 String orderBy = Phone.CONTACT_ID; in composeAndSendPhonebookOneVcard() 673 Phone.CONTACT_ID in filterByRange() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
H A D | SpeedDialUiItem.java | 52 public static final int CONTACT_ID = 1; field in SpeedDialUiItem 64 Phone.CONTACT_ID, 77 Phone.CONTACT_ID, 118 .setContactId(cursor.getLong(CONTACT_ID)) in fromCursor()
|
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
H A D | EabContactSyncController.java | 128 new String[]{ContactsContract.DeletedContacts.CONTACT_ID, in handleContactDeletedCase() 149 ContactsContract.DeletedContacts.CONTACT_ID)); in handleContactDeletedCase() 150 deleteClause.append(EabProvider.ContactColumns.CONTACT_ID + "=" + contactId); in handleContactDeletedCase() 250 ContactsContract.Data.CONTACT_ID)); in handlePhoneNumberInsertedCase() 270 data.put(EabProvider.ContactColumns.CONTACT_ID, contactId); in handlePhoneNumberInsertedCase()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactTileLoaderFactory.java | 33 public final static int CONTACT_ID = 0; field in ContactTileLoaderFactory 81 Phone.CONTACT_ID, //.......................................10
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionEngine.java | 275 + " AND " + Data.CONTACT_ID + " IN ("; 278 Data.CONTACT_ID, 290 public static final int CONTACT_ID = 0; field in AggregationSuggestionEngine.DataQuery 330 DataQuery.COLUMNS, sb.toString(), null, Data.CONTACT_ID); in loadAggregationSuggestions() 390 suggestion.contactId = mDataCursor.getLong(DataQuery.CONTACT_ID); in getSuggestions()
|