/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1244 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/ |
D | UpdateGroupMembersAsyncTask.java | 61 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/ |
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/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 459 final long[] rawContactIds; in aggregateInTransaction() local 466 rawContactIds = new long[actualCount]; in aggregateInTransaction() 472 rawContactIds[index] = c.getLong(AggregationQuery._ID); in aggregateInTransaction() 486 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction() 827 String rawContactIds = TextUtils.join(",", rawContactIdSet); in findConnectedRawContacts() local 828 findIdPairs(db, buildExceptionMatchingSql(rawContactIds, rawContactIds), in findConnectedRawContacts() 830 findIdPairs(db, buildIdentityMatchingSql(rawContactIds, rawContactIds, in findConnectedRawContacts() 832 findIdPairs(db, buildEmailMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts() 834 findIdPairs(db, buildPhoneMatchingSql(rawContactIds, rawContactIds, /* countOnly =*/false), in findConnectedRawContacts() 868 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 | 2951 final long[] rawContactIds; in upgradeToVersion702() local 2967 rawContactIds = new long[count]; in upgradeToVersion702() 2975 rawContactIds[i] = c.getLong(1); in upgradeToVersion702() 3012 String.valueOf(rawContactIds[i]), in upgradeToVersion702()
|
D | ContactsProvider2.java | 9869 final Set<Long> rawContactIds = new HashSet<>(); in handleDataUsageFeedback() local 9877 rawContactIds.add(rid); in handleDataUsageFeedback() 9884 final String rids = TextUtils.join(",", rawContactIds); in handleDataUsageFeedback()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsRequest.java | 218 public void setRawContactIds(ArrayList<String> rawContactIds) { in setRawContactIds() argument 219 mRawContactIds = rawContactIds; in setRawContactIds()
|
/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/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorSpringBoardActivity.java | 262 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/ |
D | RawContactDeltaList.java | 397 public void setJoinWithRawContacts(long[] rawContactIds) { in setJoinWithRawContacts() argument 398 mJoinWithRawContactIds = rawContactIds; in setJoinWithRawContacts()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 1601 public void doJoinSuggestedContact(long[] rawContactIds) { in doJoinSuggestedContact() argument 1606 mState.setJoinWithRawContacts(rawContactIds); in doJoinSuggestedContact()
|