Home
last modified time | relevance | path

Searched refs:ContactsTransaction (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java66 private ThreadLocal<ContactsTransaction> mTransactionHolder;
128 public ContactsTransaction getCurrentTransaction() { in getCurrentTransaction()
134 ContactsTransaction transaction = startTransaction(false); in insert()
149 ContactsTransaction transaction = startTransaction(false); in delete()
164 ContactsTransaction transaction = startTransaction(false); in update()
179 ContactsTransaction transaction = startTransaction(true); in bulkInsert()
210 ContactsTransaction transaction = startTransaction(true); in applyBatch()
252 private ContactsTransaction startTransaction(boolean callerIsBatch) { in startTransaction()
257 ContactsTransaction transaction = mTransactionHolder.get(); in startTransaction()
259 transaction = new ContactsTransaction(callerIsBatch); in startTransaction()
[all …]
DProfileProvider.java71 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()
122 ContactsTransaction transaction = getCurrentTransaction(); in useProfileDbForTransaction()
157 protected boolean yield(ContactsTransaction transaction) { in yield()
DContactsTransaction.java34 public class ContactsTransaction { class
71 public ContactsTransaction(boolean batch) { in ContactsTransaction() method in ContactsTransaction
DContactsProvider2.java1323 private final ThreadLocal<ContactsTransaction> mTransactionHolder =
1324 new ThreadLocal<ContactsTransaction>();
1960 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()
2265 protected boolean yield(ContactsTransaction transaction) { in yield()