HomeSort by relevance Sort by last modified time
    Searched refs:lookupKey (Results 1 - 25 of 45) 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 73 String lookupKey;
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 = c.getString(1)
    [all...]
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/model/
ContactLoaderTest.java 104 final String lookupKey = "aa%12%@!";
108 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey),
113 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
120 assertEquals(lookupKey, contact.getLookupKey());
133 final String lookupKey = "aa%12%@!";
139 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey),
144 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, contactId, lookupKey);
145 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
152 assertEquals(lookupKey, contact.getLookupKey());
165 final String lookupKey = "aa%12%@!"
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
NfcHandler.java 68 final String lookupKey = Uri.encode(contactUri.getPathSegments().get(2));
72 if (lookupKey.equals(PROFILE_LOOKUP_KEY)) {
78 appendPath(lookupKey).
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListAdapter.java 126 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) {
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)) {
DefaultContactListAdapter.java 108 String lookupKey = getSelectedContactLookupKey();
109 if (lookupKey != null) {
110 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
JoinContactListAdapter.java 202 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
203 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 256 String lookupKey = cursor.getString(mLookupIndex);
263 contact.lookupKey = ContentUris.withAppendedId(
264 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), id);
671 public Uri lookupKey;
ContactTileView.java 102 mLookupUri = entry.lookupKey;
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_ContactsTest.java 90 String lookupKey = contact.getString(Contacts.LOOKUP_KEY);
92 Uri lookupUri = Contacts.getLookupUri(contactId, lookupKey);
94 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/exchange2/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 276 String lookupKey = cursor.getString(PHONE_LOOKUP_STRING_COLUMN_INDEX);
277 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
290 String lookupKey = cursor.getString(EMAIL_LOOKUP_STRING_COLUMN_INDEX);
291 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 159 String lookupKey = null;
165 lookupKey = cursor.getString(LOOKUP_KEY_INDEX);
173 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 227 String lookupKey = null;
240 lookupKey = cursor.getString(COLUMN_INDEX_LOOKUP_KEY);
262 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 342 final String lookupKey = lookupUri.getPathSegments().get(2);
344 lookupKey);
417 final String lookupKey = lookupUri.getPathSegments().get(2);
419 lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/model/
Contact.java 140 public Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey,
151 mLookupKey = lookupKey;
472 return "{requested=" + mRequestedUri + ",lookupkey=" + mLookupKey +

Completed in 1231 milliseconds

1 2