Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java92 private final ArrayList<SQLiteConnection> mAvailableNonPrimaryConnections = field in SQLiteConnectionPool
277 assert mAvailableNonPrimaryConnections.isEmpty(); in reconfigure()
380 } else if (mAvailableNonPrimaryConnections.size() >= mMaxConnectionPoolSize - 1) { in releaseConnection()
384 mAvailableNonPrimaryConnections.add(connection); in releaseConnection()
449 for (SQLiteConnection connection : mAvailableNonPrimaryConnections) { in collectDbStats()
508 final int count = mAvailableNonPrimaryConnections.size(); in closeAvailableNonPrimaryConnectionsAndLogExceptionsLocked()
510 closeConnectionAndLogExceptionsLocked(mAvailableNonPrimaryConnections.get(i)); in closeAvailableNonPrimaryConnectionsAndLogExceptionsLocked()
512 mAvailableNonPrimaryConnections.clear(); in closeAvailableNonPrimaryConnectionsAndLogExceptionsLocked()
517 int availableCount = mAvailableNonPrimaryConnections.size(); in closeExcessConnectionsAndLogExceptionsLocked()
520 mAvailableNonPrimaryConnections.remove(availableCount); in closeExcessConnectionsAndLogExceptionsLocked()
[all …]