Home
last modified time | relevance | path

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

123

/packages/providers/ContactsKeysProvider/tests/src/com/android/providers/contactkeys/
DE2eeContactKeysDatabaseHelperTest.java31 private static final String LOOKUP_KEY = "0r1-423A2E4644502A2E50"; field in E2eeContactKeysDatabaseHelperTest
69 mDbHelper.removeContactKey(LOOKUP_KEY, DEVICE_ID, ACCOUNT_ID, OWNER_PACKAGE_NAME); in tearDown()
70 mDbHelper.removeContactKey(LOOKUP_KEY, DEVICE_ID_2, ACCOUNT_ID, OWNER_PACKAGE_NAME); in tearDown()
71 mDbHelper.removeContactKey(LOOKUP_KEY, DEVICE_ID_2, ACCOUNT_ID, OWNER_PACKAGE_NAME_2); in tearDown()
77 mDbHelper.updateOrInsertContactKey(LOOKUP_KEY, KEY_VALUE, DEVICE_ID, ACCOUNT_ID, in testInsertAndGetContactKey()
80 mDbHelper.getContactKey(LOOKUP_KEY, OWNER_PACKAGE_NAME, DEVICE_ID, ACCOUNT_ID); in testInsertAndGetContactKey()
92 mDbHelper.updateOrInsertContactKey(LOOKUP_KEY, KEY_VALUE, DEVICE_ID, ACCOUNT_ID, in testInsertContactKeyNoBasicContactInfo()
95 mDbHelper.getContactKey(LOOKUP_KEY, OWNER_PACKAGE_NAME, DEVICE_ID, ACCOUNT_ID); in testInsertContactKeyNoBasicContactInfo()
106 mDbHelper.updateOrInsertContactKey(LOOKUP_KEY, KEY_VALUE, DEVICE_ID, ACCOUNT_ID, in testUpdateContactKey()
110 mDbHelper.updateContactKeyLocalVerificationState(LOOKUP_KEY, OWNER_PACKAGE_NAME, DEVICE_ID, in testUpdateContactKey()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java58 private static final String LOOKUP_KEY = "aa%12%@!"; field in ContactLoaderTest
118 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithContactIdUri()
123 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactIdUri()
130 assertEquals(LOOKUP_KEY, contact.getLookupKey()); in testLoadContactWithContactIdUri()
145 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithOldStyleUri()
150 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
151 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
158 assertEquals(LOOKUP_KEY, contact.getLookupKey()); in testLoadContactWithOldStyleUri()
175 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithRawContactIdUri()
181 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri()
[all …]
/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java64 Contacts.LOOKUP_KEY, expectedLookupKey); in testLookupKeyUsingDisplayNameAndNoAccount()
103 Contacts.LOOKUP_KEY, expectedLookupKey); in testLookupKeyUsingSourceIdAndNoAccount()
127 Contacts.LOOKUP_KEY, accountHashCode1 + "i1"); in testLookupKeySameSourceIdDifferentAccounts()
131 Contacts.LOOKUP_KEY, accountHashCode2 + "i1"); in testLookupKeySameSourceIdDifferentAccounts()
160 Contacts.LOOKUP_KEY, lookupKey); in testLookupKeyChoosingLargestContact()
173 Contacts.LOOKUP_KEY, accountHashCode + "i1." + accountHashCode + "i2"); in testLookupKeyChoosingLargestContact()
176 Contacts.LOOKUP_KEY, accountHashCode + "i3"); in testLookupKeyChoosingLargestContact()
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/
DE2eeContactKeysDatabaseHelper.java54 + E2eeContactKeys.LOOKUP_KEY + " TEXT NOT NULL, " in onCreate()
66 + E2eeContactKeys.LOOKUP_KEY + ", " in onCreate()
106 + " WHERE " + E2eeContactKeys.LOOKUP_KEY + " = ?", in getAllContactKeys()
151 + " WHERE " + E2eeContactKeys.LOOKUP_KEY + " = ?" in getContactKeysForOwnerPackageName()
193 + " WHERE " + E2eeContactKeys.LOOKUP_KEY + " = ?" in getContactKey()
230 + " WHERE " + E2eeContactKeys.LOOKUP_KEY + " = ?" in updateContactKeyLocalVerificationState()
255 + " WHERE " + E2eeContactKeys.LOOKUP_KEY + " = ?" in updateContactKeyRemoteVerificationState()
278 + E2eeContactKeys.LOOKUP_KEY + ", " in updateOrInsertContactKey()
290 + E2eeContactKeys.LOOKUP_KEY + ", " in updateOrInsertContactKey() argument
349 + " WHERE " + E2eeContactKeys.LOOKUP_KEY + " = ?" in removeContactKey()
DE2eeContactKeysProvider.java123 final String lookupKey = extras.getString(E2eeContactKeys.LOOKUP_KEY); in updateOrInsertE2eeContactKey()
155 final String lookupKey = extras.getString(E2eeContactKeys.LOOKUP_KEY); in getE2eeContactKey()
178 String lookupKey = extras.getString(E2eeContactKeys.LOOKUP_KEY); in getAllE2eeContactKeys()
212 String lookupKey = extras.getString(E2eeContactKeys.LOOKUP_KEY); in getOwnerE2eeContactKeys()
236 final String lookupKey = extras.getString(E2eeContactKeys.LOOKUP_KEY); in updateE2eeContactKeyLocalVerificationState()
274 final String lookupKey = extras.getString(E2eeContactKeys.LOOKUP_KEY); in updateE2eeContactKeyRemoteVerificationState()
310 final String lookupKey = extras.getString(E2eeContactKeys.LOOKUP_KEY); in removeE2eeContactKey()
520 ContactsContract.Data.LOOKUP_KEY + " = ?", in getDisplayNameAndNumber()
544 ContactsContract.Data.LOOKUP_KEY + " = ?", in getEmail()
/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/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/
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()
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()
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/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/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.java141 values.put(Contacts.LOOKUP_KEY, "lu" + i); in expectContactListQuery()
152 .withProjection(Contacts._ID, Contacts.LOOKUP_KEY) in expectContactLookupQuery()
161 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey); in expectContactEntityQuery()
/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/contactsfragment/
DContactsCursorLoader.java41 Contacts.LOOKUP_KEY, // 4
50 Contacts.LOOKUP_KEY, // 4
/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/phonelookup/cp2/
DCp2Projections.java45 Phone.LOOKUP_KEY, // 8
60 PhoneLookup.LOOKUP_KEY // 8
/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/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/Contacts/src/com/android/contacts/group/
DGroupMembersAdapter.java44 Data.LOOKUP_KEY,
54 Data.LOOKUP_KEY,

123