/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactLookupKeyTest.java | 141 String lookupKey = "0i1.0i2.0i3"; 145 Contacts.LOOKUP_KEY, lookupKey); 163 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey); 223 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, argument 226 ArrayList<LookupKeySegment> list = key.parse(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/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 | 73 String lookupKey; field in class:GlobalSearchSupport.SearchSuggestion 107 list.add(lookupKey); // shortcut id 132 list.add(lookupKey); 134 list.add(lookupKey); 145 return Contacts.getLookupUri(contactId, lookupKey).toString(); 151 lookupKey = null; 204 * <p>Note that if {@code lookupKey} is not a valid lookup key, an empty cursor is returned 209 String lookupKey, String filter) { 212 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey); 256 suggestion.lookupKey 208 handleSearchShortcutRefresh(SQLiteDatabase db, String[] projection, String lookupKey, String filter) argument [all...] |
H A D | ContactsProvider2.java | 3291 final String lookupKey = pathSegments.get(2); 3292 final long contactId = lookupContactIdByLookupKey(mActiveDb.get(), lookupKey); 3300 final String lookupKey = pathSegments.get(2); 3312 args[1] = Uri.encode(lookupKey); 3703 final String lookupKey = pathSegments.get(2); 3704 final long contactId = lookupContactIdByLookupKey(mActiveDb.get(), lookupKey); 4915 String lookupKey = pathSegments.get(2); 4923 Contacts._ID, contactId, Contacts.LOOKUP_KEY, lookupKey, 4932 String.valueOf(lookupContactIdByLookupKey(mActiveDb.get(), lookupKey))); 4947 String lookupKey 5966 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 6179 lookupContactIdByLookupKey(SQLiteDatabase db, String lookupKey) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListAdapter.java | 126 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) { argument 128 mSelectedContactLookupKey = lookupKey; 154 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 155 Uri uri = Contacts.getLookupUri(contactId, lookupKey); 175 String lookupKey = getSelectedContactLookupKey(); 176 if (lookupKey != null && TextUtils.equals(lookupKey, 279 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 280 if (mSelectedContactLookupKey.equals(lookupKey)) {
|
H A D | ContactTileAdapter.java | 256 String lookupKey = cursor.getString(mLookupIndex); 263 contact.lookupKey = ContentUris.withAppendedId( 264 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), id); 676 public Uri lookupKey; field in class:ContactTileAdapter.ContactEntry
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/ |
H A D | ExchangeDirectoryProvider.java | 107 GalContactRow(GalProjection projection, long contactId, String lookupKey, argument 143 long contactId, String lookupKey, String accountName, String displayName, 147 galProjection, contactId, lookupKey, accountName, displayName); 156 String lookupKey, String accountName, String displayName, int type, String number) { 159 projection, contactId, lookupKey, accountName, displayName); 168 long contactId, String lookupKey, String accountName, String displayName, 171 galProjection, contactId, lookupKey, accountName, displayName); 205 String lookupKey; 319 lookupKey = pathSegments.get(2); 323 ps = new PackedString(lookupKey); 142 addEmailAddress(MatrixCursor cursor, GalProjection galProjection, long contactId, String lookupKey, String accountName, String displayName, String address) argument 155 addPhoneRow(MatrixCursor cursor, GalProjection projection, long contactId, String lookupKey, String accountName, String displayName, int type, String number) argument 167 addNameRow(MatrixCursor cursor, GalProjection galProjection, long contactId, String lookupKey, String accountName, String displayName, String firstName, String lastName) argument [all...] |
/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 | 315 * @param lookupKey the lookup uri. 317 private void startPhotoQuery(long photoId, Uri lookupKey) { argument 318 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/ |
H A D | ContactLoader.java | 201 private Result(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, argument 212 mLookupKey = lookupKey; 922 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY); 941 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), contactId); 946 return new Result(mRequestedUri, contactUri, lookupUri, directoryId, lookupKey,
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupEditorFragment.java | 780 String lookupKey = data.getString(GroupEditorQuery.CONTACT_LOOKUP_KEY); 783 listExistingMembers.add(new Member(rawContactId, lookupKey, contactId, 826 String lookupKey = cursor.getString(CONTACT_LOOKUP_KEY_COLUMN_INDEX); 829 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri); 849 public Member(long rawContactId, String lookupKey, long contactId, String displayName, argument 853 mLookupUri = Contacts.getLookupUri(contactId, lookupKey);
|