/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
D | Cp2DefaultDirectoryPhoneLookup.java | 210 contactIds -> contactsUpdated(contactIds, lastModified), in isDirty() 264 Set<Long> contactIds = new ArraySet<>(); 266 contactIds.addAll(ids); 268 return contactIds; 277 Set<Long> contactIds = new ArraySet<>(); 294 return contactIds; 310 contactIds.add(info.getContactId()); 315 return contactIds; 323 Set<Long> contactIds = new ArraySet<>(); 325 return contactIds; [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactMultiDeletionInteraction.java | 95 Fragment hostFragment, TreeSet<Long> contactIds) { in start() argument 96 if (contactIds == null) { in start() 105 fragment.setContactIds(contactIds); in start() 109 fragment.setContactIds(contactIds); in start() 130 public void setContactIds(TreeSet<Long> contactIds) { in setContactIds() argument 131 mContactIds = contactIds; in setContactIds() 166 final TreeSet<Long> contactIds = (TreeSet<Long>) args.getSerializable(ARG_CONTACT_IDS); in onCreateLoader() local 167 final Object[] parameterObject = contactIds.toArray(); in onCreateLoader() 168 final String[] parameters = new String[contactIds.size()]; in onCreateLoader() 171 for (int i = 0; i < contactIds.size(); i++) { in onCreateLoader() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1185 long[] contactIds, final String[] names) { in createDeleteMultipleContactsIntent() argument 1188 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds); in createDeleteMultipleContactsIntent() 1204 final long[] contactIds = intent.getLongArrayExtra(EXTRA_CONTACT_IDS); in deleteMultipleContacts() local 1205 if (contactIds == null) { in deleteMultipleContacts() 1209 for (long contactId : contactIds) { in deleteMultipleContacts() 1216 if (contactIds.length != names.length || names.length == 0) { in deleteMultipleContacts() 1218 R.plurals.contacts_deleted_toast, contactIds.length); in deleteMultipleContacts() 1362 public static Intent createJoinSeveralContactsIntent(Context context, long[] contactIds, in createJoinSeveralContactsIntent() argument 1366 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds); in createJoinSeveralContactsIntent() 1375 public static Intent createJoinSeveralContactsIntent(Context context, long[] contactIds) { in createJoinSeveralContactsIntent() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupUtil.java | 186 final Long[] contactIds = set.toArray(new Long[set.size()]); in convertLongSetToLongArray() local 187 final long[] result = new long[contactIds.length]; in convertLongSetToLongArray() 188 for (int i = 0; i < contactIds.length; i++) { in convertLongSetToLongArray() 189 result[i] = contactIds[i]; in convertLongSetToLongArray() 195 final String[] contactIds = set.toArray(new String[set.size()]); in convertStringSetToLongArray() local 196 final long[] result = new long[contactIds.length]; in convertStringSetToLongArray() 197 for (int i = 0; i < contactIds.length; i++) { in convertStringSetToLongArray() 199 result[i] = Long.parseLong(contactIds[i]); in convertStringSetToLongArray()
|
D | GroupMembersFragment.java | 496 final long[] contactIds = getAdapter().getSelectedContactIdsArray(); in removeSelectedContacts() local 498 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in removeSelectedContacts() 511 long[] contactIds = data.getLongArrayExtra( in onActivityResult() local 513 if (contactIds == null) { in onActivityResult() 517 contactIds = new long[1]; in onActivityResult() 518 contactIds[0] = contactId; in onActivityResult() 523 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in onActivityResult() 814 final long[] contactIds = new long[1]; in onContactDeleteClicked() local 815 contactIds[0] = contactId; in onContactDeleteClicked() 817 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in onContactDeleteClicked()
|
D | UpdateGroupMembersAsyncTask.java | 48 public UpdateGroupMembersAsyncTask(int type, Context context, long[] contactIds, in UpdateGroupMembersAsyncTask() argument 52 mContactIds = contactIds; in UpdateGroupMembersAsyncTask()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItemMutator.java | 414 Set<String> contactIds = new ArraySet<>(); in getSpeedDialUiItemsFromEntries() local 415 entries.forEach(entry -> contactIds.add(Long.toString(entry.contactId()))); in getSpeedDialUiItemsFromEntries() 416 if (contactIds.isEmpty()) { in getSpeedDialUiItemsFromEntries() 423 Selection.builder().and(Selection.column(Phone.CONTACT_ID).in(contactIds)).build(); in getSpeedDialUiItemsFromEntries() 497 Set<String> contactIds = new ArraySet<>(); in getStarredContacts() local 525 contactIds.add(Long.toString(cursor.getLong(0))); in getStarredContacts() 530 selection = Selection.builder().and(Selection.column(Phone.CONTACT_ID).in(contactIds)).build(); in getStarredContacts() 590 Set<Long> contactIds = new ArraySet<>(); in updatePinnedPosition() local 592 if (contactIds.add(item.contactId())) { in updatePinnedPosition()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | ContactMatcher.java | 285 ArrayList<Long> contactIds = null; in prepareSecondaryMatchCandidates() local 295 if (contactIds == null) { in prepareSecondaryMatchCandidates() 296 contactIds = new ArrayList<Long>(); in prepareSecondaryMatchCandidates() 298 contactIds.add(score.getContactId()); in prepareSecondaryMatchCandidates() 302 return contactIds; in prepareSecondaryMatchCandidates()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | SearchIndexManager.java | 293 public void updateIndexForRawContacts(Set<Long> contactIds, Set<Long> rawContactIds) { in updateIndexForRawContacts() argument 295 Log.v(TAG, "Updating search index for " + contactIds.size() + in updateIndexForRawContacts() 300 if (!contactIds.isEmpty()) { in updateIndexForRawContacts() 303 sb.append(TextUtils.join(",", contactIds)); in updateIndexForRawContacts() 307 if (!contactIds.isEmpty()) { in updateIndexForRawContacts()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactSelectionActivity.java | 364 final ArrayList<String> contactIds = getIntent().getStringArrayListExtra( in configureListFragment() local 367 accountName, accountType, accountDataSet, contactIds); in configureListFragment() 490 final long[] contactIds = in updateAddContactsButton() 492 returnSelectedContacts(contactIds); in updateAddContactsButton() 589 private void returnSelectedContacts(long[] contactIds) { in returnSelectedContacts() argument 591 intent.putExtra(UiIntentActions.TARGET_CONTACT_IDS_EXTRA_KEY, contactIds); in returnSelectedContacts()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | GroupMemberPickerFragment.java | 174 String accountDataSet, ArrayList<String> contactIds) { in newInstance() argument 179 args.putStringArrayList(ARG_CONTACT_IDS, contactIds); in newInstance()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 460 final long[] contactIds; in aggregateInTransaction() local 467 contactIds = new long[actualCount]; in aggregateInTransaction() 473 contactIds[index] = c.getLong(AggregationQuery.CONTACT_ID); in aggregateInTransaction() 486 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction() 1961 Set<Long> contactIds = new ArraySet<>(); in queryAggregationSuggestions() local 1964 if (!contactIds.contains(cid) && cid != contactId) { in queryAggregationSuggestions() 1966 contactIds.add(cid); in queryAggregationSuggestions()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationUtils.java | 1756 ArrayList<Long> contactIds = new ArrayList<Long>(); in findContacts() local 1758 return contactIds; in findContacts() 1762 contactIds.add(c.getLong(0)); in findContacts() 1767 return contactIds; in findContacts() 1775 final List<Long> contactIds = findContacts(context, Arrays.asList( in getContactInfo() local 1778 if (contactIds != null) { in getContactInfo() 1779 for (final long id : contactIds) { in getContactInfo()
|