Home
last modified time | relevance | path

Searched refs:LOOKUP_KEY (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java53 private static final String LOOKUP_KEY = "aa%12%@!"; field in ContactLoaderTest
113 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithContactIdUri()
118 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactIdUri()
125 assertEquals(LOOKUP_KEY, contact.getLookupKey()); in testLoadContactWithContactIdUri()
140 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithOldStyleUri()
145 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
146 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
153 assertEquals(LOOKUP_KEY, contact.getLookupKey()); in testLoadContactWithOldStyleUri()
170 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithRawContactIdUri()
176 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java56 Contacts.LOOKUP_KEY, expectedLookupKey); in testLookupKeyUsingDisplayNameAndNoAccount()
91 Contacts.LOOKUP_KEY, expectedLookupKey); in testLookupKeyUsingSourceIdAndNoAccount()
115 Contacts.LOOKUP_KEY, accountHashCode1 + "i1"); in testLookupKeySameSourceIdDifferentAccounts()
119 Contacts.LOOKUP_KEY, accountHashCode2 + "i1"); in testLookupKeySameSourceIdDifferentAccounts()
146 Contacts.LOOKUP_KEY, lookupKey); in testLookupKeyChoosingLargestContact()
159 Contacts.LOOKUP_KEY, "0i1.0i2"); in testLookupKeyChoosingLargestContact()
162 Contacts.LOOKUP_KEY, "0i3"); in testLookupKeyChoosingLargestContact()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DProjections.java32 public static final int LOOKUP_KEY = 7; field in Projections
53 Phone.LOOKUP_KEY, // 7
73 Data.LOOKUP_KEY, // 7
92 Data.LOOKUP_KEY, // 7
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItem.java51 public static final int LOOKUP_KEY = 0; field in SpeedDialUiItem
63 Phone.LOOKUP_KEY,
76 Phone.LOOKUP_KEY,
114 String lookupKey = cursor.getString(LOOKUP_KEY); in fromCursor()
153 } while (cursor.moveToNext() && Objects.equals(lookupKey, cursor.getString(LOOKUP_KEY))); in fromCursor()
/packages/apps/Dialer/java/com/android/dialer/smartdial/
DSmartDialCursorLoader.java102 row[PhoneQuery.LOOKUP_KEY] = contact.lookupKey; in loadInBackground()
195 Phone.LOOKUP_KEY, // 5
209 Phone.LOOKUP_KEY, // 5
220 public static final int LOOKUP_KEY = 5; field in SmartDialCursorLoader.PhoneQuery
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectEmailAddressesListAdapter.java44 Email.LOOKUP_KEY, // 5
56 Email.LOOKUP_KEY, // 5
67 public static final int LOOKUP_KEY = 5; field in MultiSelectEmailAddressesListAdapter.EmailQuery
162 bindPhoto(view, cursor, EmailQuery.PHOTO_ID, EmailQuery.LOOKUP_KEY, in bindView()
DMultiSelectPhoneNumbersListAdapter.java44 Phone.LOOKUP_KEY, // 5
56 Phone.LOOKUP_KEY, // 5
67 public static final int LOOKUP_KEY = 5; field in MultiSelectPhoneNumbersListAdapter.PhoneQuery
162 bindPhoto(view, cursor, PhoneQuery.PHOTO_ID, PhoneQuery.LOOKUP_KEY, in bindView()
DPhoneNumberListAdapter.java105 Phone.LOOKUP_KEY, // 5
127 Phone.LOOKUP_KEY, // 5
148 public static final int LOOKUP_KEY = 5; field in PhoneNumberListAdapter.PhoneQuery
370 return item != null ? item.getString(PhoneQuery.LOOKUP_KEY) : null; in getLookupKey()
450 PhoneQuery.LOOKUP_KEY, PhoneQuery.DISPLAY_NAME); in bindView()
554 final String lookupKey = cursor.getString(PhoneQuery.LOOKUP_KEY); in bindPhoto()
DContactListAdapter.java51 Contacts.LOOKUP_KEY, // 6
63 Contacts.LOOKUP_KEY, // 6
75 Contacts.LOOKUP_KEY, // 6
88 Contacts.LOOKUP_KEY, // 6
DPostalAddressListAdapter.java45 StructuredPostal.LOOKUP_KEY, // 5
55 StructuredPostal.LOOKUP_KEY, // 5
/packages/apps/Contacts/src/com/android/contacts/
DContactTileLoaderFactory.java37 public final static int LOOKUP_KEY = 4; field in ContactTileLoaderFactory
58 Contacts.LOOKUP_KEY, // ...................................4
75 Contacts.LOOKUP_KEY, // ...................................4
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java89 Phone.LOOKUP_KEY, // 6
107 PhoneLookup.LOOKUP_KEY, // 6
121 Phone.LOOKUP_KEY, // 3
138 Email.LOOKUP_KEY, // 6
154 Profile.LOOKUP_KEY // 3
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactViewHolder.java134 String currentLookupKey = cursor.getString(Projections.LOOKUP_KEY); in shouldShowPhoto()
138 String previousLookupKey = cursor.getString(Projections.LOOKUP_KEY); in shouldShowPhoto()
148 String lookupKey = cursor.getString(Projections.LOOKUP_KEY); in getContactUri()
275 cursor.getLong(Projections.CONTACT_ID), cursor.getString(Projections.LOOKUP_KEY)); in getDialerContact()
DCp2Contact.java104 .setLookupKey(cursor.getString(Projections.LOOKUP_KEY)) in fromCursor()
122 row[Projections.LOOKUP_KEY] = lookupKey(); in toCursorRow()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactViewHolder.java108 String currentLookupKey = cursor.getString(Projections.LOOKUP_KEY); in shouldShowPhoto()
112 String previousLookupKey = cursor.getString(Projections.LOOKUP_KEY); in shouldShowPhoto()
133 String lookupKey = cursor.getString(Projections.LOOKUP_KEY); in getContactUri()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java140 values.put(Contacts.LOOKUP_KEY, "lu" + i); in expectContactListQuery()
151 .withProjection(Contacts._ID, Contacts.LOOKUP_KEY) in expectContactLookupQuery()
160 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey); in expectContactEntityQuery()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DPhoneQuery.java33 static final int LOOKUP_KEY = 7; field in PhoneQuery
62 PhoneLookup.LOOKUP_KEY,
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java127 + SmartDialDbColumns.LOOKUP_KEY in setupTables()
513 + SmartDialDbColumns.LOOKUP_KEY in insertUpdatedContactsAndNumberPrefix()
922 + SmartDialDbColumns.LOOKUP_KEY in getLooseMatches()
1042 String LOOKUP_KEY = "lookup_key"; field
1085 Phone.LOOKUP_KEY, // 5
1122 String SELECT_IGNORE_LOOKUP_KEY_TOO_LONG_CLAUSE = "length(" + Phone.LOOKUP_KEY + ") < 1000";
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntryDatabaseHelper.java57 private static final String LOOKUP_KEY = "lookup_key"; field in SpeedDialEntryDatabaseHelper
81 + (LOOKUP_KEY + " text, ")
248 values.put(LOOKUP_KEY, entry.lookupKey()); in buildContentValues()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsCursorLoader.java41 Contacts.LOOKUP_KEY, // 4
50 Contacts.LOOKUP_KEY, // 4
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DShortcutUsageReporter.java122 .query(uri, new String[] {Contacts.LOOKUP_KEY}, null, null, null)) { in queryForLookupKey() argument
128 return cursor.getString(cursor.getColumnIndex(Contacts.LOOKUP_KEY)); in queryForLookupKey()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2Projections.java45 Phone.LOOKUP_KEY, // 8
60 PhoneLookup.LOOKUP_KEY // 8
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java279 Data.LOOKUP_KEY,
291 public static final int LOOKUP_KEY = 1; field in AggregationSuggestionEngine.DataQuery
391 suggestion.contactLookupKey = mDataCursor.getString(DataQuery.LOOKUP_KEY); in getSuggestions()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersAdapter.java44 Data.LOOKUP_KEY,
54 Data.LOOKUP_KEY,
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DContactResultsLiveData.java51 ContactsContract.CommonDataKinds.Phone.LOOKUP_KEY,
129 ContactsContract.CommonDataKinds.Phone.LOOKUP_KEY); in onQueryFinished()

123