Searched refs:batchOperation (Results 1 – 2 of 2) sorted by relevance
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactManager.java | 110 final BatchOperation batchOperation = new BatchOperation(context, resolver); in updateContacts() local 143 true, true, true, rawContactId, batchOperation); in updateContacts() 145 deleteContact(context, rawContactId, batchOperation); in updateContacts() 151 addContact(context, account, rawContact, groupId, true, batchOperation); in updateContacts() 157 if (batchOperation.size() >= 50) { in updateContacts() 158 batchOperation.execute(); in updateContacts() 161 batchOperation.execute(); in updateContacts() 230 final BatchOperation batchOperation = new BatchOperation(context, resolver); in updateStatusMessages() local 232 updateContactStatus(context, rawContact, batchOperation); in updateStatusMessages() 234 batchOperation.execute(); in updateStatusMessages() [all …]
|
D | ContactOperations.java | 73 String accountName, boolean isSyncOperation, BatchOperation batchOperation) { in createNewContact() argument 74 return new ContactOperations(context, userId, accountName, isSyncOperation, batchOperation); in createNewContact() 87 boolean isSyncOperation, BatchOperation batchOperation) { in updateExistingContact() argument 88 return new ContactOperations(context, rawContactId, isSyncOperation, batchOperation); in updateExistingContact() 92 BatchOperation batchOperation) { in ContactOperations() argument 97 mBatchOperation = batchOperation; in ContactOperations() 101 boolean isSyncOperation, BatchOperation batchOperation) { in ContactOperations() argument 102 this(context, isSyncOperation, batchOperation); in ContactOperations() 114 BatchOperation batchOperation) { in ContactOperations() argument 115 this(context, isSyncOperation, batchOperation); in ContactOperations()
|