/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsProvider2.java | [all...] |
ContactsDatabaseHelper.java | [all...] |
SearchIndexManager.java | 310 for (Long rawContactId : rawContactIds) { 311 sb.append(rawContactId).append(",");
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactsUtils.java | 273 public static long queryForContactId(ContentResolver cr, long rawContactId) { 279 RawContacts._ID + "=" + rawContactId, null, null); 317 long rawContactId = -1; 324 rawContactId = rawContactIdCursor.getLong(0); 331 return rawContactId;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 340 final long rawContactId = entValues.getAsLong(RawContacts._ID); 346 if (!mRawContactIds.contains(rawContactId)) { 347 mRawContactIds.add(rawContactId); 355 mWritableRawContactIds.add(rawContactId); 361 entryValues.put(Data.RAW_CONTACT_ID, rawContactId); 372 rawContactId, dataId, entryValues); 414 imMime, imKind, rawContactId, dataId, entryValues); 440 final boolean isNameRawContact = (mNameRawContactId == rawContactId); 459 final boolean isNameRawContact = (mNameRawContactId == rawContactId); 551 long rawContactId, long dataId, ContentValues values) [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 236 final long rawContactId = cursor.getLong(COLUMN_INDEX_RAW_CONTACT_ID); 244 writableRawContacts.add(rawContactId); 246 readOnlyRawContacts.add(rawContactId);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GlobalSearchSupportTest.java | 53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); 54 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough"); 57 mResolver.delete(Data.CONTENT_URI, Data.RAW_CONTACT_ID + "=" + rawContactId
|
NameLookupBuilderTest.java | 70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType,
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_RawContactsTest.java | 95 long rawContactid = RawContactUtil.insertRawContact(mResolver, 98 assertTrue(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); 100 RawContactUtil.delete(mResolver, rawContactid, false); 106 String[] result = RawContactUtil.queryByRawContactId(mResolver, rawContactid, 116 long rawContactid = RawContactUtil.insertRawContact(mResolver, 118 assertTrue(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); 120 RawContactUtil.delete(mResolver, rawContactid, true); 122 assertFalse(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); 184 long rawContactId) { 185 long contactId = RawContactUtil.queryContactIdByRawContactId(mResolver, rawContactId); [all...] |
ContactsContract_DataTest.java | 234 private long createData(long rawContactId) { 240 return DataUtil.insertData(mResolver, rawContactId, values);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | 530 long rawContactId = rawContact.getId(); 533 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId), 796 final long rawContactId = rawContactDelta.getRawContactId(); [all...] |
AggregationSuggestionView.java | 145 rawContactIds.add(rawContact.rawContactId);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ContactLoader.java | 475 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID); 476 if (rawContactId != currentRawContactId) { 479 currentRawContactId = rawContactId; [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
ContactAggregatorTest.java | 118 long rawContactId = RawContactUtil.createRawContact(mResolver); 120 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); 125 long contactId = queryContactId(rawContactId); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NotificationImportExportListener.java | 120 final long rawContactId = ContentUris.parseId(createdUri); 123 RawContacts.CONTENT_URI, rawContactId));
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 397 final long rawContactId = ContentUris.parseId(data); 398 final long contactId = queryForContactId(resolver, rawContactId); 403 final long rawContactId = ContentUris.parseId(data); 404 selectionArg = String.valueOf(rawContactId); 415 private static long queryForContactId(ContentResolver resolver, long rawContactId) { 421 RawContacts._ID + "=?", new String[] { String.valueOf(rawContactId) }, [all...] |
PhotoSelectionActivity.java | 539 long rawContactId = getWritableEntityId(); 542 mContext, delta, "", 0, mIsProfile, null, null, rawContactId, uri);
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupEditorFragment.java | 127 private static final String MEMBER_RAW_CONTACT_ID_KEY = "rawContactId"; 492 public void loadMemberToAddToGroup(long rawContactId, String contactId) { 494 args.putLong(MEMBER_RAW_CONTACT_ID_KEY, rawContactId); 785 long rawContactId = data.getLong(GroupEditorQuery.RAW_CONTACT_ID); 789 listExistingMembers.add(new Member(rawContactId, lookupKey, contactId, [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 213 final long rawContactId = ContentUris.parseId(lookupUri); 215 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId));
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailFragment.java | 536 final long rawContactId = rawContact.getId(); 539 dataItem.setRawContactId(rawContactId); 657 (mContactData.getNameRawContactId() == rawContactId); [all...] |
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | [all...] |