Home
last modified time | relevance | path

Searched refs:rawContactId (Results 1 – 3 of 3) sorted by relevance

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java130 final long rawContactId; in updateContacts() local
133 rawContactId = rawContact.getRawContactId(); in updateContacts()
137 rawContactId = lookupRawContact(resolver, serverContactId); in updateContacts()
140 if (rawContactId != 0) { in updateContacts()
143 true, true, true, rawContactId, batchOperation); in updateContacts()
145 deleteContact(context, rawContactId, batchOperation); in updateContacts()
186 final long rawContactId = c.getLong(DirtyQuery.COLUMN_RAW_CONTACT_ID); in getDirtyContacts() local
197 Log.i(TAG, "Dirty Contact: " + Long.toString(rawContactId)); in getDirtyContacts()
202 RawContact rawContact = RawContact.createDeletedContact(rawContactId, in getDirtyContacts()
206 RawContact rawContact = getRawContact(context, rawContactId); in getDirtyContacts()
[all …]
DContactOperations.java86 public static ContactOperations updateExistingContact(Context context, long rawContactId, in updateExistingContact() argument
88 return new ContactOperations(context, rawContactId, isSyncOperation, batchOperation); in updateExistingContact()
113 public ContactOperations(Context context, long rawContactId, boolean isSyncOperation, in ContactOperations() argument
117 mRawContactId = rawContactId; in ContactOperations()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DRawContact.java181 long rawContactId, long syncState, boolean dirty) { in RawContact() argument
194 mRawContactId = rawContactId; in RawContact()
216 final int rawContactId = !contact.isNull("c") ? contact.getInt("c") : -1; in valueOf() local
229 serverContactId, rawContactId, syncState, false); in valueOf()
241 String email, String status, boolean deleted, long rawContactId, in create() argument
244 homePhone, email, status, null, deleted, serverContactId, rawContactId, in create()
255 public static RawContact createDeletedContact(long rawContactId, long serverContactId) in createDeletedContact() argument
258 null, null, null, true, serverContactId, rawContactId, -1, true); in createDeletedContact()