Searched refs:MAX_PORT_BIND_ATTEMPTS (Results 1 – 2 of 2) sorted by relevance
102 @VisibleForTesting static final int MAX_PORT_BIND_ATTEMPTS = 10; field in IpSecService1179 for (int i = MAX_PORT_BIND_ATTEMPTS; i > 0; i--) { in bindToRandomPort()1196 throw new IOException("Failed " + MAX_PORT_BIND_ATTEMPTS + " attempts to bind to a port"); in bindToRandomPort()
165 for (int i = 0; i < IpSecService.MAX_PORT_BIND_ATTEMPTS; i++) { in testOpenAndCloseUdpEncapsulationSocket()