Home
last modified time | relevance | path

Searched refs:ContactsTransaction (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java63 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 …]
DProfileProvider.java70 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()
124 ContactsTransaction transaction = getCurrentTransaction(); in useProfileDbForTransaction()
162 protected boolean yield(ContactsTransaction transaction) { in yield()
DContactsTransaction.java33 public class ContactsTransaction { class
67 public ContactsTransaction(boolean batch) { in ContactsTransaction() method in ContactsTransaction
DContactsProvider2.java1277 private final ThreadLocal<ContactsTransaction> mTransactionHolder =
1278 new ThreadLocal<ContactsTransaction>();
1795 protected ThreadLocal<ContactsTransaction> getTransactionHolder() { in getTransactionHolder()
2081 protected boolean yield(ContactsTransaction transaction) { in yield()