/packages/apps/Exchange/src/com/android/exchange/provider/ |
ExchangeDirectoryProvider.java | 107 GalContactRow(GalProjection projection, long contactId, String lookupKey, 112 put(Contacts.Entity.CONTACT_ID, contactId); 115 put(Contacts.Entity.RAW_CONTACT_ID, contactId); 143 long contactId, String lookupKey, String accountName, String displayName, 147 galProjection, contactId, lookupKey, accountName, displayName); 155 static void addPhoneRow(MatrixCursor cursor, GalProjection projection, long contactId, 159 projection, contactId, lookupKey, accountName, displayName); 168 long contactId, String lookupKey, String accountName, String displayName, 171 galProjection, contactId, lookupKey, accountName, displayName); 320 long contactId = (match == GAL_CONTACT_WITH_ID [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
SearchIndexManager.java | 242 for (Long contactId : contactIds) { 243 mSb.append(contactId).append(","); 291 long contactId = cursor.getLong(0); 292 if (contactId != currentContactId) { 297 currentContactId = contactId; 318 SQLiteDatabase db, long contactId, IndexBuilder builder, boolean replace) { 324 mSelectionArgs1[0] = String.valueOf(contactId); 328 mValues.put(SearchIndexColumns.CONTACT_ID, contactId); 332 mValues.put(SearchIndexColumns.CONTACT_ID, contactId);
|
LegacyApiSupport.java | [all...] |
ContactAggregator.java | 482 long contactId = mDbHelper.getContactId(rawContactId); 484 if (contactId != 0) { 485 updateAggregateData(txContext, contactId); 534 private void markContactForAggregation(SQLiteDatabase db, long contactId) { 535 mSelectionArgs1[0] = String.valueOf(contactId); 559 long contactId = insertContact(db, rawContactId); 560 setContactId(rawContactId, contactId); 561 mDbHelper.updateContactVisible(txContext, contactId); 562 return contactId; 597 long contactId = 0 [all...] |
ContactsDatabaseHelper.java | [all...] |
ContactsProvider2.java | [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GroupsTest.java | 237 final long contactId = this.queryContactId(rawContactId); 238 assertContactVisible(contactId, expected); 241 public void assertContactVisible(long contactId, boolean expected) { 244 }, Contacts._ID + "=" + contactId, null, null); 251 public ContentProviderOperation buildVisibleAssert(long contactId, boolean visible) { 253 Contacts._ID + "=" + contactId + " AND " + Contacts.IN_VISIBLE_GROUP + "=" 266 final long contactId = this.queryContactId(rawContactId); 267 final Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 275 oper.add(buildVisibleAssert(contactId, true)); 278 oper.add(buildVisibleAssert(contactId, true)) [all...] |
ContactAggregatorTest.java | 119 long contactId = queryContactId(rawContactId); 120 assertTrue(contactId != 0); 122 String displayName = queryDisplayName(contactId); [all...] |
BaseContactsProvider2Test.java | 538 protected Cursor queryContact(long contactId) { 539 return mResolver.query(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), 543 protected Cursor queryContact(long contactId, String[] projection) { 544 return mResolver.query(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), 555 long contactId = c.getLong(c.getColumnIndex(RawContacts.CONTACT_ID)); 557 return contactId; 560 protected long queryPhotoId(long contactId) { 561 Cursor c = queryContact(contactId); 568 protected long queryPhotoFileId(long contactId) { 569 return getStoredLongValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), [all...] |
ContactsProvider2Test.java | 662 long contactId = queryContactId(rawContactId); 663 String lookupKey = queryLookupKey(contactId); 666 Uri lookupUri = ContactsContract.Contacts.getLookupUri(contactId, lookupKey); 672 lookupUri = ContactsContract.Contacts.getLookupUri(contactId + 1, lookupKey); 714 long contactId = queryContactId(rawContactId1); 716 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 719 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); 736 long contactId = queryContactId(rawContactId1); 737 String lookupKey = queryLookupKey(contactId); 740 Uri contactLookupUri = ContactsContract.Contacts.getLookupUri(contactId, lookupKey) [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 368 final long contactId = ContentUris.parseId(data); 369 selectionArg = String.valueOf(contactId); 373 final long contactId = queryForContactId(resolver, rawContactId); 374 selectionArg = String.valueOf(contactId); 392 long contactId = -1; 399 contactId = contactIdCursor.getLong(0); 406 return contactId; [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 113 long contactId = 0; 117 contactId = data.getLong(0); 128 if (contactId != 0 && lookupKey != null) { 129 uri = Contacts.getLookupUri(contactId, lookupKey);
|
ContactEntryListAdapter.java | 620 long contactId = cursor.getLong(contactIdColumn); 622 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 299 long contactId = findArbitraryContactWithPhoneNumber(); 300 if (contactId != -1) { 301 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 310 long contactId = findArbitraryContactWithPhoneNumber(); 311 if (contactId != -1) { 312 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 336 final long contactId = findArbitraryContactWithPhoneNumber(); 337 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 343 final long contactId = findArbitraryContactWithPhoneNumber(); 344 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
CommandRecognizerEngine.java | [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 281 long contactId = cursor.getLong(PHONE_LOOKUP_CONTACT_ID_COLUMN_INDEX); 284 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey), 297 long contactId = cursor.getLong(EMAIL_LOOKUP_CONTACT_ID_COLUMN_INDEX); 300 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey),
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
BaseRecipientAdapter.java | 169 public final long contactId; 175 long contactId, long dataId, String thumbnailUriString) { 180 this.contactId = contactId; 445 * First, each destination (an email address or a phone number) with a valid contactId is 446 * inserted into {@link #mEntryMap} and grouped by the contactId. Destinations without valid 447 * contactId (possible if they aren't in local storage) are stored in 631 entry.contactId, entry.dataId, entry.thumbnailUriString)); 632 } else if (entryMap.containsKey(entry.contactId)) { 634 final List<RecipientEntry> entryList = entryMap.get(entry.contactId); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactSaveService.java | 336 final long contactId = c.getLong(0); 338 lookupUri = Contacts.getLookupUri(contactId, lookupKey); [all...] |
ContactLoader.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ContactsSyncAdapter.java | [all...] |
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | [all...] |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |