Searched refs:availableCount (Results 1 – 1 of 1) sorted by relevance
596 int availableCount = mAvailableNonPrimaryConnections.size(); in closeExcessConnectionsAndLogExceptionsLocked() local597 while (availableCount-- > mMaxConnectionPoolSize - 1) { in closeExcessConnectionsAndLogExceptionsLocked()599 mAvailableNonPrimaryConnections.remove(availableCount); in closeExcessConnectionsAndLogExceptionsLocked()959 final int availableCount = mAvailableNonPrimaryConnections.size(); in tryAcquireNonPrimaryConnectionLocked() local960 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()