Home
last modified time | relevance | path

Searched refs:getContactId (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/util/
DContactRecipientEntryUtils.java81 if (entry.getContactId() == CONTACT_ID_SENDTO_DESTINATION) { in getDisplayNameForContactList()
99 return entry.getContactId() == CONTACT_ID_NUMBER_WITH_AVATAR; in isAvatarAndNumberOnlyContact()
106 return entry.getContactId() == CONTACT_ID_SENDTO_DESTINATION; in isSendToDestinationContact()
113 return participant.getContactId() == CONTACT_ID_SENDTO_DESTINATION; in isSendToDestinationContact()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DRawContactMatchingCandidates.java60 mRawContactToContact.put(score.getRawContactId(), score.getContactId()); in add()
78 public Long getContactId(Long rawContactId) { in getContactId() method in RawContactMatchingCandidates
96 mBestMatches.get(i).getContactId()); in createRawContactToContactMap()
DContactMatcher.java298 contactIds.add(score.getContactId()); in prepareSecondaryMatchCandidates()
321 return score.getContactId(); in pickBestMatch()
335 if ((s > maxScore) || ((s == maxScore) && (contactId > score.getContactId()))) { in pickBestMatch()
336 contactId = score.getContactId(); in pickBestMatch()
DMatchScore.java70 public long getContactId() { in getContactId() method in MatchScore
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGlobalSearchSupportTest.java197 values.put("_id", contact.getContactId()); in getContactValues()
203 Contacts.getLookupUri(contact.getContactId(), contact.getLookupKey()) in getContactValues()
216 values.put("_id", contact.getContactId()); in getRefreshValues()
261 Cursor c = refreshQuery(String.valueOf(contact.getContactId())); in testContactIdQsbRefresh()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java518 long contactId = mDbHelper.getContactId(rawContactId); in triggerAggregation()
1623 long contactId = mDbHelper.getContactId(rawContactId); in updatePhotoId()
1778 long contactId = mDbHelper.getContactId(rawContactId); in updateDisplayNameForRawContact()
1832 long contactId = mDbHelper.getContactId(rawContactId); in updateHasPhoneNumber()
1874 long contactId = mDbHelper.getContactId(rawContactId); in updateLookupKeyForRawContact()
1921 long contactId = mDbHelper.getContactId(rawContactId); in updateStarred()
1935 long contactId = mDbHelper.getContactId(rawContactId); in updateSendToVoicemail()
1949 long contactId = mDbHelper.getContactId(rawContactId); in updatePinned()
1970 long cid = bestMatch.getContactId(); in queryAggregationSuggestions()
2005 sb.append(matchScore.getContactId()); in queryMatchingContacts()
[all …]
DContactAggregator2.java344 Long cid = matchingCandidates.getContactId(connectedRawContactId); in reAggregateRawContacts()
355 Long currentContactId = matchingCandidates.getContactId(connectedRawContactId); in reAggregateRawContacts()
480 markContactForAggregation(db, matchScore.getContactId()); in updateAggregationAfterVisibilityChange()
489 markContactForAggregation(db, matchScore.getContactId()); in updateAggregationAfterVisibilityChange()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsAdapter.java139 contactViewHolder.bind(header, name, contactUri, getContactId(cursor), showHeader); in onBindViewHolder()
196 long contactId = getContactId(cursor); in getContactUri()
201 private static long getContactId(Cursor cursor) { in getContactId() method in ContactsAdapter
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantListItemData.java43 mContactId = participant.getContactId(); in ParticipantListItemData()
76 public long getContactId() { in getContactId() method in ParticipantListItemData
DContactListItemData.java128 public long getContactId() { in getContactId() method in ContactListItemData
129 return mRecipientEntry.getContactId(); in getContactId()
DPersonItemData.java41 public abstract long getContactId(); in getContactId() method in PersonItemData
DParticipantData.java184 pd.mContactId = recipientEntry.getContactId(); in getFromRecipientEntry()
351 public long getContactId() { in getContactId() method in ParticipantData
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DDialerShortcut.java44 abstract long getContactId(); in getContactId() method in DialerShortcut
137 return Contacts.getLookupUri(getContactId(), getLookupKey()); in getLookupUri()
DShortcutInfoFactory.java67 intent.putExtra(EXTRA_CONTACT_ID, shortcut.getContactId()); in buildShortcutInfos()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2DefaultDirectoryPhoneLookup.java310 contactIds.add(info.getContactId());
611 long existingContactId = cp2ContactInfo.getContactId();
621 contactIds.add(cp2ContactInfo.getContactId());
890 contactIds.add(cp2ContactInfo.getContactId());
947 if (cp2ContactInfo.getContactId() == contactId) {
/packages/apps/Dialer/java/com/android/dialer/contacts/hiresphoto/
DHighResolutionPhotoRequesterImpl.java82 for (Long rawContactId : getGoogleRawContactIds(getContactId(contactUri))) {
99 private long getContactId(Uri contactUri) throws RequestFailedException {
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java150 final long contactId = getContactId(position); in onItemLongClick()
180 final long contactId = getContactId(position); in onItemClick()
192 private long getContactId(int position) { in getContactId() method in MultiSelectContactsListFragment
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListItemView.java129 mContactIconView.setImageResourceUri(avatarUri, mData.getContactId(), in updateViewAppearance()
139 mContactIconView.setImageResourceUri(avatarUri, mData.getContactId(), in updateViewAppearance()
DContactRecipientAdapter.java282 final long lhsContactId = lhs.getContactId(); in compare()
283 final long rhsContactId = rhs.getContactId(); in compare()
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DSmsDatabaseHandler.java170 getContactId(mContentResolver, in buildMessageContentValues()
201 private static int getContactId(ContentResolver cr, String contactUri) { in getContactId() method in SmsDatabaseHandler
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java174 if (favoriteNumber.getContactId() != contact.getId() in convertToContacts()
193 favoriteNumber.getContactId(), favoriteNumber.getContactLookupKey()); in lookupContact()
DFavoriteNumberEntity.java60 public long getContactId() { in getContactId() method in FavoriteNumberEntity
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardResourceEntry.java145 public long getContactId() { in getDisplayItem() method in VCardResourceEntry
373 public long getContactId() {
/packages/apps/Messaging/src/com/android/messaging/ui/
DBlockedParticipantListItemView.java60 mContactIconView.setImageResourceUri(data.getAvatarUri(), data.getContactId(), in bind()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentAdapter.java103 public long getContactId() {

12