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

1 2 3

  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ContactLoaderUtils.java 58 final long rawContactId = ContentUris.parseId(uri);
60 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId));
71 final long rawContactId = ContentUris.parseId(uri);
73 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForIdentity.java 35 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
37 final long dataId = super.insert(db, txContext, rawContactId, values);
41 triggerAggregation(txContext, rawContactId);
54 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
56 triggerAggregation(txContext, rawContactId);
67 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
68 triggerAggregation(txContext, rawContactId);
DataRowHandlerForNickname.java 39 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
43 long dataId = super.insert(db, txContext, rawContactId, values);
46 fixRawContactDisplayName(db, txContext, rawContactId);
47 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname);
48 triggerAggregation(txContext, rawContactId);
57 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
66 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname);
67 fixRawContactDisplayName(db, txContext, rawContactId);
68 triggerAggregation(txContext, rawContactId);
77 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID)
    [all...]
DataRowHandlerForOrganization.java 41 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
46 long dataId = super.insert(db, txContext, rawContactId, values);
48 fixRawContactDisplayName(db, txContext, rawContactId);
63 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
89 fixRawContactDisplayName(db, txContext, rawContactId);
97 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
100 fixRawContactDisplayName(db, txContext, rawContactId);
DataRowHandlerForEmail.java 37 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
41 long dataId = super.insert(db, txContext, rawContactId, values);
43 fixRawContactDisplayName(db, txContext, rawContactId);
44 String address = mDbHelper.insertNameLookupForEmail(rawContactId, dataId, email);
46 triggerAggregation(txContext, rawContactId);
60 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
64 mDbHelper.insertNameLookupForEmail(rawContactId, dataId, address);
65 fixRawContactDisplayName(db, txContext, rawContactId);
66 triggerAggregation(txContext, rawContactId);
75 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID)
    [all...]
DataRowHandlerForGroupMembership.java 75 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
77 resolveGroupSourceIdInValues(txContext, rawContactId, db, values, true);
78 long dataId = super.insert(db, txContext, rawContactId, values);
79 if (hasFavoritesGroupMembership(db, rawContactId)) {
80 updateRawContactsStar(db, rawContactId, true /* starred */);
82 updateVisibility(txContext, rawContactId);
89 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
90 boolean wasStarred = hasFavoritesGroupMembership(db, rawContactId);
91 resolveGroupSourceIdInValues(txContext, rawContactId, db, values, false);
95 boolean isStarred = hasFavoritesGroupMembership(db, rawContactId);
    [all...]
DataRowHandlerForPhoneNumber.java 42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
46 final long dataId = super.insert(db, txContext, rawContactId, values);
50 updatePhoneLookup(db, rawContactId, dataId, number, normalizedNumber);
51 mContactAggregator.updateHasPhoneNumber(db, rawContactId);
52 fixRawContactDisplayName(db, txContext, rawContactId);
54 triggerAggregation(txContext, rawContactId);
70 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
71 updatePhoneLookup(db, rawContactId, dataId,
74 mContactAggregator.updateHasPhoneNumber(db, rawContactId);
75 fixRawContactDisplayName(db, txContext, rawContactId);
    [all...]
DataRowHandlerForPhoto.java 58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
70 long dataId = super.insert(db, txContext, rawContactId, values);
71 if (!txContext.isNewRawContact(rawContactId)) {
72 mContactAggregator.updatePhotoId(db, rawContactId);
80 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
96 mContactAggregator.updatePhotoId(db, rawContactId);
132 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
134 mContactAggregator.updatePhotoId(db, rawContactId);
ContactLookupKey.java 38 public String rawContactId;
66 String accountName, long rawContactId, String sourceId,
78 lookupKey.append('r').append(rawContactId).append('-').append(
126 String rawContactId = null;
231 rawContactId = string.substring(start, dash);
249 segment.rawContactId = rawContactId;
DataRowHandlerForStructuredName.java 47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
51 long dataId = super.insert(db, txContext, rawContactId, values);
55 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
59 fixRawContactDisplayName(db, txContext, rawContactId);
60 triggerAggregation(txContext, rawContactId);
68 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
83 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
88 fixRawContactDisplayName(db, txContext, rawContactId);
89 triggerAggregation(txContext, rawContactId);
96 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
CallerInfoIntegrationTest.java 46 long rawContactId = ContentUris.parseId(rawContactUri);
48 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale");
49 insertPhoneNumber(rawContactId, "800-466-4411");
SqlInjectionDetectionTest.java 46 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale");
47 insertPhoneNumber(rawContactId, "555-123-4567");
54 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale");
55 insertPhoneNumber(rawContactId, "555-123-4567");
62 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale");
63 insertPhoneNumber(rawContactId, "555-123-4567");
70 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale");
71 insertPhoneNumber(rawContactId, "555-123-4567");
79 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale");
80 insertPhoneNumber(rawContactId, "555-123-4567")
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_StreamItemPhotosTest.java 40 long rawContactId = ContactsContract_StreamItemsTest.insertRawContact(mResolver);
42 rawContactId);
ContactsContract_StreamItemsTest.java 56 long rawContactId = insertRawContact(mResolver);
57 Uri streamItemUri = insertViaContentDirectoryUri(mResolver, rawContactId);
63 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId).buildUpon()
73 values.put(Data.RAW_CONTACT_ID, rawContactId);
91 long rawContactId = ContentUris.parseId(contactUri);
92 assertTrue(rawContactId != -1);
93 return rawContactId;
96 static Uri insertViaContentDirectoryUri(ContentResolver resolver, long rawContactId) {
106 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId),
130 long rawContactId = ContentUris.parseId(results[0].uri)
    [all...]
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/
ContactTestUtils.java 69 long rawContactId = ContentUris.parseId(rawContactUri);
70 insertStructuredName(contentResolver, rawContactId, name, values);
71 return insertPhoneNumber(contentResolver, rawContactId,
77 long rawContactId,
81 values.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId);
87 long rawContactId,
91 values.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DatabaseAsserts.java 58 long rawContactId = RawContactUtil.createRawContactWithName(resolver);
60 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId);
63 return new ContactIdPair(contactId, rawContactId);
73 long rawContactId = RawContactUtil.createRawContactWithName(resolver, firstName, lastName);
75 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId);
78 return new ContactIdPair(contactId, rawContactId);
105 public ContactIdPair(long contactId, long rawContactId) {
107 this.mRawContactId = rawContactId;
RawContactUtil.java 38 public static void update(ContentResolver resolver, long rawContactId,
40 Uri uri = ContentUris.withAppendedId(URI, rawContactId);
45 long rawContactId, String[] projection) {
47 rawContactId);
64 public static void delete(ContentResolver resolver, long rawContactId,
66 Uri uri = ContentUris.withAppendedId(ContactsContract.RawContacts.CONTENT_URI, rawContactId)
73 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) {
77 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid,
85 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid) {
86 long contactId = queryContactIdByRawContactId(resolver, rawContactid);
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
RawContactUtil.java 36 public static void update(ContentResolver resolver, long rawContactId,
38 Uri uri = ContentUris.withAppendedId(URI, rawContactId);
44 Long rawContactId = insertRawContact(resolver, account);
45 DataUtil.insertName(resolver, rawContactId, name);
46 return rawContactId;
51 Long rawContactId = insertRawContact(resolver, account);
52 DataUtil.insertAutoGeneratedName(resolver, rawContactId);
53 return rawContactId;
65 long rawContactId, String[] projection) {
66 Uri uri = ContentUris.withAppendedId(URI, rawContactId);
    [all...]
DatabaseAsserts.java 75 long rawContactId = RawContactUtil.createRawContactWithName(resolver, account, name);
77 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId);
80 return new ContactIdPair(contactId, rawContactId);
89 long rawContactId = RawContactUtil.createRawContactWithAutoGeneratedName(resolver, account);
91 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId);
94 return new ContactIdPair(contactId, rawContactId);
121 public ContactIdPair(long contactId, long rawContactId) {
123 this.mRawContactId = rawContactId;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
AccountImageHelper.java 67 long rawContactId = 0;
73 rawContactId = c.getLong(2);
88 syncContactHiResPhoto(context, rawContactId);
95 private static void syncContactHiResPhoto(Context context, long rawContactId) {
100 rawContactId);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
RawContact.java 181 long rawContactId, long syncState, boolean dirty) {
194 mRawContactId = rawContactId;
216 final int rawContactId = !contact.isNull("c") ? contact.getInt("c") : -1;
229 serverContactId, rawContactId, syncState, false);
241 String email, String status, boolean deleted, long rawContactId,
244 homePhone, email, status, null, deleted, serverContactId, rawContactId,
255 public static RawContact createDeletedContact(long rawContactId, long serverContactId)
258 null, null, null, true, serverContactId, rawContactId, -1, true);
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
EABProvider.java 434 long rawContactId = cursor.getLong(cursor.getColumnIndex(
  /packages/apps/Contacts/src/com/android/contacts/
SplitAggregateView.java 81 void onContactSelected(long rawContactId);
100 mListener.onContactSelected(list.get(position).rawContactId);
116 final long rawContactId;
124 public RawContactInfo(long rawContactId) {
125 this.rawContactId = rawContactId;
165 long rawContactId = cursor.getLong(SplitQuery.RAW_CONTACT_ID);
166 RawContactInfo info = rawContactInfos.get(rawContactId);
168 info = new RawContactInfo(rawContactId);
169 rawContactInfos.put(rawContactId, info)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NotificationImportExportListener.java 124 final long rawContactId = ContentUris.parseId(createdUri);
127 RawContacts.CONTENT_URI, rawContactId));
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
EntitySet.java 93 final Long rawContactId = remoteEntity.getValues().getId();
96 final EntityDelta localEntity = local.getByRawContactId(rawContactId);
117 final long rawContactId = this.findRawContactId();
142 if (rawContactId != -1) {
145 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId);
233 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID);
234 if (rawContactId != null && rawContactId >= 0) {
235 return rawContactId;
255 public EntityDelta getByRawContactId(Long rawContactId) {
    [all...]

Completed in 3973 milliseconds

1 2 3