Home
last modified time | relevance | path

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

/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.java285 ArrayList<Long> rawContactIds = null; in prepareSecondaryMatchCandidates() local
294 if (rawContactIds == null) { in prepareSecondaryMatchCandidates()
295 rawContactIds = new ArrayList<>(); in prepareSecondaryMatchCandidates()
297 rawContactIds.add(score.getRawContactId()); in prepareSecondaryMatchCandidates()
301 return rawContactIds; in prepareSecondaryMatchCandidates()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1252 public static Intent createSplitContactIntent(Context context, long[][] rawContactIds, in createSplitContactIntent() argument
1256 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds); in createSplitContactIntent()
1266 public static Intent createHardSplitContactIntent(Context context, long[][] rawContactIds) { in createHardSplitContactIntent() argument
1269 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds); in createHardSplitContactIntent()
1275 final long rawContactIds[][] = (long[][]) intent in splitContact() local
1279 if (rawContactIds == null) { in splitContact()
1289 for (int i = 0; i < rawContactIds.length; i++) { in splitContact()
1290 for (int j = 0; j < rawContactIds.length; j++) { in splitContact()
1292 if (!buildSplitTwoContacts(operations, rawContactIds[i], rawContactIds[j], in splitContact()
1421 final long rawContactIds[] = getRawContactIdsForAggregation(contactIds); in joinSeveralContacts() local
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java456 final long[] rawContactIds; in aggregateInTransaction() local
463 rawContactIds = new long[actualCount]; in aggregateInTransaction()
469 rawContactIds[index] = c.getLong(AggregationQuery._ID); in aggregateInTransaction()
483 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction()
824 String rawContactIds = TextUtils.join(",", rawContactIdSet); in findConnectedRawContacts() local
825 findIdPairs(db, buildExceptionMatchingSql(rawContactIds, rawContactIds), in findConnectedRawContacts()
827 findIdPairs(db, buildIdentityMatchingSql(rawContactIds, rawContactIds, in findConnectedRawContacts()
829 findIdPairs(db, buildEmailMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
831 findIdPairs(db, buildPhoneMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
865 TransactionContext txContext, Set<Long> rawContactIds, Long contactId) { in createContactForRawContacts() argument
[all …]
DContactAggregator2.java245 private void clearSuperPrimarySetting(SQLiteDatabase db, String rawContactIds) { in clearSuperPrimarySetting() argument
249 Data.RAW_CONTACT_ID + " IN (" + rawContactIds + ") group by " + in clearSuperPrimarySetting()
280 " IN (" + rawContactIds + ")"; in clearSuperPrimarySetting()
/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/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java294 public void updateIndexForRawContacts(Set<Long> contactIds, Set<Long> rawContactIds) { in updateIndexForRawContacts() argument
297 " contacts / " + rawContactIds.size() + " raw contacts"); in updateIndexForRawContacts()
307 if (!rawContactIds.isEmpty()) { in updateIndexForRawContacts()
319 sb.append(TextUtils.join(",", rawContactIds)); in updateIndexForRawContacts()
DContactsDatabaseHelper.java2972 final long[] rawContactIds; in upgradeToVersion702() local
2988 rawContactIds = new long[count]; in upgradeToVersion702()
2996 rawContactIds[i] = c.getLong(1); in upgradeToVersion702()
3033 String.valueOf(rawContactIds[i]), in upgradeToVersion702()
DContactsProvider2.java4207 private int deleteRawContactsImmediately(SQLiteDatabase db, List<Long> rawContactIds) { in deleteRawContactsImmediately() argument
4208 if (rawContactIds == null || rawContactIds.isEmpty()) { in deleteRawContactsImmediately()
4214 StringBuilder whereClause = new StringBuilder(rawContactIds.size() * 2 - 1); in deleteRawContactsImmediately()
4216 whereArgs.add(String.valueOf(rawContactIds.get(0))); in deleteRawContactsImmediately()
4217 for (int i = 1; i < rawContactIds.size(); i++) { in deleteRawContactsImmediately()
4219 whereArgs.add(String.valueOf(rawContactIds.get(i))); in deleteRawContactsImmediately()
4232 for (Long rawContactId : rawContactIds) { in deleteRawContactsImmediately()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java263 final long[][] rawContactIds = getRawContactIds(); in onSplitContactConfirmed() local
264 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()