Home
last modified time | relevance | path

Searched refs:RAW_CONTACT_ID (Results 1 – 25 of 53) sorted by relevance

123

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java51 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/
DContactAggregator2.java251 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 …]
DAbstractContactAggregator.java378 " 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 …]
DContactAggregator.java261 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/
DDataRowHandler.java50 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()
DContactsDatabaseHelper.java519 + 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 …]
DLegacyApiSupport.java146 " 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 …]
DDataRowHandlerForPhoneNumber.java70 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()
DDataRowHandlerForIdentity.java54 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update()
67 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in delete()
DDataRowHandlerForGroupMembership.java63 + " 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);
DDataRowHandlerForNickname.java57 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update()
77 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete()
DContactsProvider2.java432 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 …]
DDataRowHandlerForEmail.java60 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update()
75 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete()
DDataRowHandlerForPhoto.java80 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update()
132 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete()
DDataRowHandlerForOrganization.java63 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/
DBaseContactsProvider2Test.java250 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/
DPickRawContactLoader.java46 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/
DContactDataHandler.java103 .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/
DGroupMembersAdapter.java42 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/
DContactsPopulator.java202 .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/
DSimContacts.java166 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/
DContactUtilTest.java78 .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/
DSplitAggregateView.java57 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/
DContactTestUtils.java81 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/
DRawContactDelta.java493 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()

123