/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfo.java | 28 public Uri lookupUri; 46 // Moreover, there should be no two people with the same lookupUri. 49 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode()); 60 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false;
|
CallLogAdapter.java | 586 final Uri lookupUri = info.lookupUri; 601 callTypes, date, duration, name, ntype, label, lookupUri, null); 608 setPhoto(views, photoId, lookupUri); 657 if (!UriUtils.areEqual(updatedInfo.lookupUri, callLogInfo.lookupUri)) { 658 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri)); 682 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri)); 706 info.lookupUri = UriUtils.parseUriOrNull(c.getString(CallLogQuery.CACHED_LOOKUP_URI)); [all...] |
ContactInfoHelper.java | 118 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/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 | 794 Uri lookupUri = ContactsContract.Contacts.getLookupUri(contactId, lookupKey); 795 Uri dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); 800 lookupUri = ContactsContract.Contacts.getLookupUri(contactId + 1, lookupKey); 801 dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/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...] |
/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_ContactsTest.java | 100 Uri lookupUri = Contacts.getLookupUri(contactId, lookupKey); 102 lookupKey), contactId), lookupUri); 105 assertEquals(lookupUri, lookupUri2); 107 Uri contactUri2 = Contacts.lookupContact(mResolver, lookupUri);
|
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/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);
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 310 Uri lookupUri = null; 325 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 340 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 351 mContactUri = lookupUri; 354 if (trigger && lookupUri != null) { 356 QuickContact.showQuickContact(getContext(), QuickContactBadge.this, lookupUri,
|
/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/apps/Contacts/src/com/android/contacts/detail/ |
ContactLoaderFragment.java | 93 public void onEditRequested(Uri lookupUri); 98 public void onDeleteRequested(Uri lookupUri); 156 public void loadUri(Uri lookupUri) { 157 if (Objects.equal(lookupUri, mLookupUri)) { 162 mLookupUri = lookupUri; 187 Uri lookupUri = args.getParcelable(LOADER_ARG_CONTACT_URI); 188 return new ContactLoader(mContext, lookupUri, true /* loadGroupMetaData */,
|
ContactDetailUpdatesFragment.java | 124 public void setData(Uri lookupUri, Contact result) { 128 mLookupUri = lookupUri;
|
ContactDetailFragment.java | 376 public void setData(Uri lookupUri, Contact result) { 377 mLookupUri = lookupUri; [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactLoader.java | 153 public ContactLoader(Context context, Uri lookupUri) { 155 mLookupUri = lookupUri;
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 172 Uri lookupUri = intent.getData(); 175 if (lookupUri != null && LEGACY_AUTHORITY.equals(lookupUri.getAuthority())) { 176 final long rawContactId = ContentUris.parseId(lookupUri); 177 lookupUri = RawContacts.getContactLookupUri(getContentResolver(), 181 mLookupUri = Preconditions.checkNotNull(lookupUri, "missing lookupUri");
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
ContactLoader.java | 93 public ContactLoader(Context context, Uri lookupUri, boolean postViewNotification) { 94 this(context, lookupUri, false, false, false, postViewNotification, false); 97 public ContactLoader(Context context, Uri lookupUri, boolean loadGroupMetaData, 101 mLookupUri = lookupUri; 102 mRequestedUri = lookupUri; 519 Uri lookupUri; 521 lookupUri = ContentUris.withAppendedId( 524 lookupUri = contactUri; 527 return new Contact(mRequestedUri, contactUri, lookupUri, directoryId, lookupKey, [all...] |
Contact.java | 139 public Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, 147 mLookupUri = lookupUri;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
MoreContactUtils.java | 202 public static Intent getInvitableIntent(AccountType accountType, Uri lookupUri) { 214 intent.setData(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/Dialer/src/com/android/dialer/ |
CallDetailActivity.java | 619 final Uri lookupUri; 632 lookupUri = null; 639 lookupUri = info.lookupUri; 643 nameText, numberType, numberLabel, lookupUri, photoUri); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactSaveService.java | 344 Uri lookupUri = null; 388 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 396 lookupUri = RawContacts.getContactLookupUri(resolver, rawContactUri); 398 Log.v(TAG, "Saved contact. New URI: " + lookupUri); 477 callbackIntent.setData(lookupUri); [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 492 Uri lookupUri = Contacts.getLookupUri(mContactId, 494 startPhotoQuery(photoId, lookupUri); [all...] |
/packages/apps/Email/src/com/android/email/service/ |
AttachmentDownloadService.java | 352 Uri lookupUri = EmailContent.uriWithLimit(Attachment.CONTENT_URI, 354 Cursor c = mContext.getContentResolver().query(lookupUri, AttachmentInfo.PROJECTION, [all...] |