Home
last modified time | relevance | path

Searched refs:mTransactionState (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/legacy/src/com/android/providers/media/
DLegacyDatabaseHelper.java201 private final ThreadLocal<TransactionState> mTransactionState = new ThreadLocal<>(); field in LegacyDatabaseHelper
238 if (mTransactionState.get() != null) { in beginTransactionInternal()
241 mTransactionState.set(new TransactionState()); in beginTransactionInternal()
250 final TransactionState state = mTransactionState.get(); in setTransactionSuccessful()
272 final TransactionState state = mTransactionState.get(); in endTransactionInternal()
276 mTransactionState.remove(); in endTransactionInternal()
311 if (mTransactionState.get() != null) { in runWithTransaction()
337 if (mTransactionState.get() != null) { in runWithoutTransaction()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java764 private final ThreadLocal<TransactionState> mTransactionState = new ThreadLocal<>(); field in DatabaseHelper
796 return (mTransactionState.get() != null); in isTransactionActive()
812 if (mTransactionState.get() != null) { in beginTransactionInternal()
815 mTransactionState.set(new TransactionState()); in beginTransactionInternal()
824 final TransactionState state = mTransactionState.get(); in setTransactionSuccessful()
846 final TransactionState state = mTransactionState.get(); in endTransactionInternal()
850 mTransactionState.remove(); in endTransactionInternal()
889 if (mTransactionState.get() != null) { in runWithTransaction()
914 if (mTransactionState.get() != null) { in runWithoutTransaction()
951 final TransactionState state = mTransactionState.get(); in notifyChange()
[all …]