/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/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)) {
|
/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/apps/Dialer/src/com/android/dialer/service/ |
H A D | CachedNumberLookupService.java | 15 public void setLookupKey(String lookupKey); argument
|
/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 | ContactsProvider2.java | 3453 final String lookupKey = pathSegments.get(2); 3454 final long contactId = lookupContactIdByLookupKey(db, lookupKey); 3462 final String lookupKey = pathSegments.get(2); 3474 args[1] = Uri.encode(lookupKey); 3886 final String lookupKey = pathSegments.get(2); 3887 final long contactId = lookupContactIdByLookupKey(db, lookupKey); 5186 String lookupKey = pathSegments.get(2); 5194 Contacts._ID, contactId, Contacts.LOOKUP_KEY, lookupKey, 5203 String.valueOf(lookupContactIdByLookupKey(db, lookupKey))); 5218 String lookupKey 6450 queryWithContactIdAndLookupKey(SQLiteQueryBuilder lookupQb, SQLiteDatabase db, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit, String contactIdColumn, long contactId, String lookupKeyColumn, String lookupKey, CancellationSignal cancellationSignal) argument 6642 lookupContactIdByLookupKey(SQLiteDatabase db, String lookupKey) argument [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
H A D | SmartDialPrefixTest.java | 144 int id, String number, int contactId, String lookupKey, String displayName, int photoId, 150 contactCursor.addRow(new Object[]{id, "", "", number, contactId, lookupKey, displayName, 155 return new ContactNumber(contactId, id, displayName, number, lookupKey, 0); 143 constructNewContact(MatrixCursor contactCursor, MatrixCursor nameCursor, int id, String number, int contactId, String lookupKey, String displayName, int photoId, int lastTimeUsed, int timesUsed, int starred, int isSuperPrimary, int inVisibleGroup, int isPrimary) argument
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionEngine.java | 73 public String lookupKey; field in class:AggregationSuggestionEngine.Suggestion 385 suggestion.lookupKey = mDataCursor.getString(DataQuery.LOOKUP_KEY);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ConfirmAddDetailActivity.java | 316 * @param lookupKey the lookup uri. 318 private void startPhotoQuery(long photoId, Uri lookupKey) { argument 319 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, 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/model/ |
H A D | Contact.java | 138 public Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, argument 149 mLookupKey = lookupKey;
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
H A D | DialerDatabaseHelper.java | 232 public final String lookupKey; field in class:DialerDatabaseHelper.ContactNumber 236 String lookupKey, long photoId) { 241 this.lookupKey = lookupKey; 247 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId); 261 && Objects.equal(this.lookupKey, that.lookupKey) 272 private final String lookupKey; field in class:DialerDatabaseHelper.ContactMatch 275 public ContactMatch(String lookupKey, long id) { argument 276 this.lookupKey 235 ContactNumber(long id, long dataID, String displayName, String phoneNumber, String lookupKey, long photoId) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupEditorFragment.java | 784 String lookupKey = data.getString(GroupEditorQuery.CONTACT_LOOKUP_KEY); 787 listExistingMembers.add(new Member(rawContactId, lookupKey, contactId, 830 String lookupKey = cursor.getString(CONTACT_LOOKUP_KEY_COLUMN_INDEX); 833 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri); 853 public Member(long rawContactId, String lookupKey, long contactId, String displayName, argument 857 mLookupUri = Contacts.getLookupUri(contactId, lookupKey);
|