/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/ |
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/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 | 109 String lookupKey = getSelectedContactLookupKey(); 110 if (lookupKey != null) { 111 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);
|
/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/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/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...] |
/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));
|
/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/activities/ |
ShowOrCreateActivity.java | 159 String lookupKey = null; 165 lookupKey = cursor.getString(LOOKUP_KEY_INDEX); 173 final Uri contactUri = Contacts.getLookupUri(contactId, 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);
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
KeyIterator.java | 110 // System.out.println("lookupKey: "+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/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/editor/ |
AggregationSuggestionView.java | 82 mLookupKey = suggestion.lookupKey;
|
AggregationSuggestionEngine.java | 73 public String lookupKey; 385 suggestion.lookupKey = mDataCursor.getString(DataQuery.LOOKUP_KEY);
|
/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);
|
/external/llvm/lib/VMCore/ |
ConstantsContext.h | 647 typedef std::pair<TypeClass*, Operands> LookupKey; 664 return getHashValue(LookupKey(CP->getType(), CPOperands)); 669 static unsigned getHashValue(const LookupKey &Val) { 673 static bool isEqual(const LookupKey &LHS, const ConstantClass *RHS) { 726 LookupKey Lookup(Ty, V); 743 typename MapTy::iterator find(LookupKey Lookup) {
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupEditorFragment.java | 780 String lookupKey = data.getString(GroupEditorQuery.CONTACT_LOOKUP_KEY); 783 listExistingMembers.add(new Member(rawContactId, lookupKey, contactId, [all...] |