Searched refs:AudioTestHarnessGrpcServer (Results 1 – 4 of 4) sorted by relevance
56 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()
46 public final class AudioTestHarnessGrpcServer implements AutoCloseable { class51 Logger.getLogger(AudioTestHarnessGrpcServer.class.getName());75 private AudioTestHarnessGrpcServer(int port, ExecutorService executor, Injector injector) { in AudioTestHarnessGrpcServer() method in AudioTestHarnessGrpcServer93 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()
1 Main-Class: com.android.media.audiotestharness.server.AudioTestHarnessGrpcServer
54 "src/main/java/com/android/media/audiotestharness/server/AudioTestHarnessGrpcServer.java",