Searched refs:mSchemaLock (Results 1 – 2 of 2) sorted by relevance
106 private final ReentrantReadWriteLock mSchemaLock = new ReentrantReadWriteLock(); field in LegacyDatabaseHelper147 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 …]
224 private final ReentrantReadWriteLock mSchemaLock = new ReentrantReadWriteLock(); field in DatabaseHelper338 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 …]