Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java99 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
103 destinationLabel, contactId, directoryId, dataId, photoThumbnailUri, in RecipientEntry()
108 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
117 mContactId = contactId; in RecipientEntry()
131 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
135 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, in RecipientEntry()
188 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
193 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey, in constructTopLevelEntry()
198 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
203 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.java680 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; in shrink() local
681 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT in shrink()
682 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { in shrink()
895 long contactId = contact.getContactId(); in loadAvatarIcon() local
897 contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
898 : (contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
899 && contactId != RecipientEntry.GENERATED_CONTACT); in loadAvatarIcon()
2377 long contactId = currentChip.getContactId(); in shouldShowEditableText() local
2378 return contactId == RecipientEntry.INVALID_CONTACT in shouldShowEditableText()
2379 || (!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.java96 final long contactId = isContactIdIgnored in maybeStartManagedQuickContact()
112 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) { in maybeStartManagedQuickContact()
113 throw new IllegalArgumentException("Invalid enterprise contact id: " + contactId); in maybeStartManagedQuickContact()
124 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE); in maybeStartManagedQuickContact()
DContactsContract.java1589 final long contactId = c.getLong(1); in getLookupUri() local
1590 return getLookupUri(contactId, lookupKey); in getLookupUri()
1605 public static Uri getLookupUri(long contactId, String lookupKey) { in getLookupUri() argument
1610 lookupKey), contactId); in getLookupUri()
1630 long contactId = c.getLong(0); in lookupContact() local
1631 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
1652 public static void markAsContacted(ContentResolver resolver, long contactId) { in markAsContacted() argument
1653 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId); in markAsContacted()
1742 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId() argument
1743 return (contactId >= ENTERPRISE_CONTACT_ID_BASE) && (contactId < Profile.MIN_ID); in isEnterpriseContactId()
[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/core/java/android/widget/
DQuickContactBadge.java358 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX); in onQueryComplete() local
360 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
373 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX); in onQueryComplete() local
375 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java228 final long contactId = cursor.getLong(columnIndex); in getCallerInfo() local
229 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
230 info.contactIdOrZero = contactId; in getCallerInfo()
235 if (Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java233 for (long contactId : contactIds) { in update()
234 whereArgs.add(String.valueOf(contactId)); in update()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl225 …void startManagedQuickContact(String lookupKey, long contactId, boolean isContactIdIgnored, long d… in startManagedQuickContact() argument