/packages/providers/ContactsKeysProvider/tests/src/com/android/providers/contactkeys/ |
D | E2eeContactKeysDatabaseHelperTest.java | 31 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/ |
D | ContactLoaderTest.java | 58 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/ |
D | Projections.java | 32 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/ |
D | ContactLookupKeyTest.java | 64 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/ |
D | E2eeContactKeysDatabaseHelper.java | 54 + 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()
|
D | E2eeContactKeysProvider.java | 123 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/ |
D | ContactTileLoaderFactory.java | 37 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/ |
D | SpeedDialUiItem.java | 51 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/ |
D | SmartDialCursorLoader.java | 102 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/ |
D | MultiSelectPhoneNumbersListAdapter.java | 44 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()
|
D | MultiSelectEmailAddressesListAdapter.java | 44 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()
|
D | PhoneNumberListAdapter.java | 105 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()
|
D | ContactListAdapter.java | 51 Contacts.LOOKUP_KEY, // 6 63 Contacts.LOOKUP_KEY, // 6 75 Contacts.LOOKUP_KEY, // 6 88 Contacts.LOOKUP_KEY, // 6
|
D | PostalAddressListAdapter.java | 45 StructuredPostal.LOOKUP_KEY, // 5 55 StructuredPostal.LOOKUP_KEY, // 5
|
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
D | PhoneQuery.java | 33 static final int LOOKUP_KEY = 7; field in PhoneQuery 62 PhoneLookup.LOOKUP_KEY,
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactViewHolder.java | 108 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/ |
D | PeopleActivityTest.java | 141 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/ |
D | ContactUtil.java | 89 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/ |
D | ContactsCursorLoader.java | 41 Contacts.LOOKUP_KEY, // 4 50 Contacts.LOOKUP_KEY, // 4
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactViewHolder.java | 134 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()
|
D | Cp2Contact.java | 104 .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/ |
D | Cp2Projections.java | 45 Phone.LOOKUP_KEY, // 8 60 PhoneLookup.LOOKUP_KEY // 8
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | ShortcutUsageReporter.java | 122 .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/ |
D | SpeedDialEntryDatabaseHelper.java | 57 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/ |
D | GroupMembersAdapter.java | 44 Data.LOOKUP_KEY, 54 Data.LOOKUP_KEY,
|