Searched defs:transaction (Results 1 - 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DProfileProvider.java96 ContactsTransaction transaction = getCurrentTransaction();
98 transaction.startTransactionForDb(db, ContactsProvider2.PROFILE_DB_TAG, this);
131 protected boolean yield(ContactsTransaction transaction) { argument
132 return mDelegate.yield(transaction);
H A DAbstractContactsProvider.java45 /** Set true to enable detailed transaction logging. */
59 * Number of inserts performed in bulk to allow before yielding the transaction.
64 * The contacts transaction that is active in this thread.
74 * The database helper to serialize all transactions on. If non-null, any new transaction
76 * and initiate a transaction on that database. This should be used to ensure that operations
96 * The transaction listener used with {@link #mSerializeOnDbHelper}.
134 ContactsTransaction transaction = startTransaction(false);
138 transaction.markDirty();
140 transaction.markSuccessful(false);
149 ContactsTransaction transaction
312 yield(ContactsTransaction transaction) argument
[all...]
H A DContactsProvider2.java1347 * The thread-local holder of the active transaction. Shared between this and the profile
1370 // The active transaction context will switch depending on the operation being performed.
1371 // Both transaction contexts will be cleared out when a batch transaction is started, and
1372 // each will be processed separately when a batch transaction completes.
2073 * the database transaction monitor.
2299 protected boolean yield(ContactsTransaction transaction) { argument
2300 // If there's a profile transaction in progress, and we're yielding, we need to
2301 // end it. Unlike the Contacts DB yield (which re-starts a transaction at its
2303 // profile transaction, an
[all...]

Completed in 119 milliseconds