HomeSort by relevance Sort by last modified time
    Searched defs:lookupUri (Results 1 - 25 of 35) sorted by null

1 2

  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactEntry.java 32 public Uri lookupUri;
  /packages/apps/Dialer/src/com/android/dialer/calllog/
ContactInfo.java 29 public Uri lookupUri;
52 // Moreover, there should be no two people with the same lookupUri.
55 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode());
66 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false;
80 return Objects.toStringHelper(this).add("lookupUri", lookupUri).add("name", name).add(
CallLogAdapter.java 609 final Uri lookupUri = info.lookupUri;
628 duration, name, ntype, label, lookupUri, photoUri, sourceType);
645 String lookupKey = lookupUri == null ? null
646 : ContactInfoHelper.getLookupKeyFromUri(lookupUri);
657 setPhoto(views, photoUri, lookupUri, nameForDefaultImage, lookupKey, contactType);
659 setPhoto(views, photoId, lookupUri, nameForDefaultImage, lookupKey, contactType);
802 if (!UriUtils.areEqual(updatedInfo.lookupUri, callLogInfo.lookupUri)) {
803 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri));
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
ContactStatusLoader.java 76 public Result(Bitmap photo, int presenceResId, Uri lookupUri) {
79 mLookupUri = lookupUri;
143 final Uri lookupUri = Data.getContactLookupUri(context.getContentResolver(), uri);
144 return new Result(photo, presenceStatusResId, lookupUri);
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_RawContactsTest.java 69 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri());
70 assertNotNull("Could not produce a lookup URI", lookupUri);
72 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load();
86 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri());
87 assertNotNull("Could not produce a lookup URI", lookupUri);
89 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load();
ContactsContract_DataTest.java 80 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri());
81 assertNotNull("Could not produce a lookup URI", lookupUri);
83 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load();
97 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri());
98 assertNotNull("Could not produce a lookup URI", lookupUri);
100 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load();
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
ContactLoaderTest.java 107 final Uri lookupUri = ContentUris.withAppendedId(
121 assertEquals(lookupUri, contact.getLookupUri());
138 final Uri lookupUri = ContentUris.withAppendedId(
141 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY);
153 assertEquals(lookupUri, contact.getLookupUri());
168 final Uri lookupUri = ContentUris.withAppendedId(
171 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY);
184 assertEquals(lookupUri, contact.getLookupUri());
200 final Uri lookupUri = ContentUris.withAppendedId(lookupNoIdUri, contactId);
213 assertEquals(lookupUri, contact.getLookupUri())
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 59 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey);
60 assertStoredValue(lookupUri, Contacts._ID, contactId);
63 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId),
67 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId + 1),
93 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey);
94 assertStoredValue(lookupUri, Contacts._ID, contactId);
164 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
165 assertStoredValue(lookupUri, Contacts._ID, largerContactId);
173 String lookupUri = "content://com.android.contacts/contacts/lookup/0i1/" + contactId;
176 assertEquals(lookupUri,
    [all...]
ContactsProvider2Test.java 805 Uri lookupUri = ContactsContract.Contacts.getLookupUri(contactId, lookupKey);
806 Uri dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY);
811 lookupUri = ContactsContract.Contacts.getLookupUri(contactId + 1, lookupKey);
812 dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY);
    [all...]
  /frameworks/base/core/java/android/widget/
QuickContactBadge.java 312 Uri lookupUri = null;
327 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
342 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
353 mContactUri = lookupUri;
356 if (trigger && lookupUri != null) {
358 QuickContact.showQuickContact(getContext(), QuickContactBadge.this, lookupUri,
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java 209 Uri lookupUri = intent.getData();
212 if (lookupUri != null && LEGACY_AUTHORITY.equals(lookupUri.getAuthority())) {
213 final long rawContactId = ContentUris.parseId(lookupUri);
214 lookupUri = RawContacts.getContactLookupUri(getContentResolver(),
218 mLookupUri = Preconditions.checkNotNull(lookupUri, "missing lookupUri");
386 final Uri lookupUri = data.getLookupUri();
389 if (UriUtils.isEncodedContactUri(lookupUri)) {
407 if (lookupUri != null)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 341 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri);
342 final String lookupKey = lookupUri.getPathSegments().get(2);
352 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri);
353 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupUri);
416 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri);
417 final String lookupKey = lookupUri.getPathSegments().get(2);
427 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri);
428 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupUri);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ContactHeaderWidget.java 264 final Uri lookupUri = Contacts.getLookupUri(
270 setPhotoId(photoId, lookupUri);
379 public void setPhotoId(final long photoId, final Uri lookupUri) {
382 mPhotoView.assignContactUri(lookupUri);
385 startPhotoQuery(photoId, lookupUri,
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 348 Uri lookupUri = null;
392 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
400 lookupUri = RawContacts.getContactLookupUri(resolver, rawContactUri);
402 Log.v(TAG, "Saved contact. New URI: " + lookupUri);
487 callbackIntent.setData(lookupUri);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ConfirmAddDetailActivity.java 500 Uri lookupUri = Contacts.getLookupUri(mContactId, mLookupKey);
501 startPhotoQuery(photoId, lookupUri);
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ContactLoader.java 94 public ContactLoader(Context context, Uri lookupUri, boolean postViewNotification) {
95 this(context, lookupUri, false, false, postViewNotification, false);
98 public ContactLoader(Context context, Uri lookupUri, boolean loadGroupMetaData,
102 mLookupUri = lookupUri;
103 mRequestedUri = lookupUri;
623 Uri lookupUri;
625 lookupUri = ContentUris.withAppendedId(
628 lookupUri = contactUri;
631 return new Contact(mRequestedUri, contactUri, lookupUri, directoryId, lookupKey,
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/
CallDetailActivity.java     [all...]
  /packages/apps/Email/src/com/android/email/service/
AttachmentDownloadService.java 387 Uri lookupUri = EmailContent.uriWithLimit(Attachment.CONTENT_URI,
389 Cursor c = mContext.getContentResolver().query(lookupUri,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 359 public void setData(Uri lookupUri, Contact result) {
360 mLookupUri = lookupUri;
    [all...]
  /frameworks/base/core/java/android/provider/
ContactsContract.java     [all...]
  /packages/apps/Calendar/src/com/android/calendar/
EventInfoFragment.java     [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 

Completed in 1289 milliseconds

1 2