Searched refs:ContactsTransaction (Results 1 – 4 of 4) sorted by relevance
81 private ThreadLocal<ContactsTransaction> mTransactionHolder;177 final ContactsTransaction t = mTransactionHolder.get(); in incrementStats()195 public ContactsTransaction getCurrentTransaction() { in getCurrentTransaction()203 ContactsTransaction transaction = startTransaction(false); in insert()223 ContactsTransaction transaction = startTransaction(false); in delete()243 ContactsTransaction transaction = startTransaction(false); in update()263 ContactsTransaction transaction = startTransaction(true); in bulkInsert()299 ContactsTransaction transaction = startTransaction(true); in applyBatch()344 private ContactsTransaction startTransaction(boolean callerIsBatch) { in startTransaction()349 ContactsTransaction transaction = mTransactionHolder.get(); in startTransaction()[all …]
60 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()107 ContactsTransaction transaction = getCurrentTransaction(); in useProfileDbForTransaction()142 protected boolean yield(ContactsTransaction transaction) { in yield()
34 public class ContactsTransaction { class71 public ContactsTransaction(boolean batch) { in ContactsTransaction() method in ContactsTransaction
1431 private final ThreadLocal<ContactsTransaction> mTransactionHolder =1432 new ThreadLocal<ContactsTransaction>();2072 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()2373 protected boolean yield(ContactsTransaction transaction) { in yield()