Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1244 public static Intent createSplitContactIntent(Context context, long[][] rawContactIds, in createSplitContactIntent() argument
1248 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds); in createSplitContactIntent()
1258 public static Intent createHardSplitContactIntent(Context context, long[][] rawContactIds) { in createHardSplitContactIntent() argument
1261 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds); in createHardSplitContactIntent()
1267 final long rawContactIds[][] = (long[][]) intent in splitContact() local
1271 if (rawContactIds == null) { in splitContact()
1281 for (int i = 0; i < rawContactIds.length; i++) { in splitContact()
1282 for (int j = 0; j < rawContactIds.length; j++) { in splitContact()
1284 if (!buildSplitTwoContacts(operations, rawContactIds[i], rawContactIds[j], in splitContact()
1413 final long rawContactIds[] = getRawContactIdsForAggregation(contactIds); in joinSeveralContacts() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DUpdateGroupMembersAsyncTask.java61 final long[] rawContactIds = getRawContactIds(); in doInBackground() local
62 if (rawContactIds.length == 0) { in doInBackground()
69 rawContactIdsToAdd = rawContactIds; in doInBackground()
74 rawContactIdsToRemove = rawContactIds; in doInBackground()
109 final long[] rawContactIds = new long[cursor.getCount()]; in getRawContactIds() local
113 rawContactIds[i] = cursor.getLong(0); in getRawContactIds()
119 return rawContactIds; in getRawContactIds()
/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/util/
DContactAggregatorHelper.java44 final Map<Integer, Set<Long>> rawContactIds = new ArrayMap<>(); in mergeComponentsWithDisjointAccounts() local
50 rawContactIds.put(index, rIds); in mergeComponentsWithDisjointAccounts()
68 final Set<Long> rIdSet = rawContactIds.get(i); in mergeComponentsWithDisjointAccounts()
71 rawContactIds.remove(i); in mergeComponentsWithDisjointAccounts()
81 Set<Long> ids = rawContactIds.get(Iterables.getOnlyElement(s)); in mergeComponentsWithDisjointAccounts()
DRawContactMatcher.java287 ArrayList<Long> rawContactIds = null; in prepareSecondaryMatchCandidates() local
296 if (rawContactIds == null) { in prepareSecondaryMatchCandidates()
297 rawContactIds = new ArrayList<>(); in prepareSecondaryMatchCandidates()
299 rawContactIds.add(score.getRawContactId()); in prepareSecondaryMatchCandidates()
303 return rawContactIds; in prepareSecondaryMatchCandidates()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java460 final long[] rawContactIds; in aggregateInTransaction() local
467 rawContactIds = new long[actualCount]; in aggregateInTransaction()
473 rawContactIds[index] = c.getLong(AggregationQuery._ID); in aggregateInTransaction()
487 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction()
828 String rawContactIds = TextUtils.join(",", rawContactIdSet); in findConnectedRawContacts() local
829 findIdPairs(db, buildExceptionMatchingSql(rawContactIds, rawContactIds), in findConnectedRawContacts()
831 findIdPairs(db, buildIdentityMatchingSql(rawContactIds, rawContactIds, in findConnectedRawContacts()
833 findIdPairs(db, buildEmailMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
835 findIdPairs(db, buildPhoneMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
869 TransactionContext txContext, Set<Long> rawContactIds, Long contactId) { in createContactForRawContacts() argument
[all …]
DContactAggregator2.java247 private void clearSuperPrimarySetting(SQLiteDatabase db, String rawContactIds) { in clearSuperPrimarySetting() argument
251 Data.RAW_CONTACT_ID + " IN (" + rawContactIds + ") group by " + in clearSuperPrimarySetting()
282 " IN (" + rawContactIds + ")"; in clearSuperPrimarySetting()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java293 public void updateIndexForRawContacts(Set<Long> contactIds, Set<Long> rawContactIds) { in updateIndexForRawContacts() argument
296 " contacts / " + rawContactIds.size() + " raw contacts"); in updateIndexForRawContacts()
306 if (!rawContactIds.isEmpty()) { in updateIndexForRawContacts()
318 sb.append(TextUtils.join(",", rawContactIds)); in updateIndexForRawContacts()
DContactsDatabaseHelper.java2952 final long[] rawContactIds; in upgradeToVersion702() local
2968 rawContactIds = new long[count]; in upgradeToVersion702()
2976 rawContactIds[i] = c.getLong(1); in upgradeToVersion702()
3013 String.valueOf(rawContactIds[i]), in upgradeToVersion702()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsRequest.java218 public void setRawContactIds(ArrayList<String> rawContactIds) { in setRawContactIds() argument
219 mRawContactIds = rawContactIds; in setRawContactIds()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java262 final long[][] rawContactIds = getRawContactIds(); in onSplitContactConfirmed() local
263 final Intent intent = ContactSaveService.createHardSplitContactIntent(this, rawContactIds); in onSplitContactConfirmed()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java397 public void setJoinWithRawContacts(long[] rawContactIds) { in setJoinWithRawContacts() argument
398 mJoinWithRawContactIds = rawContactIds; in setJoinWithRawContacts()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java1649 public void doJoinSuggestedContact(long[] rawContactIds) { in doJoinSuggestedContact() argument
1654 mState.setJoinWithRawContacts(rawContactIds); in doJoinSuggestedContact()