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.java596 int availableCount = mAvailableNonPrimaryConnections.size(); in closeExcessConnectionsAndLogExceptionsLocked() local
597 while (availableCount-- > mMaxConnectionPoolSize - 1) { in closeExcessConnectionsAndLogExceptionsLocked()
599 mAvailableNonPrimaryConnections.remove(availableCount); in closeExcessConnectionsAndLogExceptionsLocked()
959 final int availableCount = mAvailableNonPrimaryConnections.size(); in tryAcquireNonPrimaryConnectionLocked() local
960 if (availableCount > 1 && sql != null) { in tryAcquireNonPrimaryConnectionLocked()
963 for (int i = 0; i < availableCount; i++) { in tryAcquireNonPrimaryConnectionLocked()
972 if (availableCount > 0) { in tryAcquireNonPrimaryConnectionLocked()
974 connection = mAvailableNonPrimaryConnections.remove(availableCount - 1); in tryAcquireNonPrimaryConnectionLocked()