/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerTests.java | 64 @Mock Executor mExecutor; field in JavaAudioCapturerTests 74 JavaAudioCapturer.create(TEST_DEVICE, TEST_FORMAT, mTargetDataLine, mExecutor); in create_throwsIllegalArgumentException_closedDataLine() 82 JavaAudioCapturer.create(TEST_DEVICE, TEST_FORMAT, mTargetDataLine, mExecutor).open(); in open_startsDataLine() 92 JavaAudioCapturer.create(TEST_DEVICE, TEST_FORMAT, mTargetDataLine, mExecutor).open(); in open_schedulesPublisherTask() 94 verify(mExecutor).execute(any(JavaAudioCapturer.TargetDataLineWatchingPublisher.class)); in open_schedulesPublisherTask() 102 JavaAudioCapturer.create(TEST_DEVICE, TEST_FORMAT, mTargetDataLine, mExecutor).open(); in open_throwsIllegalStateException_alreadyRunningLine() 110 JavaAudioCapturer.create(TEST_DEVICE, TEST_FORMAT, mTargetDataLine, mExecutor); in open_throwsIllegalStateException_afterCloseCalled() 143 JavaAudioCapturer.create(TEST_DEVICE, TEST_FORMAT, mTargetDataLine, mExecutor); in attachOutput_attachesOutputSuccessfully_outputStream() 147 verify(mExecutor).execute(runnableArgCaptor.capture()); in attachOutput_attachesOutputSuccessfully_outputStream() 183 JavaAudioCapturer.create(TEST_DEVICE, TEST_FORMAT, mTargetDataLine, mExecutor); in attachOutput_attachesOutputSuccessfully_file() [all …]
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerFactory.java | 32 private final Executor mExecutor; field in JavaAudioCapturerFactory 36 mExecutor = executor; in JavaAudioCapturerFactory() 53 return JavaAudioCapturer.create(audioDevice, audioFormat, targetDataLine, mExecutor); in build()
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/ |
D | AudioTestHarnessServerModule.java | 41 private final Executor mExecutor; field in AudioTestHarnessServerModule 44 this.mExecutor = executor; in AudioTestHarnessServerModule() 61 bind(Executor.class).toInstance(mExecutor); in configure()
|
D | AudioTestHarnessGrpcServer.java | 67 private final ExecutorService mExecutor; field in AudioTestHarnessGrpcServer 79 this.mExecutor = executor; in AudioTestHarnessGrpcServer() 147 ServerBuilder<?> serverBuilder = ServerBuilder.forPort(mPort).executor(mExecutor); in open() 184 mExecutor.shutdownNow(); in close()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioTestHarnessClient.java | 91 private Executor mExecutor; field in GrpcAudioTestHarnessClient.Builder 110 mExecutor = executor; in setExecutor() 133 if (mExecutor == null) { in build() 134 mExecutor = Executors.newFixedThreadPool(DEFAULT_NUM_THREADS); in build() 139 .executor(mExecutor) in build()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/ |
D | AudioTestHarnessServerModuleTests.java | 46 @Mock Executor mExecutor; field in AudioTestHarnessServerModuleTests 52 this.mInjector = Guice.createInjector(AudioTestHarnessServerModule.create(mExecutor)); in setUp() 57 assertEquals(mExecutor, mInjector.getInstance(Executor.class)); in getInstance_executor_returnsProperExecutor()
|