/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
D | ContactsTableUtil.java | 73 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/ |
D | ContactAggregatorHelper.java | 43 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()
|
D | RawContactMatcher.java | 287 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/ |
D | JoinSuggestedContactDialogFragment.java | 31 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()
|
D | AggregationSuggestionView.java | 147 ArrayList<Long> rawContactIds = Lists.newArrayList(); in handleItemClickEvent() local 149 rawContactIds.add(rawContact.rawContactId); in handleItemClickEvent() 151 mListener.onJoinAction(mContactId, rawContactIds); in handleItemClickEvent()
|
D | ContactEditorBaseFragment.java | 1630 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/ |
D | ContactSaveService.java | 1178 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/ |
D | AbstractContactAggregator.java | 458 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 …]
|
D | ContactAggregator2.java | 247 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/ |
D | SearchIndexManager.java | 289 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()
|
D | ContactsDatabaseHelper.java | 4187 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()
|
D | ContactsProvider2.java | 9767 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/ |
D | ContactsUtils.java | 336 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/ |
D | RawContactDeltaList.java | 507 public void setJoinWithRawContacts(long[] rawContactIds) { in setJoinWithRawContacts() argument 508 mJoinWithRawContactIds = rawContactIds; in setJoinWithRawContacts()
|