HomeSort by relevance Sort by last modified time
    Searched refs:lookupKey (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLookupKey.java 65 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet,
72 if (lookupKey.length() != 0) {
73 lookupKey.append(".");
76 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName));
78 lookupKey.append('r').append(rawContactId).append('-').append(
81 int pos = lookupKey.length();
82 lookupKey.append('i');
83 if (appendEscapedSourceId(lookupKey, sourceId)) {
84 lookupKey.setCharAt(pos, 'e');
107 public ArrayList<LookupKeySegment> parse(String lookupKey) {
    [all...]
GlobalSearchSupport.java 74 String lookupKey;
108 list.add(lookupKey); // shortcut id
133 list.add(lookupKey);
135 list.add(lookupKey);
146 return Contacts.getLookupUri(contactId, lookupKey).toString();
152 lookupKey = null;
205 * <p>Note that if {@code lookupKey} is not a valid lookup key, an empty cursor is returned
210 String lookupKey, String filter, CancellationSignal cancellationSignal) {
213 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey);
260 suggestion.lookupKey = c.getString(1)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleRecipientEntry.java 34 final String lookupKey) {
36 directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, lookupKey);
43 final String lookupKey) {
46 ? Uri.parse(thumbnailUriAsString) : null), true, isValid, lookupKey);
53 final String lookupKey) {
56 ? Uri.parse(thumbnailUriAsString) : null), false, isValid, lookupKey);
FrequentContactsCursorBuilder.java 95 final String lookupKey = mFrequentContactsCursor.getString(
97 lookupKeyToRankMap.put(lookupKey, rank++);
110 final String lookupKey = mAllContactsCursor.getString(ContactUtil.INDEX_LOOKUP_KEY);
111 if (lookupKeyToRankMap.containsKey(lookupKey)) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactTileStarredView.java 52 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) {
53 return new DefaultImageRequest(displayName, lookupKey, ContactPhotoManager.TYPE_DEFAULT,
ContactListAdapter.java 147 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) {
149 mSelectedContactLookupKey = lookupKey;
175 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
176 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
205 String lookupKey = getSelectedContactLookupKey();
206 if (lookupKey != null && TextUtils.equals(lookupKey,
314 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
315 if (mSelectedContactLookupKey.equals(lookupKey)) {
ContactEntry.java 52 public String lookupKey;
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
WebAssetMatcher.java 41 return mQuery.lookupKey();
AbstractAsset.java 62 public abstract int lookupKey();
AndroidAppAssetMatcher.java 54 return mQuery.lookupKey();
  /frameworks/opt/chips/src/com/android/ex/chips/
RecipientEntry.java 99 String lookupKey, String[] permissions) {
112 mLookupKey = lookupKey;
121 String lookupKey) {
124 lookupKey, null);
150 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */);
160 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */);
172 isValid, null /* lookupKey */, null /* permissions */);
178 String lookupKey) {
181 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey,
188 String lookupKey) {
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
NfcHandler.java 68 final String lookupKey = Uri.encode(mContactUri.getPathSegments().get(2));
72 if (lookupKey.equals(PROFILE_LOOKUP_KEY)) {
78 appendPath(lookupKey).
  /packages/apps/Dialer/tests/src/com/android/dialer/database/
DatabaseTestUtils.java 62 MatrixCursor nameCursor, int id, String number, int contactId, String lookupKey,
75 contactCursor.addRow(new Object[]{id, "", "", number, contactId, lookupKey, displayName,
80 return new ContactNumber(contactId, id, displayName, number, lookupKey, 0, 0);
  /frameworks/base/core/java/android/provider/
ContactsInternal.java 99 final String lookupKey = pathSegments.get(2);
105 // See if it has a corp lookupkey.
106 if (TextUtils.isEmpty(lookupKey)
107 || !lookupKey.startsWith(
121 final String actualLookupKey = lookupKey.substring(
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
ContactUtils.java 46 public abstract boolean retrieveContactInteractionsFromLookupKey(String lookupKey,
  /developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java 110 String lookupKey = "";
114 if (!lookupKey.equals(currentLookupKey)) {
117 lookupKey = currentLookupKey;
  /developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java 110 String lookupKey = "";
114 if (!lookupKey.equals(currentLookupKey)) {
117 lookupKey = currentLookupKey;
  /development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
ContactablesLoaderCallbacks.java 110 String lookupKey = "";
114 if (!lookupKey.equals(currentLookupKey)) {
117 lookupKey = currentLookupKey;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
AccountImageHelper.java 64 String lookupKey = null;
74 lookupKey = c.getString(3);
84 if (contactId != -1 && !TextUtils.isEmpty(lookupKey) && !TextUtils.isEmpty(photoUri)) {
AccountImageChangeObserver.java 175 String lookupKey = null;
181 lookupKey = c.getString(2);
189 if (contactId != -1 && !TextUtils.isEmpty(lookupKey)) {
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
PeopleActivityTest.java 155 String lookupKey, long id, String returnLookupKey, long returnId) {
156 Uri uri = Contacts.getLookupUri(id, lookupKey);
164 private void expectContactEntityQuery(String lookupKey, int contactId) {
166 Contacts.getLookupUri(contactId, lookupKey), Contacts.Entity.CONTENT_DIRECTORY);
169 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey);
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 275 public final String lookupKey;
280 String lookupKey, long photoId, int carrierPresence) {
285 this.lookupKey = lookupKey;
292 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId,
307 && Objects.equal(this.lookupKey, that.lookupKey)
319 private final String lookupKey;
322 public ContactMatch(String lookupKey, long id) {
323 this.lookupKey = lookupKey
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 142 String lookupKey = "0i1.0i2.0i3";
146 Contacts.LOOKUP_KEY, lookupKey);
164 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
224 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types,
227 ArrayList<LookupKeySegment> list = key.parse(lookupKey);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
QuickContactsDemo.java 83 final String lookupKey = cursor.getString(SUMMARY_LOOKUP_KEY);
84 cache.photoView.assignContactUri(Contacts.getLookupUri(contactId, lookupKey));
  /packages/apps/Dialer/src/com/android/dialer/list/
PhoneFavoriteTileView.java 137 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) {
138 return new DefaultImageRequest(displayName, lookupKey, ContactPhotoManager.TYPE_DEFAULT,

Completed in 887 milliseconds

1 2 3 4 5