Searched refs:ContactsTransaction (Results 1 – 4 of 4) sorted by relevance
66 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 …]
71 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()122 ContactsTransaction transaction = getCurrentTransaction(); in useProfileDbForTransaction()157 protected boolean yield(ContactsTransaction transaction) { in yield()
34 public class ContactsTransaction { class71 public ContactsTransaction(boolean batch) { in ContactsTransaction() method in ContactsTransaction
1323 private final ThreadLocal<ContactsTransaction> mTransactionHolder =1324 new ThreadLocal<ContactsTransaction>();1960 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()2265 protected boolean yield(ContactsTransaction transaction) { in yield()