Searched refs:ContactsTransaction (Results 1 – 4 of 4) sorted by relevance
80 private ThreadLocal<ContactsTransaction> mTransactionHolder;145 public ContactsTransaction getCurrentTransaction() { in getCurrentTransaction()150 final ContactsTransaction t = mTransactionHolder.get(); in isInBatch()159 ContactsTransaction transaction = startTransaction(false); in insert()180 ContactsTransaction transaction = startTransaction(false); in delete()201 ContactsTransaction transaction = startTransaction(false); in update()222 ContactsTransaction transaction = startTransaction(true); in bulkInsert()259 ContactsTransaction transaction = startTransaction(true); in applyBatch()304 private ContactsTransaction startTransaction(boolean callerIsBatch) { in startTransaction()309 ContactsTransaction transaction = mTransactionHolder.get(); in startTransaction()[all …]
61 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()109 ContactsTransaction transaction = getCurrentTransaction(); in useProfileDbForTransaction()144 protected boolean yield(ContactsTransaction transaction) { in yield()
34 public class ContactsTransaction { class71 public ContactsTransaction(boolean batch) { in ContactsTransaction() method in ContactsTransaction
1405 private final ThreadLocal<ContactsTransaction> mTransactionHolder =1406 new ThreadLocal<ContactsTransaction>();2175 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()2696 protected boolean yield(ContactsTransaction transaction) { in yield()