Home
last modified time | relevance | path

Searched refs:PortUtility (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/utility/
DPortUtilityTests.java34 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()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/utility/
DPortUtility.java25 public final class PortUtility { class
26 private static final Logger LOGGER = Logger.getLogger(PortUtility.class.getName());
40 private PortUtility() {} in PortUtility() method in PortUtility
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/
DAudioTestHarnessGrpcServerTests.java26 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()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/
DAudioTestHarnessGrpcServer.java19 import com.android.media.audiotestharness.server.utility.PortUtility;
120 return createOnPort(PortUtility.nextAvailablePort()); in createWithDefault()