/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactLookupKey.java | 67 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, argument 74 if (lookupKey.length() != 0) { 75 lookupKey.append("."); 78 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName)); 80 lookupKey.append('r').append(rawContactId).append('-').append( 83 int pos = lookupKey.length(); 84 lookupKey.append('i'); 85 if (appendEscapedSourceId(lookupKey, sourceId)) { 86 lookupKey.setCharAt(pos, 'e'); 109 public ArrayList<LookupKeySegment> parse(String lookupKey) { argument [all...] |
H A D | GlobalSearchSupport.java | 74 String lookupKey; field in class:GlobalSearchSupport.SearchSuggestion 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); 259 suggestion.lookupKey 209 handleSearchShortcutRefresh(SQLiteDatabase db, String[] projection, String lookupKey, String filter, CancellationSignal cancellationSignal) argument [all...] |
H A D | ProfileAwareUriMatcher.java | 120 String lookupKey = uri.getPathSegments().get(lookupKeySegment); 121 if (ContactLookupKey.PROFILE_LOOKUP_KEY.equals(lookupKey)) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactEntry.java | 32 public Uri lookupKey; field in class:ContactEntry
|
H A D | ContactListAdapter.java | 135 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) { argument 137 mSelectedContactLookupKey = lookupKey; 163 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 164 Uri uri = Contacts.getLookupUri(contactId, lookupKey); 184 String lookupKey = getSelectedContactLookupKey(); 185 if (lookupKey != null && TextUtils.equals(lookupKey, 291 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 292 if (mSelectedContactLookupKey.equals(lookupKey)) {
|
H A D | DefaultContactListAdapter.java | 108 String lookupKey = getSelectedContactLookupKey(); 109 if (lookupKey != null) { 110 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
|
H A D | ContactTileAdapter.java | 252 String lookupKey = cursor.getString(mLookupIndex); 259 contact.lookupKey = ContentUris.withAppendedId( 260 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), id);
|
H A D | ContactTileView.java | 97 mLookupUri = entry.lookupKey;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
H A D | ContactLoaderTest.java | 104 final String lookupKey = "aa%12%@!"; 108 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), 113 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); 120 assertEquals(lookupKey, contact.getLookupKey()); 133 final String lookupKey = "aa%12%@!"; 139 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), 144 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, contactId, lookupKey); 145 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); 152 assertEquals(lookupKey, contact.getLookupKey()); 165 final String lookupKey [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | NfcHandler.java | 68 final String lookupKey = Uri.encode(contactUri.getPathSegments().get(2)); 72 if (lookupKey.equals(PROFILE_LOOKUP_KEY)) { 78 appendPath(lookupKey).
|
/packages/apps/Dialer/src/com/android/dialer/service/ |
H A D | CachedNumberLookupService.java | 15 public void setLookupKey(String lookupKey); argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | 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, argument 227 ArrayList<LookupKeySegment> list = key.parse(lookupKey);
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
H A D | DialerDatabaseHelper.java | 233 public final String lookupKey; field in class:DialerDatabaseHelper.ContactNumber 237 String lookupKey, long photoId) { 242 this.lookupKey = lookupKey; 248 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId); 262 && Objects.equal(this.lookupKey, that.lookupKey) 273 private final String lookupKey; field in class:DialerDatabaseHelper.ContactMatch 276 public ContactMatch(String lookupKey, long id) { argument 277 this.lookupKey 236 ContactNumber(long id, long dataID, String displayName, String phoneNumber, String lookupKey, long photoId) argument [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
H A D | PeopleActivityTest.java | 218 String lookupKey, long id, String returnLookupKey, long returnId) { 219 Uri uri = Contacts.getLookupUri(id, lookupKey); 227 private void expectContactEntityQuery(String lookupKey, int contactId) { argument 229 Contacts.getLookupUri(contactId, lookupKey), Contacts.Entity.CONTENT_DIRECTORY); 232 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey); 217 expectContactLookupQuery( String lookupKey, long id, String returnLookupKey, long returnId) argument
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactsListFragment.java | 145 final String lookupKey = cursor.getString(ContactsListLoader.COLUMN_LOOKUP_KEY); 146 return Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ShowOrCreateActivity.java | 159 String lookupKey = null; 165 lookupKey = cursor.getString(LOOKUP_KEY_INDEX); 173 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | ContactHeaderWidget.java | 282 String lookupKey = cursor.getString( 284 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey), 298 String lookupKey = cursor.getString( 300 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey), 601 * @param lookupKey the lookup uri. 604 protected void startPhotoQuery(long photoId, Uri lookupKey, boolean resetQueryHandler) { argument 609 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey,
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | ContactDeletionInteraction.java | 227 String lookupKey = null; 240 lookupKey = cursor.getString(COLUMN_INDEX_LOOKUP_KEY); 262 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
H A D | SmartDialCursorLoader.java | 95 row[PhoneQuery.LOOKUP_KEY] = contact.lookupKey;
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | JoinContactListAdapter.java | 205 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 206 return Contacts.getLookupUri(contactId, lookupKey);
|
H A D | ContactBrowseListFragment.java | 121 final String lookupKey = cursor.getString(1); 122 if (contactId != 0 && !TextUtils.isEmpty(lookupKey)) { 123 return Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | ContactInfoHelper.java | 162 String lookupKey = phonesCursor.getString(PhoneQuery.LOOKUP_KEY); 163 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionView.java | 82 mLookupKey = suggestion.lookupKey;
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | AllIntentsActivity.java | 342 final String lookupKey = lookupUri.getPathSegments().get(2); 344 lookupKey); 417 final String lookupKey = lookupUri.getPathSegments().get(2); 419 lookupKey);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | Contact.java | 138 public Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, argument 149 mLookupKey = lookupKey;
|