Searched refs:PortUtility (Results 1 – 4 of 4) sorted by relevance
34 int port = PortUtility.nextAvailablePort(); in nextAvailablePort_returnsAvailablePortWithinRange_fuzz()36 assertTrue(port >= PortUtility.START_PORT); in nextAvailablePort_returnsAvailablePortWithinRange_fuzz()37 assertTrue(port < PortUtility.END_PORT); in nextAvailablePort_returnsAvailablePortWithinRange_fuzz()
25 public final class PortUtility { class26 private static final Logger LOGGER = Logger.getLogger(PortUtility.class.getName());40 private PortUtility() {} in PortUtility() method in PortUtility
26 import com.android.media.audiotestharness.server.utility.PortUtility;79 int port = PortUtility.nextAvailablePort(); in open_buildsAndStartsGrpcServerAsExpected()104 int port = PortUtility.nextAvailablePort(); in open_throwsIOException_forPortTaken()115 int port = PortUtility.nextAvailablePort(); in close_shutsDownGrpcServerAsExpected()
19 import com.android.media.audiotestharness.server.utility.PortUtility;120 return createOnPort(PortUtility.nextAvailablePort()); in createWithDefault()