Searched refs:availableCount (Results 1 – 1 of 1) sorted by relevance
517 int availableCount = mAvailableNonPrimaryConnections.size(); in closeExcessConnectionsAndLogExceptionsLocked() local518 while (availableCount-- > mMaxConnectionPoolSize - 1) { in closeExcessConnectionsAndLogExceptionsLocked()520 mAvailableNonPrimaryConnections.remove(availableCount); in closeExcessConnectionsAndLogExceptionsLocked()871 final int availableCount = mAvailableNonPrimaryConnections.size(); in tryAcquireNonPrimaryConnectionLocked() local872 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()