Searched refs:port (Results 1 – 10 of 10) sorted by relevance
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/utility/ |
D | PortUtility.java | 48 int port; in nextAvailablePort() local 55 port = ThreadLocalRandom.current().nextInt(START_PORT, END_PORT); in nextAvailablePort() 56 if (isPortFree(port)) { in nextAvailablePort() 57 LOGGER.finest(String.format("Found open port (%d) after %d tries", port, count)); in nextAvailablePort() 58 return port; in nextAvailablePort() 71 private static boolean isPortFree(int port) { in isPortFree() argument 75 new ServerSocket(port).close(); in isPortFree()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/utility/ |
D | PortUtilityTests.java | 34 int port = PortUtility.nextAvailablePort(); in nextAvailablePort_returnsAvailablePortWithinRange_fuzz() local 36 assertTrue(port >= PortUtility.START_PORT); in nextAvailablePort_returnsAvailablePortWithinRange_fuzz() 37 assertTrue(port < PortUtility.END_PORT); in nextAvailablePort_returnsAvailablePortWithinRange_fuzz() 40 new ServerSocket(port).close(); in nextAvailablePort_returnsAvailablePortWithinRange_fuzz()
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/ |
D | AudioTestHarnessGrpcServer.java | 67 AudioTestHarnessGrpcServer(int port, ExecutorService executor, Injector injector) { in AudioTestHarnessGrpcServer() argument 68 LOGGER.finest(String.format("new AudioTestHarnessGrpcServer on Port (%d)", port)); in AudioTestHarnessGrpcServer() 70 this.mPort = port; in AudioTestHarnessGrpcServer()
|
D | AudioTestHarnessGrpcServerFactory.java | 127 int port, @Nullable SharedHostConfiguration sharedHostConfiguration) { in createOnPort() argument 128 LOGGER.finest(String.format("createOnPort(%d, %s)", port, sharedHostConfiguration)); in createOnPort() 155 return new AudioTestHarnessGrpcServer(port, mExecutorService, injector); in createOnPort()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioTestHarnessClient.java | 107 public Builder setAddress(String hostname, int port) { in setAddress() argument 110 port >= MIN_PORT && port <= MAX_PORT, in setAddress() 118 mPort = port; in setAddress()
|
/platform_testing/tools/automotive/proxy/include/libProxyConfig/ |
D | libProxyConfig.h | 26 unsigned port; member
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ghidra/ |
D | GhidraFunctionOffsets.java | 89 int port = serverSocket.getLocalPort(); in getFunctionOffsets() local 123 String.valueOf(port)))); in getFunctionOffsets()
|
/platform_testing/tools/automotive/proxy/ |
D | proxy.cpp | 137 addr.svm_port = service.port; in setupRoute() 140 int fwd_port = service.port; in setupRoute()
|
D | libProxyConfig.cpp | 41 vmService.port = service["port"].asInt(); in readVmService()
|
/platform_testing/libraries/motion/golden_updater/ |
D | watch_local_tests.py | 137 ("localhost", args.port), WatchWebAppRequestHandler, golden_watcher
|