Searched refs:ContactsTransaction (Results 1 – 4 of 4) sorted by relevance
63 private ThreadLocal<ContactsTransaction> mTransactionHolder;105 public ContactsTransaction getCurrentTransaction() { in getCurrentTransaction()111 ContactsTransaction transaction = startTransaction(false); in insert()126 ContactsTransaction transaction = startTransaction(false); in delete()141 ContactsTransaction transaction = startTransaction(false); in update()156 ContactsTransaction transaction = startTransaction(true); in bulkInsert()187 ContactsTransaction transaction = startTransaction(true); in applyBatch()229 private ContactsTransaction startTransaction(boolean callerIsBatch) { in startTransaction()230 ContactsTransaction transaction = mTransactionHolder.get(); in startTransaction()232 transaction = new ContactsTransaction(callerIsBatch); in startTransaction()[all …]
70 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()124 ContactsTransaction transaction = getCurrentTransaction(); in useProfileDbForTransaction()162 protected boolean yield(ContactsTransaction transaction) { in yield()
33 public class ContactsTransaction { class67 public ContactsTransaction(boolean batch) { in ContactsTransaction() method in ContactsTransaction
1277 private final ThreadLocal<ContactsTransaction> mTransactionHolder =1278 new ThreadLocal<ContactsTransaction>();1795 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()2081 protected boolean yield(ContactsTransaction transaction) { in yield()