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

/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEntry.java102 int destinationType, String destinationLabel, long contactId, Long directoryId,
106 destinationLabel, contactId, directoryId, dataId, photoThumbnailUri,
111 int destinationType, String destinationLabel, long contactId, Long directoryId,
120 mContactId = contactId;
134 int destinationType, String destinationLabel, long contactId, Long directoryId,
138 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid,
191 String destination, int destinationType, String destinationLabel, long contactId,
196 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey,
201 String destination, int destinationType, String destinationLabel, long contactId,
206 contactId, directoryI
101 RecipientEntry(int entryType, String displayName, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) argument
110 RecipientEntry(int entryType, String displayName, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean shouldDisplayIcon, boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) argument
133 RecipientEntry(int entryType, String displayName, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, String lookupKey) argument
190 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid, String lookupKey) argument
200 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, String lookupKey) argument
211 constructSecondLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, String lookupKey) argument
[all...]
H A DBaseRecipientAdapter.java144 public final long contactId; field in class:BaseRecipientAdapter.TemporaryEntry
156 long contactId,
166 this.contactId = contactId;
179 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID);
510 * First, each destination (an email address or a phone number) with a valid contactId is
511 * inserted into {@link #mEntryMap} and grouped by the contactId. Destinations without valid
512 * contactId (possible if they aren't in local storage) are stored in
818 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString,
820 } else if (entryMap.containsKey(entry.contactId)) {
151 TemporaryEntry( String displayName, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriString, int displayNameSource, String lookupKey) argument
[all...]
H A DRecipientAlternatesAdapter.java369 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, argument
373 this(context, contactId, directoryId, lookupKey, currentId, queryMode, listener,
377 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, argument
382 getCursorForConstruction(context, contactId, directoryId, lookupKey, queryMode,
393 private static Cursor getCursorForConstruction(Context context, long contactId, argument
407 uri = Contacts.getLookupUri(contactId, lookupKey)
422 uri = Contacts.getLookupUri(contactId, lookupKey)
439 uri, projection, selection, new String[] {String.valueOf(contactId)}, null);
H A DRecipientEditTextView.java729 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1;
730 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT
731 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) {
1003 long contactId = contact.getContactId();
1005 contactId != RecipientEntry.INVALID_CONTACT
1006 : (contactId != RecipientEntry.INVALID_CONTACT
1007 && contactId != RecipientEntry.GENERATED_CONTACT);
2598 long contactId = currentChip.getContactId();
2599 return contactId == RecipientEntry.INVALID_CONTACT
2600 || (!isPhoneQuery() && contactId
[all...]
/frameworks/base/core/java/android/provider/
H A DContactsInternal.java96 final long contactId = isContactIdIgnored
112 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) {
113 throw new IllegalArgumentException("Invalid enterprise contact id: " + contactId);
124 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE);
H A DContactsContract.java1636 final long contactId = c.getLong(1);
1637 return getLookupUri(contactId, lookupKey);
1652 public static Uri getLookupUri(long contactId, String lookupKey) { argument
1657 lookupKey), contactId);
1677 long contactId = c.getLong(0);
1678 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
1693 * @param contactId the person who was contacted
1699 public static void markAsContacted(ContentResolver resolver, long contactId) { argument
1700 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId);
1789 public static boolean isEnterpriseContactId(long contactId) { argument
1971 setContactId(long contactId) argument
8356 undemote(ContentResolver contentResolver, long contactId) argument
8368 pin( ContentResolver contentResolver, long contactId, int pinnedPosition) argument
8511 rebuildManagedQuickContactsIntent(String lookupKey, long contactId, boolean isContactIdIgnored, long directoryId, Intent originalIntent) argument
[all...]
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java82 long contactId,
88 contactId, dataId, photoUri, displayNameSource});
97 long contactId,
107 assertEquals(contactId, c.getLong(4));
77 addRow(MatrixCursor c, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String photoUri, int displayNameSource ) argument
92 assertRow(Cursor c, int position, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String photoUri, int displayNameSource ) argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java259 * String[] selectionArgs = new String[] {contactId};
294 * @param contentUri Uri for obtaining the list of contactId. Used with
303 * contactId.
316 * First we'll create {@link Cursor} for the list of contactId.
323 * After that, we'll obtain data for each contactId in the list.
328 * Data.CONTACT_ID + "=?", new String[] {contactId}, null)
334 * @param contentUri Uri for obtaining the list of contactId. Used with
345 * contactId.
462 // this doesn't work now, as resolver doesn't return any data with "-1" contactId.
477 * Class that store rawContactEntitlesUri and contactId
481 public final long contactId; field in class:VCardComposer.RawContactEntitlesInfo
482 RawContactEntitlesInfo(Uri rawContactEntitlesUri, long contactId) argument
498 getRawContactEntitlesInfo(long contactId) argument
501 createOneEntryInternal(long contactId, final Method getEntityIteratorMethod) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java358 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX);
360 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
373 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX);
375 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java228 final long contactId = cursor.getLong(columnIndex);
229 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) {
230 info.contactIdOrZero = contactId;
235 if (Contacts.isEnterpriseContactId(contactId)) {
/frameworks/ex/common/java/com/android/common/contacts/
H A DDataUsageStatUpdater.java233 for (long contactId : contactIds) {
234 whereArgs.add(String.valueOf(contactId));
242 Log.d(TAG, "contactId where: " + whereBuilder.toString());
243 Log.d(TAG, "contactId selection: " + whereArgs);
/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl245 void startManagedQuickContact(String lookupKey, long contactId, boolean isContactIdIgnored, long directoryId, in Intent originalIntent);

Completed in 221 milliseconds