Searched refs:ContactsTransaction (Results 1 – 4 of 4) sorted by relevance
82 private ThreadLocal<ContactsTransaction> mTransactionHolder;167 final ContactsTransaction t = mTransactionHolder.get(); in incrementStats()172 public ContactsTransaction getCurrentTransaction() { in getCurrentTransaction()179 ContactsTransaction transaction = startTransaction(false); in insert()195 ContactsTransaction transaction = startTransaction(false); in delete()211 ContactsTransaction transaction = startTransaction(false); in update()227 ContactsTransaction transaction = startTransaction(true); in bulkInsert()259 ContactsTransaction transaction = startTransaction(true); in applyBatch()301 private ContactsTransaction startTransaction(boolean callerIsBatch) { in startTransaction()306 ContactsTransaction transaction = mTransactionHolder.get(); in startTransaction()[all …]
56 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()99 ContactsTransaction transaction = getCurrentTransaction(); in useProfileDbForTransaction()134 protected boolean yield(ContactsTransaction transaction) { in yield()
34 public class ContactsTransaction { class71 public ContactsTransaction(boolean batch) { in ContactsTransaction() method in ContactsTransaction
1429 private final ThreadLocal<ContactsTransaction> mTransactionHolder =1430 new ThreadLocal<ContactsTransaction>();2063 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()2357 protected boolean yield(ContactsTransaction transaction) { in yield()