HomeSort by relevance Sort by last modified time
    Searched full:lookupkey (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLookupKey.java 65 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet,
72 if (lookupKey.length() != 0) {
73 lookupKey.append(".");
76 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName));
78 lookupKey.append('r').append(rawContactId).append('-').append(
81 int pos = lookupKey.length();
82 lookupKey.append('i');
83 if (appendEscapedSourceId(lookupKey, sourceId)) {
84 lookupKey.setCharAt(pos, 'e');
107 public ArrayList<LookupKeySegment> parse(String lookupKey) {
    [all...]
GlobalSearchSupport.java 74 String lookupKey;
108 list.add(lookupKey); // shortcut id
133 list.add(lookupKey);
135 list.add(lookupKey);
146 return Contacts.getLookupUri(contactId, lookupKey).toString();
152 lookupKey = null;
205 * <p>Note that if {@code lookupKey} is not a valid lookup key, an empty cursor is returned
210 String lookupKey, String filter, CancellationSignal cancellationSignal) {
213 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey);
260 suggestion.lookupKey = c.getString(1)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleRecipientEntry.java 34 final String lookupKey) {
36 directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, lookupKey);
43 final String lookupKey) {
46 ? Uri.parse(thumbnailUriAsString) : null), true, isValid, lookupKey);
53 final String lookupKey) {
56 ? Uri.parse(thumbnailUriAsString) : null), false, isValid, lookupKey);
  /frameworks/opt/chips/tests/src/com/android/ex/chips/
RecipientAlternatesAdapterTest.java 36 null /* desiredMimeType */, null /* lookupKey */).getCount());
43 null /* desiredMimeType */, null /* lookupKey */);
51 null /* desiredMimeType */, null /* lookupKey */);
61 null /* desiredMimeType */, null /* lookupKey */);
71 null /* desiredMimeType */, null /* lookupKey */);
129 true, null /* lookupKey */);
142 true, null /* lookupKey */);
146 true, null /* lookupKey */);
157 Uri.parse("http://www.android.com"), true, null /* lookupKey */);
161 0, (Uri) null, true, null /* lookupKey */);
    [all...]
  /frameworks/opt/chips/src/com/android/ex/chips/
RecipientEntry.java 101 String lookupKey, String[] permissions) {
104 true /* shouldDisplayIcon */, isFirstLevel, isValid, lookupKey, permissions);
110 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) {
124 mLookupKey = lookupKey;
133 String lookupKey) {
136 lookupKey, null);
162 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */);
172 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */);
184 isValid, null /* lookupKey */, null /* permissions */);
190 String lookupKey) {
    [all...]
RecipientAlternatesAdapter.java 370 String lookupKey, long currentId, int queryMode, OnCheckedItemChangedListener listener,
373 this(context, contactId, directoryId, lookupKey, currentId, queryMode, listener,
378 String lookupKey, long currentId, int queryMode, OnCheckedItemChangedListener listener,
382 getCursorForConstruction(context, contactId, directoryId, lookupKey, queryMode,
394 Long directoryId, String lookupKey, int queryType,
403 if (directoryId == null || lookupKey == null) {
407 uri = Contacts.getLookupUri(contactId, lookupKey)
418 if (lookupKey == null) {
422 uri = Contacts.getLookupUri(contactId, lookupKey)
444 final Cursor resultCursor = removeUndesiredDestinations(cursor, desiredMimeType, lookupKey);
    [all...]
  /frameworks/base/core/java/android/provider/
ContactsInternal.java 99 final String lookupKey = pathSegments.get(2);
105 // See if it has a corp lookupkey.
106 if (TextUtils.isEmpty(lookupKey)
107 || !lookupKey.startsWith(
121 final String actualLookupKey = lookupKey.substring(
  /packages/apps/Dialer/tests/src/com/android/dialer/database/
DatabaseTestUtils.java 62 MatrixCursor nameCursor, int id, String number, int contactId, String lookupKey,
75 contactCursor.addRow(new Object[]{id, "", "", number, contactId, lookupKey, displayName,
80 return new ContactNumber(contactId, id, displayName, number, lookupKey, 0, 0);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactTileStarredView.java 52 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) {
53 return new DefaultImageRequest(displayName, lookupKey, ContactPhotoManager.TYPE_DEFAULT,
ContactListAdapter.java 147 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) {
149 mSelectedContactLookupKey = lookupKey;
175 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
176 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
205 String lookupKey = getSelectedContactLookupKey();
206 if (lookupKey != null && TextUtils.equals(lookupKey,
314 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
315 if (mSelectedContactLookupKey.equals(lookupKey)) {
ContactTileView.java 129 entry.lookupKey);
210 * @param lookupKey The lookup key of the contact
214 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) {
215 return new DefaultImageRequest(displayName, lookupKey, isContactPhotoCircular());
PhoneNumberPickerFragment.java 228 final String lookupKey = getLookupKey(position);
229 if (!TextUtils.isEmpty(lookupKey)) {
230 maybeTrackAnalytics(lookupKey);
382 * @param lookupKey The lookup key JSON object.
384 private void maybeTrackAnalytics(String lookupKey) {
386 JSONObject json = new JSONObject(lookupKey);
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
PeopleActivityTest.java 155 String lookupKey, long id, String returnLookupKey, long returnId) {
156 Uri uri = Contacts.getLookupUri(id, lookupKey);
164 private void expectContactEntityQuery(String lookupKey, int contactId) {
166 Contacts.getLookupUri(contactId, lookupKey), Contacts.Entity.CONTENT_DIRECTORY);
169 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/
NfcHandler.java 68 final String lookupKey = Uri.encode(mContactUri.getPathSegments().get(2));
72 if (lookupKey.equals(PROFILE_LOOKUP_KEY)) {
78 appendPath(lookupKey).
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
AccountImageHelper.java 64 String lookupKey = null;
74 lookupKey = c.getString(3);
84 if (contactId != -1 && !TextUtils.isEmpty(lookupKey) && !TextUtils.isEmpty(photoUri)) {
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
AbstractAssetMatcher.java 32 * This AssetMatcher will only match Asset with {@code lookupKey()} equal to the value returned
AndroidAppAssetMatcher.java 54 return mQuery.lookupKey();
WebAssetMatcher.java 41 return mQuery.lookupKey();
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
ContactUtils.java 46 public abstract boolean retrieveContactInteractionsFromLookupKey(String lookupKey,
  /packages/apps/Dialer/src/com/android/dialer/calllog/
ContactInfoHelper.java 183 String lookupKey = phoneLookupCursor.getString(PhoneQuery.LOOKUP_KEY);
184 ContactInfo contactInfo = createPhoneLookupContactInfo(phoneLookupCursor, lookupKey);
185 contactInfo.nameAlternative = lookUpDisplayNameAlternative(mContext, lookupKey,
193 private ContactInfo createPhoneLookupContactInfo(Cursor phoneLookupCursor, String lookupKey) {
195 info.lookupKey = lookupKey;
197 lookupKey);
212 public static String lookUpDisplayNameAlternative(Context context, String lookupKey,
215 if (lookupKey == null || userType == ContactsUtils.USER_TYPE_WORK) {
218 final Uri uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_ContactsTest.java 99 String lookupKey = contact.getString(Contacts.LOOKUP_KEY);
101 Uri lookupUri = Contacts.getLookupUri(contactId, lookupKey);
103 lookupKey), contactId), lookupUri);
179 final String lookupKey = contact.getString(Contacts.LOOKUP_KEY);
233 Contacts.getLookupUri(contactId, lookupKey),
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 142 String lookupKey = "0i1.0i2.0i3";
146 Contacts.LOOKUP_KEY, lookupKey);
164 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
224 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types,
227 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/Dialer/src/com/android/dialer/filterednumber/
NumbersAdapter.java 98 final String lookupKey = info.lookupUri == null
102 final DefaultImageRequest request = new DefaultImageRequest(displayName, lookupKey,
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/
ContactTestUtils.java 44 String lookupKey = cursor.getString(
47 lookupKey);

Completed in 559 milliseconds

1 2 3 4 5