Home
last modified time | relevance | path

Searched refs:rawContactIds (Results 1 – 9 of 9) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DContactsTableUtil.java73 Set<Long> rawContactIds) { in updateContactLastUpdateByRawContactId() argument
74 if (rawContactIds.isEmpty()) { in updateContactLastUpdateByRawContactId()
78 db.execSQL(buildUpdateLastUpdateSql(rawContactIds)); in updateContactLastUpdateByRawContactId()
87 private static String buildUpdateLastUpdateSql(Set<Long> rawContactIds) { in buildUpdateLastUpdateSql() argument
100 + " IN (" + TextUtils.join(",", rawContactIds) + ") " in buildUpdateLastUpdateSql()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java462 final long[] rawContactIds; in aggregateInTransaction() local
469 rawContactIds = new long[actualCount]; in aggregateInTransaction()
475 rawContactIds[index] = c.getLong(AggregationQuery._ID); in aggregateInTransaction()
489 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction()
1197 String rawContactIds = TextUtils.join(",", rawContactIdSet); in findConnectedRawContacts() local
1198 findIdPairs(db, buildExceptionMatchingSql(rawContactIds, rawContactIds), in findConnectedRawContacts()
1200 findIdPairs(db, buildIdentityMatchingSql(rawContactIds, rawContactIds, in findConnectedRawContacts()
1202 findIdPairs(db, buildEmailMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
1204 findIdPairs(db, buildPhoneMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
1267 Set<Long> rawContactIds, Long contactId) { in createContactForRawContacts() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1024 long rawContactIds[]; in joinContacts() local
1031 rawContactIds = new long[c.getCount()]; in joinContacts()
1032 for (int i = 0; i < rawContactIds.length; i++) { in joinContacts()
1035 rawContactIds[i] = rawContactId; in joinContacts()
1046 for (int i = 0; i < rawContactIds.length; i++) { in joinContacts()
1064 for (int i = 0; i < rawContactIds.length; i++) { in joinContacts()
1065 for (int j = 0; j < rawContactIds.length; j++) { in joinContacts()
1067 buildJoinContactDiff(operations, rawContactIds[i], rawContactIds[j]); in joinContacts()
1098 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactIds[0])); in joinContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java289 public void updateIndexForRawContacts(Set<Long> contactIds, Set<Long> rawContactIds) { in updateIndexForRawContacts() argument
292 " contacts / " + rawContactIds.size() + " raw contacts"); in updateIndexForRawContacts()
302 if (!rawContactIds.isEmpty()) { in updateIndexForRawContacts()
314 sb.append(TextUtils.join(",", rawContactIds)); in updateIndexForRawContacts()
DContactsDatabaseHelper.java3991 final long[] rawContactIds; in upgradeToVersion702() local
4007 rawContactIds = new long[count]; in upgradeToVersion702()
4015 rawContactIds[i] = c.getLong(1); in upgradeToVersion702()
4052 String.valueOf(rawContactIds[i]), in upgradeToVersion702()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java1697 long rawContactIds[] = new long[rawContactIdList.size()]; in onJoinAction() local
1698 for (int i = 0; i < rawContactIds.length; i++) { in onJoinAction()
1699 rawContactIds[i] = rawContactIdList.get(i); in onJoinAction()
1704 args.putLongArray("rawContactIds", rawContactIds); in onJoinAction()
1727 long rawContactIds[] = in onCreateDialog() local
1729 targetFragment.doJoinSuggestedContact(rawContactIds); in onCreateDialog()
1742 protected void doJoinSuggestedContact(long[] rawContactIds) {
1747 mState.setJoinWithRawContacts(rawContactIds);
DAggregationSuggestionView.java143 ArrayList<Long> rawContactIds = Lists.newArrayList(); in handleItemClickEvent() local
145 rawContactIds.add(rawContact.rawContactId); in handleItemClickEvent()
147 mListener.onJoinAction(mContactId, rawContactIds); in handleItemClickEvent()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java336 ArrayList<Long> rawContactIds = new ArrayList<Long>(); in queryForAllRawContactIds() local
343 rawContactIds.add(rawContactIdCursor.getLong(0)); in queryForAllRawContactIds()
351 return rawContactIds; in queryForAllRawContactIds()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactDeltaList.java387 public void setJoinWithRawContacts(long[] rawContactIds) { in setJoinWithRawContacts() argument
388 mJoinWithRawContactIds = rawContactIds; in setJoinWithRawContacts()