Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java517 int availableCount = mAvailableNonPrimaryConnections.size(); in closeExcessConnectionsAndLogExceptionsLocked() local
518 while (availableCount-- > mMaxConnectionPoolSize - 1) { in closeExcessConnectionsAndLogExceptionsLocked()
520 mAvailableNonPrimaryConnections.remove(availableCount); in closeExcessConnectionsAndLogExceptionsLocked()
871 final int availableCount = mAvailableNonPrimaryConnections.size(); in tryAcquireNonPrimaryConnectionLocked() local
872 if (availableCount > 1 && sql != null) { in tryAcquireNonPrimaryConnectionLocked()
875 for (int i = 0; i < availableCount; i++) { in tryAcquireNonPrimaryConnectionLocked()
884 if (availableCount > 0) { in tryAcquireNonPrimaryConnectionLocked()
886 connection = mAvailableNonPrimaryConnections.remove(availableCount - 1); in tryAcquireNonPrimaryConnectionLocked()