Home
last modified time | relevance | path

Searched refs:contactId (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java102 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
106 destinationLabel, contactId, directoryId, dataId, photoThumbnailUri, in RecipientEntry()
111 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
120 mContactId = contactId; in RecipientEntry()
134 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
138 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, in RecipientEntry()
191 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
196 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey, in constructTopLevelEntry()
201 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
206 contactId, directoryId, dataId, (thumbnailUriAsString != null in constructTopLevelEntry()
[all …]
DBaseRecipientAdapter.java144 public final long contactId; field in BaseRecipientAdapter.TemporaryEntry
156 long contactId, in TemporaryEntry() argument
166 this.contactId = contactId; in TemporaryEntry()
179 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID); in TemporaryEntry()
818 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
820 } else if (entryMap.containsKey(entry.contactId)) { in putOneEntry()
822 final List<RecipientEntry> entryList = entryMap.get(entry.contactId); in putOneEntry()
827 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
835 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
837 entryMap.put(entry.contactId, entryList); in putOneEntry()
DRecipientAlternatesAdapter.java369 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument
373 this(context, contactId, directoryId, lookupKey, currentId, queryMode, listener, in RecipientAlternatesAdapter()
377 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument
382 getCursorForConstruction(context, contactId, directoryId, lookupKey, queryMode, in RecipientAlternatesAdapter()
393 private static Cursor getCursorForConstruction(Context context, long contactId, in getCursorForConstruction() argument
407 uri = Contacts.getLookupUri(contactId, lookupKey) in getCursorForConstruction()
422 uri = Contacts.getLookupUri(contactId, lookupKey) in getCursorForConstruction()
439 uri, projection, selection, new String[] {String.valueOf(contactId)}, null); in getCursorForConstruction()
DRecipientEditTextView.java729 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; in shrink() local
730 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT in shrink()
731 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { in shrink()
1003 long contactId = contact.getContactId(); in loadAvatarIcon() local
1005 contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
1006 : (contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
1007 && contactId != RecipientEntry.GENERATED_CONTACT); in loadAvatarIcon()
2598 long contactId = currentChip.getContactId(); in shouldShowEditableText() local
2599 return contactId == RecipientEntry.INVALID_CONTACT in shouldShowEditableText()
2600 || (!isPhoneQuery() && contactId == RecipientEntry.GENERATED_CONTACT); in shouldShowEditableText()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java481 public final long contactId; field in VCardComposer.RawContactEntitlesInfo
482 public RawContactEntitlesInfo(Uri rawContactEntitlesUri, long contactId) { in RawContactEntitlesInfo() argument
484 this.contactId = contactId; in RawContactEntitlesInfo()
498 RawContactEntitlesInfo getRawContactEntitlesInfo(long contactId); in getRawContactEntitlesInfo() argument
501 private String createOneEntryInternal(long contactId, in createOneEntryInternal() argument
513 mRawContactEntitlesInfoCallback.getRawContactEntitlesInfo(contactId); in createOneEntryInternal()
515 contactId = rawContactEntitlesInfo.contactId; in createOneEntryInternal()
518 final String[] selectionArgs = new String[] {String.valueOf(contactId)}; in createOneEntryInternal()
545 Log.w(LOG_TAG, "Data does not exist. contactId: " + contactId); in createOneEntryInternal()
/frameworks/base/core/java/android/provider/
DContactsInternal.java98 final long contactId = isContactIdIgnored in maybeStartManagedQuickContact()
114 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) { in maybeStartManagedQuickContact()
115 throw new IllegalArgumentException("Invalid enterprise contact id: " + contactId); in maybeStartManagedQuickContact()
126 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE); in maybeStartManagedQuickContact()
DContactsContract.java1638 final long contactId = c.getLong(1); in getLookupUri() local
1639 return getLookupUri(contactId, lookupKey); in getLookupUri()
1654 public static Uri getLookupUri(long contactId, String lookupKey) { in getLookupUri() argument
1659 lookupKey), contactId); in getLookupUri()
1679 long contactId = c.getLong(0); in lookupContact() local
1680 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
1707 public static void markAsContacted(ContentResolver resolver, long contactId) { in markAsContacted() argument
1813 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId() argument
1814 return (contactId >= ENTERPRISE_CONTACT_ID_BASE) && (contactId < Profile.MIN_ID); in isEnterpriseContactId()
1995 public Builder setContactId(long contactId) { in setContactId() argument
[all …]
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java82 long contactId, in addRow() argument
88 contactId, dataId, photoUri, displayNameSource}); in addRow()
97 long contactId, in assertRow() argument
107 assertEquals(contactId, c.getLong(4)); in assertRow()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsParticipant.java104 public void setContactId(String contactId) throws RcsMessageStoreException { in setContactId() argument
106 (iRcs, callingPackage) -> iRcs.setRcsParticipantContactId(mId, contactId, in setContactId()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java360 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX); in onQueryComplete() local
362 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
375 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX); in onQueryComplete() local
377 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java239 final long contactId = cursor.getLong(columnIndex); in getCallerInfo() local
240 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
241 info.contactIdOrZero = contactId; in getCallerInfo()
246 if (Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl277 …void startManagedQuickContact(String lookupKey, long contactId, boolean isContactIdIgnored, long d… in startManagedQuickContact() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DRcsMessageStoreController.java395 public void setRcsParticipantContactId(int participantId, String contactId,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...