Home
last modified time | relevance | path

Searched refs:getLookupUri (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java126 assertEquals(lookupUri, contact.getLookupUri()); in testLoadContactWithContactIdUri()
154 assertEquals(lookupUri, contact.getLookupUri()); in testLoadContactWithOldStyleUri()
185 assertEquals(lookupUri, contact.getLookupUri()); in testLoadContactWithRawContactIdUri()
209 assertEquals(lookupUri, contact.getLookupUri()); in testLoadContactWithContactLookupUri()
233 assertEquals(lookupUri, contact.getLookupUri()); in testLoadContactWithContactLookupAndIdUri()
267 assertEquals(lookupUri, contact.getLookupUri()); in testLoadContactWithContactLookupWithIncorrectIdUri()
300 assertEquals(lookupUri, contact.getLookupUri()); in testLoadContactReturnDirectoryContactWithoutDisplayName()
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/
DGlidePhotoManagerImpl.java61 TextUtils.isEmpty(photoInfo.getLookupUri()) in loadQuickContactBadge()
63 : parseUri(photoInfo.getLookupUri())); in loadQuickContactBadge()
130 if (TextUtils.isEmpty(photoInfo.getLookupUri())) { in getDefaultDrawable()
139 identifier = getIdentifier(photoInfo.getLookupUri()); in getDefaultDrawable()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DDialerShortcut.java124 return Contacts.getLookupUri(contactId, lookupKey); in getLookupUriFromShortcutInfo()
136 Uri getLookupUri() { in getLookupUri() method in DialerShortcut
137 return Contacts.getLookupUri(getContactId(), getLookupKey()); in getLookupUri()
DShortcutInfoFactory.java65 intent.setData(shortcut.getLookupUri()); in buildShortcutInfos()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
DPhoneLookupInfoConsolidator.java258 public String getLookupUri() { in getLookupUri() method in PhoneLookupInfoConsolidator
261 return Assert.isNotNull(firstDefaultCp2Contact).getLookupUri(); in getLookupUri()
263 return Assert.isNotNull(firstExtendedCp2Contact).getLookupUri(); in getLookupUri()
265 return Assert.isNotNull(phoneLookupInfo.getPeopleApiInfo().getLookupUri()); in getLookupUri()
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java95 assertEquals(Contacts.getLookupUri(1, "lookup_key"), shortcut.getIntent().getData()); in test_createShortcutFromRow_hasCorrectResult()
146 queryForSingleRow(Contacts.getLookupUri(1l, "key1"), 11l, "key1", "New Name1"), in test_updatePinned_updatesExistingShortcutsWithMatchingKeys()
147 queryForSingleRow(Contacts.getLookupUri(2l, "key2"), 2l, "key2", "name2"), in test_updatePinned_updatesExistingShortcutsWithMatchingKeys()
148 queryForSingleRow(Contacts.getLookupUri(3l, "key3"), 33l, "key3", "name3") in test_updatePinned_updatesExistingShortcutsWithMatchingKeys()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/menu/
DModules.java52 .setLookupUri(voicemailEntry.getNumberAttributes().getLookupUri()) in buildModuleInfo()
57 !TextUtils.isEmpty(voicemailEntry.getNumberAttributes().getLookupUri())) in buildModuleInfo()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactTileView.java71 getLookupUri(), in createClickListener() method in ContactTileView
120 public Uri getLookupUri() {
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/
DModules.java99 return !TextUtils.isEmpty(row.getNumberAttributes().getLookupUri()); in canSupportAssistedDialing()
109 .setLookupUri(row.getNumberAttributes().getLookupUri()) in buildModuleInfo()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java317 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); in onListItemClick()
330 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); in onListItemClick()
418 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); in onListItemClick()
431 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); in onListItemClick()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java147 Uri uri = Contacts.getLookupUri(id, lookupKey); in expectContactLookupQuery()
157 Contacts.getLookupUri(contactId, lookupKey), Contacts.Entity.CONTENT_DIRECTORY); in expectContactEntityQuery()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java177 Contacts.getLookupUri(mResolver, contentUri).toString()); in testGetLookupUri()
183 Contacts.getLookupUri(mResolver, staleLookupUri).toString()); in testGetLookupUri()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java219 public Uri getLookupUri() { in getLookupUri() method in Contact
220 return ContactsContract.Contacts.getLookupUri(mId, mLookupKey); in getLookupUri()
/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java201 context, getLookupUri(), PhoneNumberUtils.stripSeparators(number), new String[] {"system"}); in getCequintCallerIdContactForNumber()
317 private static Uri getLookupUri() { in getLookupUri() method in CequintCallerIdManager
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java991 NfcHandler.register(this, mContactData.getLookupUri()); in bindContactData()
1579 contactData.getLookupUri()); in dataItemToEntry()
2081 Log.i(TAG, "Failed to load contact: " + ((ContactLoader)loader).getLookupUri());
2088 Log.i(TAG, "No contact found: " + ((ContactLoader)loader).getLookupUri());
2181 mContactData.getLookupUri(), in getEditContactIntent()
2194 final Uri contactUri = mContactData.getLookupUri(); in deleteContact()
2205 QuickContactActivity.this, mContactData.getLookupUri(), !isStarred); in toggleStar()
2276 builder.createContactShortcutIntent(mContactData.getLookupUri()); in createLauncherShortcutWithContact()
2502 mContactData.getLookupUri(), in showRawContactPickerDialog()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DHistoryItemActionModulesBuilder.java486 return !TextUtils.isEmpty(moduleInfo.getLookupUri()) in isExistingContact()
487 && !UriUtils.isEncodedContactUri(Uri.parse(moduleInfo.getLookupUri())); in isExistingContact()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactViewHolder.java149 return Contacts.getLookupUri(contactId, lookupKey); in getContactUri()
274 Contacts.getLookupUri( in getDialerContact()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DNumberAttributesBuilder.java38 .setLookupUri(phoneLookupInfoConsolidator.getLookupUri()) in fromPhoneLookupInfo()
DPhotoInfoBuilder.java61 .setLookupUri(numberAttributes.getLookupUri()) in fromNumberAttributes()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DContactDetailsLiveData.java72 Uri refreshedContactLookupUri = ContactsContract.Contacts.getLookupUri( in getQueryParam()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoriteSquareTileView.java69 getLookupUri(), in launchQuickContact()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionView.java101 Contacts.getLookupUri(mSuggestion.contactId, mSuggestion.contactLookupKey), in handleItemClickEvent()
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java183 Contacts.getLookupUri(contactId, shortcut.getId())); in updatePinned()
281 Contacts.getLookupUri(id, lookupKey))) in builderForContactShortcut()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultsViewModel.java94 Uri lookupUri = ContactsContract.Contacts.getLookupUri( in onQueryFinished()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java230 if (cachedResult != null && UriUtils.areEqual(cachedResult.getLookupUri(), mLookupUri)) { in loadInBackground()
690 mLookupUri = result.getLookupUri(); in deliverResult()
751 public Uri getLookupUri() { in getLookupUri() method in ContactLoader

123