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

/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEntry.java97 int destinationType, String destinationLabel, long contactId, Long directoryId,
106 mContactId = contactId;
119 int destinationType, String destinationLabel, long contactId, Long directoryId,
123 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid,
176 String destination, int destinationType, String destinationLabel, long contactId,
181 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey,
186 String destination, int destinationType, String destinationLabel, long contactId,
191 contactId, directoryId, dataId, (thumbnailUriAsString != null
198 String destinationLabel, long contactId, Long directoryId, long dataId,
202 contactId, directoryI
96 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
118 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
175 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid, String lookupKey) argument
185 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, String lookupKey) argument
196 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.java680 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1;
681 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT
682 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) {
893 long contactId = contact.getContactId();
895 contactId != RecipientEntry.INVALID_CONTACT
896 : (contactId != RecipientEntry.INVALID_CONTACT
897 && contactId != RecipientEntry.GENERATED_CONTACT);
2376 long contactId = currentChip.getContactId();
2377 return contactId == RecipientEntry.INVALID_CONTACT
2378 || (!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.java1589 final long contactId = c.getLong(1);
1590 return getLookupUri(contactId, lookupKey);
1605 public static Uri getLookupUri(long contactId, String lookupKey) { argument
1610 lookupKey), contactId);
1630 long contactId = c.getLong(0);
1631 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
1646 * @param contactId the person who was contacted
1652 public static void markAsContacted(ContentResolver resolver, long contactId) { argument
1653 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId);
1742 public static boolean isEnterpriseContactId(long contactId) { argument
1925 setContactId(long contactId) argument
8291 undemote(ContentResolver contentResolver, long contactId) argument
8303 pin( ContentResolver contentResolver, long contactId, int pinnedPosition) argument
8445 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.aidl225 void startManagedQuickContact(String lookupKey, long contactId, boolean isContactIdIgnored, long directoryId, in Intent originalIntent);

Completed in 1347 milliseconds