Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DIpSecService.java102 @VisibleForTesting static final int MAX_PORT_BIND_ATTEMPTS = 10; field in IpSecService
1179 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()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java165 for (int i = 0; i < IpSecService.MAX_PORT_BIND_ATTEMPTS; i++) { in testOpenAndCloseUdpEncapsulationSocket()