Home
last modified time | relevance | path

Searched refs:rawContactIds (Results 1 – 14 of 14) 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/util/
DContactAggregatorHelper.java43 final Map<Integer, Set<Long>> rawContactIds = new HashMap<>(); in mergeComponentsWithDisjointAccounts() local
49 rawContactIds.put(index, rIds); in mergeComponentsWithDisjointAccounts()
67 final Set<Long> rIdSet = rawContactIds.get(i); in mergeComponentsWithDisjointAccounts()
70 rawContactIds.remove(i); in mergeComponentsWithDisjointAccounts()
80 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/apps/Contacts/src/com/android/contacts/editor/
DJoinSuggestedContactDialogFragment.java31 public static void show(ContactEditorBaseFragment fragment, long[] rawContactIds) { in show() argument
33 args.putLongArray(ARG_RAW_CONTACT_IDS, rawContactIds); in show()
52 long rawContactIds[] = in onCreateDialog() local
54 targetFragment.doJoinSuggestedContact(rawContactIds); in onCreateDialog()
DAggregationSuggestionView.java147 ArrayList<Long> rawContactIds = Lists.newArrayList(); in handleItemClickEvent() local
149 rawContactIds.add(rawContact.rawContactId); in handleItemClickEvent()
151 mListener.onJoinAction(mContactId, rawContactIds); in handleItemClickEvent()
DContactEditorBaseFragment.java1630 final long rawContactIds[] = new long[rawContactIdList.size()]; in onJoinAction() local
1631 for (int i = 0; i < rawContactIds.length; i++) { in onJoinAction()
1632 rawContactIds[i] = rawContactIdList.get(i); in onJoinAction()
1635 JoinSuggestedContactDialogFragment.show(this, rawContactIds); in onJoinAction()
1645 protected void doJoinSuggestedContact(long[] rawContactIds) { in doJoinSuggestedContact() argument
1650 mState.setJoinWithRawContacts(rawContactIds); in doJoinSuggestedContact()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1178 long rawContactIds[] = getRawContactIdsForAggregation(contactIds); in joinSeveralContacts() local
1179 if (rawContactIds == null) { in joinSeveralContacts()
1189 for (int i = 0; i < rawContactIds.length; i++) { in joinSeveralContacts()
1190 for (int j = 0; j < rawContactIds.length; j++) { in joinSeveralContacts()
1192 buildJoinContactDiff(operations, rawContactIds[i], rawContactIds[j]); in joinSeveralContacts()
1229 long rawContactIds[] = getRawContactIdsForAggregation(contactId1, contactId2); in joinContacts() local
1230 if (rawContactIds == null) { in joinContacts()
1238 for (int i = 0; i < rawContactIds.length; i++) { in joinContacts()
1239 for (int j = 0; j < rawContactIds.length; j++) { in joinContacts()
1241 buildJoinContactDiff(operations, rawContactIds[i], rawContactIds[j]); in joinContacts()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java458 final long[] rawContactIds; in aggregateInTransaction() local
465 rawContactIds = new long[actualCount]; in aggregateInTransaction()
471 rawContactIds[index] = c.getLong(AggregationQuery._ID); in aggregateInTransaction()
485 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction()
826 String rawContactIds = TextUtils.join(",", rawContactIdSet); in findConnectedRawContacts() local
827 findIdPairs(db, buildExceptionMatchingSql(rawContactIds, rawContactIds), in findConnectedRawContacts()
829 findIdPairs(db, buildIdentityMatchingSql(rawContactIds, rawContactIds, in findConnectedRawContacts()
831 findIdPairs(db, buildEmailMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
833 findIdPairs(db, buildPhoneMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts()
867 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.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.java4187 final long[] rawContactIds; in upgradeToVersion702() local
4203 rawContactIds = new long[count]; in upgradeToVersion702()
4211 rawContactIds[i] = c.getLong(1); in upgradeToVersion702()
4248 String.valueOf(rawContactIds[i]), in upgradeToVersion702()
DContactsProvider2.java9767 final Set<Long> rawContactIds = new HashSet<>(); in handleDataUsageFeedback() local
9776 rawContactIds.add(rid); in handleDataUsageFeedback()
9783 final String rids = TextUtils.join(",", rawContactIds); in handleDataUsageFeedback()
/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.java507 public void setJoinWithRawContacts(long[] rawContactIds) { in setJoinWithRawContacts() argument
508 mJoinWithRawContactIds = rawContactIds; in setJoinWithRawContacts()