Searched refs:ContactOperations (Results 1 – 2 of 2) sorted by relevance
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactOperations.java | 39 public class ContactOperations { class 72 public static ContactOperations createNewContact(Context context, long userId, in createNewContact() 74 return new ContactOperations(context, userId, accountName, isSyncOperation, batchOperation); in createNewContact() 86 public static ContactOperations updateExistingContact(Context context, long rawContactId, in updateExistingContact() 88 return new ContactOperations(context, rawContactId, isSyncOperation, batchOperation); in updateExistingContact() 91 public ContactOperations(Context context, boolean isSyncOperation, in ContactOperations() method in ContactOperations 100 public ContactOperations(Context context, long userId, String accountName, in ContactOperations() method in ContactOperations 113 public ContactOperations(Context context, long rawContactId, boolean isSyncOperation, in ContactOperations() method in ContactOperations 132 public ContactOperations addName(String fullName, String firstName, String lastName) { in addName() 160 public ContactOperations addEmail(String email) { in addEmail() [all …]
|
D | ContactManager.java | 283 final ContactOperations contactOp = ContactOperations.createNewContact( in addContact() 340 final ContactOperations contactOp = in updateContact() 341 ContactOperations.updateExistingContact(context, rawContactId, in updateContact() 547 batchOperation.add(ContactOperations.newInsertCpo(StatusUpdates.CONTENT_URI, in updateContactStatus() 561 final ContactOperations contactOp = in clearDirtyFlag() 562 ContactOperations.updateExistingContact(context, rawContactId, true, in clearDirtyFlag() 582 batchOperation.add(ContactOperations.newDeleteCpo( in deleteContact()
|