HomeSort by relevance Sort by last modified time
    Searched defs:contactId (Results 1 - 25 of 56) sorted by null

1 2 3

  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk5.java 60 long contactId = -1;
67 contactId = cursor.getLong(0);
77 Phone.CONTACT_ID + "=" + contactId, null, Phone.IS_SUPER_PRIMARY + " DESC");
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DirectoryTest.java 77 long contactId = queryContactId(createRawContactWithName("John", "Doe"));
87 assertEquals(contactId, cursor.getLong(0));
ContactLookupKeyTest.java 53 long contactId = queryContactId(rawContactId1);
54 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId),
59 assertStoredValue(lookupUri, Contacts._ID, contactId);
62 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId),
63 Contacts._ID, contactId);
66 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId + 1),
67 Contacts._ID, contactId);
88 long contactId = queryContactId(rawContactId1);
89 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId),
93 assertStoredValue(lookupUri, Contacts._ID, contactId);
    [all...]
SearchIndexManagerTest.java 49 long contactId = queryContactId(rawContactId);
65 contactId, null, "John Doe Bob I Parr Helen I Parr PhD par helen parhelen", null);
75 long contactId = queryContactId(rawContactId);
81 contactId, null, "\u695A\u8FAD \u695A\u8FAD CI \u8FAD CHUCI CC C", null);
110 long contactId = queryContactId(rawContactId);
115 assertSearchIndex(contactId, null,
174 long contactId = queryContactId(rawContactId);
185 assertSearchIndex(contactId,
192 long contactId = queryContactId(rawContactId);
196 assertSearchIndex(contactId, null, null, "8005554664 +18005554664 8005551234 +18005551234")
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
QuickContactsDemo.java 82 final long contactId = cursor.getLong(SUMMARY_ID_COLUMN_INDEX);
84 cache.photoView.assignContactUri(Contacts.getLookupUri(contactId, lookupKey));
  /packages/apps/Contacts/src/com/android/contacts/calllog/
ContactInfoHelper.java 116 long contactId = phonesCursor.getLong(PhoneQuery.PERSON_ID);
118 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactsListFragment.java 144 final long contactId = cursor.getLong(ContactsListLoader.COLUMN_ID);
146 return Contacts.getLookupUri(contactId, lookupKey);
ContactEntryAdapter.java 46 public long contactId;
  /frameworks/base/core/java/android/widget/
QuickContactBadge.java 261 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX);
263 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
275 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX);
277 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 144 final long contactId = ContentUris.parseId(result.getData());
146 mContentResolver, contactId);
184 public static ArrayList<Long> queryForAllRawContactIds(ContentResolver cr, long contactId) {
190 RawContacts.CONTACT_ID + "=" + contactId, null, null);
ShowOrCreateActivity.java 161 long contactId = -1;
167 contactId = cursor.getLong(CONTACT_ID_INDEX);
174 if (count == 1 && contactId != -1) {
176 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java 194 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
196 return Contacts.getLookupUri(contactId, lookupKey);
ContactListAdapter.java 127 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) {
130 mSelectedContactId = contactId;
154 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
156 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
168 * lookup key to be the same. We are paying no attention to the contactId,
288 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
289 if (contactId == mSelectedContactId) {
  /packages/apps/Contacts/tests/src/com/android/contacts/
ContactLoaderTest.java 99 final long contactId = 1;
104 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
108 contactId);
112 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
116 assertEquals(contactId, contact.getId());
128 final long contactId = 1;
136 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
139 contactId);
143 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, contactId, lookupKey);
144 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey)
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactLoader.java 116 final long contactId = ContentUris.parseId(contactUri);
118 + "=" + contactId, null, null);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLookupKey.java 42 public long contactId;
45 if (contactId > another.contactId) {
48 if (contactId < another.contactId) {
250 segment.contactId = -1;
ContactMatcher.java 160 * contactId - MatchScore map.
170 public MatchScore(long contactId) {
171 this.mContactId = contactId;
174 public void reset(long contactId) {
175 this.mContactId = contactId;
247 private MatchScore getMatchingScore(long contactId) {
248 MatchScore matchingScore = mScores.get(contactId);
252 matchingScore.reset(contactId);
254 matchingScore = new MatchScore(contactId);
258 mScores.put(contactId, matchingScore)
    [all...]
GlobalSearchSupport.java 108 long contactId;
133 list.add(contactId);
152 list.add(contactId);
177 return Contacts.getLookupUri(contactId, lookupKey).toString();
233 long contactId;
235 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey);
237 contactId = -1L;
240 db, projection, ContactsColumns.CONCRETE_ID + "=" + contactId, filter, null);
338 suggestion.contactId = c.getLong(0);
SocialProvider.java 306 final long contactId = ContentUris.parseId(uri);
307 return db.delete(Tables.ACTIVITIES, Activities.AUTHOR_CONTACT_ID + "=" + contactId, null);
347 long contactId = ContentUris.parseId(uri);
350 qb.appendWhere(Activities.AUTHOR_CONTACT_ID + "=" + contactId);
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ContactDeletionInteraction.java 227 long contactId = 0;
240 contactId = cursor.getLong(COLUMN_INDEX_CONTACT_ID);
263 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 275 long contactId = -1;
281 contactId = contactIdCursor.getLong(0);
288 return contactId;
291 public static String querySuperPrimaryPhone(ContentResolver cr, long contactId) {
295 Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
315 public static long queryForRawContactId(ContentResolver cr, long contactId) {
321 RawContacts.CONTACT_ID + "=" + contactId, null, null);
334 public static ArrayList<Long> queryForAllRawContactIds(ContentResolver cr, long contactId) {
340 RawContacts.CONTACT_ID + "=" + contactId, null, null);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapVcardManager.java 390 long contactId = 0;
397 contactId = contactCursor.getLong(CONTACTS_ID_COLUMN_INDEX);
398 if (V) Log.v(TAG, "Query startPointId = " + contactId);
411 contactId = contactCursor.getLong(CONTACTS_ID_COLUMN_INDEX);
412 if (V) Log.v(TAG, "Query startPointId = " + contactId);
423 selection = Contacts._ID + "=" + contactId;
  /packages/apps/Calendar/src/com/android/calendar/event/
AttendeesView.java 380 int contactId = 0;
390 contactId = cursor.getInt(PRESENCE_PROJECTION_CONTACT_ID_INDEX);
395 Log.d(TAG, "onQueryComplete Id: " + contactId + " PhotoId: " + photoId
404 contactId);
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 72 public long contactId;
83 return "ID: " + contactId + " rawContacts: " + rawContacts + " name: " + name
143 public void setContactId(long contactId) {
144 if (contactId != mContactId) {
145 mContactId = contactId;
338 long contactId = cursor.getLong(0);
339 if (Arrays.binarySearch(mSuggestedContactIds, contactId) < 0) {
380 long contactId = mDataCursor.getLong(DataQuery.CONTACT_ID);
381 if (contactId != currentContactId) {
383 suggestion.contactId = contactId
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
SuggestedMemberListAdapter.java 117 public void addNewMember(long contactId) {
118 mExistingMemberContactIds.add(contactId);
121 public void removeMember(long contactId) {
122 if (mExistingMemberContactIds.contains(contactId)) {
123 mExistingMemberContactIds.remove(contactId);
216 long contactId = cursor.getLong(CONTACT_ID_COLUMN_INDEX);
218 if (mExistingMemberContactIds.contains(contactId)) {
224 contactId);
328 public SuggestedMember(long rawContactId, String displayName, long contactId) {
331 mContactId = contactId;
    [all...]

Completed in 2398 milliseconds

1 2 3