/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 51 private static final long RAW_CONTACT_ID = 11; field in ContactLoaderTest 118 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactIdUri() 123 assertEquals(RAW_CONTACT_ID, contact.getNameRawContactId()); in testLoadContactWithContactIdUri() 135 Uri.parse("content://contacts"), RAW_CONTACT_ID); in testLoadContactWithOldStyleUri() 137 RawContacts.CONTENT_URI, RAW_CONTACT_ID); in testLoadContactWithOldStyleUri() 146 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri() 151 assertEquals(RAW_CONTACT_ID, contact.getNameRawContactId()); in testLoadContactWithOldStyleUri() 167 RawContacts.CONTENT_URI, RAW_CONTACT_ID); in testLoadContactWithRawContactIdUri() 177 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri() 182 assertEquals(RAW_CONTACT_ID, contact.getNameRawContactId()); in testLoadContactWithRawContactIdUri() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2.java | 251 Data.RAW_CONTACT_ID + " IN (" + rawContactIds + ") group by " + in clearSuperPrimarySetting() 281 " WHERE " + Data.RAW_CONTACT_ID + in clearSuperPrimarySetting() 472 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID); in updateAggregationAfterVisibilityChange() 564 final long rId = c.getLong(IdentityLookupMatchQuery.RAW_CONTACT_ID); in updateMatchScoresBasedOnIdentityMatch() 588 long rId = c.getLong(NameLookupMatchQuery.RAW_CONTACT_ID); in updateMatchScoresBasedOnNameMatches() 618 long rId = c.getLong(EmailLookupQuery.RAW_CONTACT_ID); in updateMatchScoresBasedOnEmailMatches() 649 long rId = c.getLong(NameLookupMatchQueryWithParameter.RAW_CONTACT_ID); in updateMatchScoresBasedOnNameMatches() 689 long rId = c.getLong(PhoneLookupQuery.RAW_CONTACT_ID); in updateMatchScoresBasedOnPhoneMatches() 741 int RAW_CONTACT_ID = 0; field 759 Long rawContactId = c.getLong(ContactNameLookupQuery.RAW_CONTACT_ID); in matchAllCandidates() [all …]
|
D | AbstractContactAggregator.java | 378 " WHERE " + PresenceColumns.RAW_CONTACT_ID + "=?"); in AbstractContactAggregator() 740 String SELECT_ID = "SELECT d1." + Data.RAW_CONTACT_ID + ",d2." + Data.RAW_CONTACT_ID; 759 " AND d1." + Data.RAW_CONTACT_ID + " IN (" + rawContactIdSet1 + ")" + in buildIdentityMatchingSql() 760 " AND d2." + Data.RAW_CONTACT_ID + " IN (" + rawContactIdSet2 + ")"; in buildIdentityMatchingSql() 774 " AND d1." + Data.RAW_CONTACT_ID + " IN (" + rawContactIdSet1 + ")" + in buildEmailMatchingSql() 775 " AND d2." + Data.RAW_CONTACT_ID + " IN (" + rawContactIdSet2 + ")"; in buildEmailMatchingSql() 795 " AND d1." + Data.RAW_CONTACT_ID + " IN (" + rawContactIdSet1 + ")" + in buildPhoneMatchingSql() 796 " AND d2." + Data.RAW_CONTACT_ID + " IN (" + rawContactIdSet2 + ")" + in buildPhoneMatchingSql() 893 public static final int RAW_CONTACT_ID = 0; field in AbstractContactAggregator.RawContactIdQuery 991 String SELECTION = NameLookupColumns.RAW_CONTACT_ID + "=?"; [all …]
|
D | ContactAggregator.java | 261 Data.RAW_CONTACT_ID + " IN (SELECT " + RawContacts._ID + " FROM " + in clearSuperPrimarySetting() 265 Data.RAW_CONTACT_ID + "=?2) AS b" + in clearSuperPrimarySetting() 289 " WHERE (" + Data.RAW_CONTACT_ID + in clearSuperPrimarySetting() 292 " OR " + Data.RAW_CONTACT_ID + "=?2)"; in clearSuperPrimarySetting() 487 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID); in updateAggregationAfterVisibilityChange() 692 " ON (dataB." + Data.RAW_CONTACT_ID + " = " 695 final String SELECTION = "dataA." + Data.RAW_CONTACT_ID + "=?1" 737 " ON (nameB." + NameLookupColumns.RAW_CONTACT_ID + " = " 740 String SELECTION = "nameA." + NameLookupColumns.RAW_CONTACT_ID + "=?" 922 long rawContactId = c.getLong(RawContactIdQuery.RAW_CONTACT_ID); in findMatchingContacts()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 50 Data.RAW_CONTACT_ID, 58 Data.RAW_CONTACT_ID, 65 public static final int RAW_CONTACT_ID = 2; field 71 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE }; 74 int RAW_CONTACT_ID = 1; field 158 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 315 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() 320 db.delete(Tables.PRESENCE, PresenceColumns.RAW_CONTACT_ID + "=?", mSelectionArgs1); in delete() 339 Data.RAW_CONTACT_ID + "=?" + in fixPrimary()
|
D | ContactsDatabaseHelper.java | 519 + Data.RAW_CONTACT_ID; 549 public static final String RAW_CONTACT_ID = Data.RAW_CONTACT_ID; field 578 public static final String RAW_CONTACT_ID = "raw_contact_id"; field 584 public static final String RAW_CONTACT_ID = "raw_contact_id"; field 624 String RAW_CONTACT_ID = "presence_raw_contact_id"; field 664 Tables.STREAM_ITEMS + "." + StreamItems.RAW_CONTACT_ID; 772 Email.RAW_CONTACT_ID, 776 public static final int RAW_CONTACT_ID = 1; field 788 StructuredName.RAW_CONTACT_ID, 793 public static final int RAW_CONTACT_ID = 1; field [all …]
|
D | LegacyApiSupport.java | 146 " WHERE people._id = " + PresenceColumns.RAW_CONTACT_ID + ")" + 506 "SELECT " + Data.RAW_CONTACT_ID + in LegacyApiSupport() 579 Data.RAW_CONTACT_ID in createViews() 837 mValues2.put(Data.RAW_CONTACT_ID, rawContactId); in insertPeople() 841 mValues3.put(Data.RAW_CONTACT_ID, rawContactId); in insertPeople() 850 ContactsDatabaseHelper.copyLongValue(mValues, Data.RAW_CONTACT_ID, in insertOrganization() 860 mValues.put(Data.RAW_CONTACT_ID, rawContactId); in insertPhone() 875 mValues.put(Data.RAW_CONTACT_ID, rawContactId); in insertContactMethod() 883 mValues.put(Data.RAW_CONTACT_ID, rawContactId); in insertExtension() 908 mValues.put(GroupMembership.RAW_CONTACT_ID, rawContactId); in insertGroupMembership() [all …]
|
D | DataRowHandlerForPhoneNumber.java | 70 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 103 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() 122 phoneValues.put(PhoneLookupColumns.RAW_CONTACT_ID, rawContactId); in updatePhoneLookup()
|
D | DataRowHandlerForIdentity.java | 54 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 67 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in delete()
|
D | DataRowHandlerForGroupMembership.java | 63 + " AND " + Tables.DATA + "." + GroupMembership.RAW_CONTACT_ID + "=?" 90 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 125 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
|
D | DataRowHandlerForNickname.java | 57 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 77 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete()
|
D | ContactsProvider2.java | 432 INSERT_URI_ID_VALUE_MAP.put(DATA, Data.RAW_CONTACT_ID); in INSERT_URI_ID_VALUE_MAP.put() argument 433 INSERT_URI_ID_VALUE_MAP.put(RAW_CONTACTS_ID_DATA, Data.RAW_CONTACT_ID); in INSERT_URI_ID_VALUE_MAP.put() argument 435 INSERT_URI_ID_VALUE_MAP.put(STREAM_ITEMS, StreamItems.RAW_CONTACT_ID); in INSERT_URI_ID_VALUE_MAP.put() argument 436 INSERT_URI_ID_VALUE_MAP.put(RAW_CONTACTS_ID_STREAM_ITEMS, StreamItems.RAW_CONTACT_ID); in INSERT_URI_ID_VALUE_MAP.put() argument 472 + "AND " + GroupMembership.RAW_CONTACT_ID + "=?"; 495 public static final int RAW_CONTACT_ID = 0; field 595 Data.RAW_CONTACT_ID, 843 .add(Contacts.Entity.RAW_CONTACT_ID) 869 .add(Data.RAW_CONTACT_ID) 1045 .add(PresenceColumns.RAW_CONTACT_ID) [all …]
|
D | DataRowHandlerForEmail.java | 60 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 75 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete()
|
D | DataRowHandlerForPhoto.java | 80 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 132 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete()
|
D | DataRowHandlerForOrganization.java | 63 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() 97 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 250 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertOrganization() 285 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertPhoneNumber() 321 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertEmail() 343 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertSipAddress() 356 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertNickname() 367 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertPostalAddress() 376 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertPostalAddress() 384 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertPhoto() 393 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertPhoto() 402 values.put(Data.RAW_CONTACT_ID, rawContactId); in insertGroupMembership() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactLoader.java | 46 private static final int RAW_CONTACT_ID = 3; field in PickRawContactLoader 51 ContactsContract.Data.RAW_CONTACT_ID + " IN ("; 113 rawContact.id = rawContactCursor.getLong(RAW_CONTACT_ID); in loadInBackground() 138 new String[] {Data.RAW_CONTACT_ID, Contacts.Photo._ID}, in loadInBackground()
|
/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/testdata/ |
D | ContactDataHandler.java | 103 .withValue(ContactsContract.Data.RAW_CONTACT_ID, id) in addOneContact() 111 .withValue(ContactsContract.Data.RAW_CONTACT_ID, id) in addOneContact() 121 .withValue(ContactsContract.Data.RAW_CONTACT_ID, id) in addOneContact()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersAdapter.java | 42 Data.RAW_CONTACT_ID, 52 Data.RAW_CONTACT_ID, 61 public static final int RAW_CONTACT_ID = 1; field in GroupMembersAdapter.GroupMembersQuery
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 202 .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, index) in addContact() 214 .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, index) in addContact() 227 .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, index) in addContact() 240 .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, index) in addContact()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 166 builder.withValueBackReference(StructuredName.RAW_CONTACT_ID, 0); in actuallyImportOneSimContact() 172 builder.withValueBackReference(Phone.RAW_CONTACT_ID, 0); in actuallyImportOneSimContact() 182 builder.withValueBackReference(Email.RAW_CONTACT_ID, 0); in actuallyImportOneSimContact() 192 builder.withValueBackReference(GroupMembership.RAW_CONTACT_ID, 0); in actuallyImportOneSimContact()
|
/packages/apps/Messaging/tests/src/com/android/messaging/util/ |
D | ContactUtilTest.java | 78 .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, 0) in addTestContact() 86 .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, 0) in addTestContact() 97 .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, 0) in addTestContact()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 57 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID, 65 int RAW_CONTACT_ID = 3; field 165 long rawContactId = cursor.getLong(SplitQuery.RAW_CONTACT_ID); in loadData()
|
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/ |
D | ContactTestUtils.java | 81 values.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId); in insertStructuredName() 91 values.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId); in insertPhoneNumber()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactDelta.java | 493 builder.withValueBackReference(Data.RAW_CONTACT_ID, firstIndex); in buildDiff() 496 builder.withValue(Data.RAW_CONTACT_ID, beforeId); in buildDiff() 566 bw.getBuilder().withValueBackReference(Data.RAW_CONTACT_ID, firstIndex); in buildDiffWrapper() 569 bw.getBuilder().withValue(Data.RAW_CONTACT_ID, beforeId); in buildDiffWrapper()
|