Home
last modified time | relevance | path

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

/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/
DAudioTestHarnessGrpcServerTests.java56 AudioTestHarnessGrpcServer.create( in create_throwsNullPointerException_nullExecutor()
62 AudioTestHarnessGrpcServer.create( in create_throwsNullPointerException_nullInjector()
68 assertNotNull(AudioTestHarnessGrpcServer.createWithDefault()); in createWithDefault_returnsNonNullResult()
73 assertNotNull(AudioTestHarnessGrpcServer.createOnPort(/* port= */ 80)); in createWithPort_returnsNonNullResult()
80 AudioTestHarnessGrpcServer server = in open_buildsAndStartsGrpcServerAsExpected()
96 AudioTestHarnessGrpcServer.create( in open_throwsIOExceptionForMissingServiceDependency()
105 AudioTestHarnessGrpcServer server = in open_throwsIOException_forPortTaken()
117 AudioTestHarnessGrpcServer server = setUpTestServer(port, executorService); in close_shutsDownGrpcServerAsExpected()
136 private static AudioTestHarnessGrpcServer setUpTestServer( in setUpTestServer()
145 return AudioTestHarnessGrpcServer.create(port, executorService, injector); in setUpTestServer()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/
DAudioTestHarnessGrpcServer.java46 public final class AudioTestHarnessGrpcServer implements AutoCloseable { class
51 Logger.getLogger(AudioTestHarnessGrpcServer.class.getName());
75 private AudioTestHarnessGrpcServer(int port, ExecutorService executor, Injector injector) { in AudioTestHarnessGrpcServer() method in AudioTestHarnessGrpcServer
93 static AudioTestHarnessGrpcServer create( in create()
95 return new AudioTestHarnessGrpcServer( in create()
102 public static AudioTestHarnessGrpcServer createOnPort(int port) { in createOnPort()
119 public static AudioTestHarnessGrpcServer createWithDefault() { in createWithDefault()
124 try (AudioTestHarnessGrpcServer server = createOnPort(TESTING_PORT)) { in main()
/platform_testing/libraries/audio-test-harness/server/
Dserver-manifest.inf1 Main-Class: com.android.media.audiotestharness.server.AudioTestHarnessGrpcServer
DAndroid.bp54 "src/main/java/com/android/media/audiotestharness/server/AudioTestHarnessGrpcServer.java",