HomeSort by relevance Sort by last modified time
    Searched refs:lookupKey (Results 1 - 25 of 40) sorted by null

1 2

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLookupKey.java 67 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet,
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) {
    [all...]
GlobalSearchSupport.java 110 String lookupKey;
139 list.add(lookupKey);
164 list.add(lookupKey);
166 list.add(lookupKey);
177 return Contacts.getLookupUri(contactId, lookupKey).toString();
227 * <p>Note that if {@code lookupKey} is not a valid lookup key, an empty cursor is returned
232 String lookupKey, String filter) {
235 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey);
339 suggestion.lookupKey = c.getString(1);
ProfileAwareUriMatcher.java 120 String lookupKey = uri.getPathSegments().get(lookupKeySegment);
121 if (ContactLookupKey.PROFILE_LOOKUP_KEY.equals(lookupKey)) {
  /packages/apps/Contacts/tests/src/com/android/contacts/
ContactLoaderTest.java 103 final String lookupKey = "aa%12%@!";
107 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey),
112 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
119 assertEquals(lookupKey, contact.getLookupKey());
132 final String lookupKey = "aa%12%@!";
138 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey),
143 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, contactId, lookupKey);
144 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
151 assertEquals(lookupKey, contact.getLookupKey());
164 final String lookupKey = "aa%12%@!"
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
NfcHandler.java 69 final String lookupKey = Uri.encode(contactUri.getPathSegments().get(2));
73 if (lookupKey.equals(PROFILE_LOOKUP_KEY)) {
79 appendPath(lookupKey).
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListAdapter.java 127 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) {
129 mSelectedContactLookupKey = lookupKey;
155 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
156 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
176 String lookupKey = getSelectedContactLookupKey();
177 if (lookupKey != null && TextUtils.equals(lookupKey,
280 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
281 if (mSelectedContactLookupKey.equals(lookupKey)) {
DefaultContactListAdapter.java 111 String lookupKey = getSelectedContactLookupKey();
112 if (lookupKey != null) {
113 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
JoinContactListAdapter.java 195 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
196 return Contacts.getLookupUri(contactId, lookupKey);
ContactBrowseListFragment.java 118 final String lookupKey = cursor.getString(1);
119 if (contactId != 0 && !TextUtils.isEmpty(lookupKey)) {
120 return Contacts.getLookupUri(contactId, lookupKey);
ContactTileAdapter.java 237 String lookupKey = cursor.getString(mLookupIndex);
244 contact.lookupKey = ContentUris.withAppendedId(
245 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), id);
659 public Uri lookupKey;
ContactTileView.java 95 mLookupUri = entry.lookupKey;
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_ContactsTest.java 89 String lookupKey = contact.getString(Contacts.LOOKUP_KEY);
91 Uri lookupUri = Contacts.getLookupUri(contactId, lookupKey);
93 lookupKey), contactId), lookupUri);
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
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) {
229 Contacts.getLookupUri(contactId, lookupKey), Contacts.Entity.CONTENT_DIRECTORY);
232 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
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,
226 ArrayList<LookupKeySegment> list = key.parse(lookupKey);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
QuickContactsDemo.java 83 final String lookupKey = cursor.getString(SUMMARY_LOOKUP_KEY);
84 cache.photoView.assignContactUri(Contacts.getLookupUri(contactId, lookupKey));
  /packages/apps/Exchange/src/com/android/exchange/provider/
ExchangeDirectoryProvider.java 107 GalContactRow(GalProjection projection, long contactId, String lookupKey,
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);
    [all...]
  /frameworks/base/core/java/android/widget/
QuickContactBadge.java 262 String lookupKey = cursor.getString(PHONE_LOOKUP_STRING_COLUMN_INDEX);
263 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
276 String lookupKey = cursor.getString(EMAIL_LOOKUP_STRING_COLUMN_INDEX);
277 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/calllog/
ContactInfoHelper.java 117 String lookupKey = phonesCursor.getString(PhoneQuery.LOOKUP_KEY);
118 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactsListFragment.java 145 final String lookupKey = cursor.getString(ContactsListLoader.COLUMN_LOOKUP_KEY);
146 return Contacts.getLookupUri(contactId, lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/activities/
ShowOrCreateActivity.java 162 String lookupKey = null;
168 lookupKey = cursor.getString(LOOKUP_KEY_INDEX);
176 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
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) {
609 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey,
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ContactDeletionInteraction.java 228 String lookupKey = null;
241 lookupKey = cursor.getString(COLUMN_INDEX_LOOKUP_KEY);
263 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionView.java 82 mLookupKey = suggestion.lookupKey;
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 348 final String lookupKey = lookupUri.getPathSegments().get(2);
350 lookupKey);
423 final String lookupKey = lookupUri.getPathSegments().get(2);
425 lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupEditorFragment.java 795 String lookupKey = data.getString(GroupEditorQuery.CONTACT_LOOKUP_KEY);
    [all...]

Completed in 435 milliseconds

1 2