Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/legacy/src/com/android/providers/media/
DLegacyDatabaseHelper.java106 private final ReentrantReadWriteLock mSchemaLock = new ReentrantReadWriteLock(); field in LegacyDatabaseHelper
147 mSchemaLock.writeLock().lock(); in onCreate()
151 mSchemaLock.writeLock().unlock(); in onCreate()
158 mSchemaLock.writeLock().lock(); in onUpgrade()
171 mSchemaLock.writeLock().unlock(); in onUpgrade()
178 mSchemaLock.writeLock().lock(); in onDowngrade()
182 mSchemaLock.writeLock().unlock(); in onDowngrade()
244 mSchemaLock.readLock().lock(); in beginTransactionInternal()
280 mSchemaLock.readLock().unlock(); in endTransactionInternal()
342 mSchemaLock.readLock().lock(); in runWithoutTransaction()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java224 private final ReentrantReadWriteLock mSchemaLock = new ReentrantReadWriteLock(); field in DatabaseHelper
338 mSchemaLock.writeLock().lock(); in setFilterVolumeNames()
345 mSchemaLock.writeLock().unlock(); in setFilterVolumeNames()
381 && !mSchemaLock.isWriteLockedByCurrentThread()) { in onConfigure()
418 && !mSchemaLock.isWriteLockedByCurrentThread()) { in onConfigure()
480 && !mSchemaLock.isWriteLockedByCurrentThread()) { in onConfigure()
506 if (mIdGenerator != null && !mSchemaLock.isWriteLockedByCurrentThread()) { in onConfigure()
521 mSchemaLock.writeLock().lock(); in onCreate()
525 mSchemaLock.writeLock().unlock(); in onCreate()
532 mSchemaLock.writeLock().lock(); in onUpgrade()
[all …]