Searched refs:executor (Results 1 – 9 of 9) sorted by relevance
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | BusinessLogic.java | 77 public void applyLogicFor(String testName, BusinessLogicExecutor executor) { in applyLogicFor() argument 82 applyLogicsFor(testName, executor); // handle this special case separately in applyLogicFor() 87 rulesList.invokeRules(executor); in applyLogicFor() 99 private void applyLogicsFor(String testName, BusinessLogicExecutor executor) { in applyLogicsFor() argument 107 rulesList.invokeRules(executor); in applyLogicsFor() 111 executor.logInfo("Test %s (%s) skipped for reason: %s", testName, description, in applyLogicsFor() 238 public void invokeRules(BusinessLogicExecutor executor) { in invokeRules() argument 241 if (rule.invokeConditions(executor)) { in invokeRules() 242 rule.invokeActions(executor); in invokeRules() 268 public boolean invokeConditions(BusinessLogicExecutor executor) { in invokeConditions() argument [all …]
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/ |
D | AudioTestHarnessServerModule.java | 45 private AudioTestHarnessServerModule(Executor executor) { in AudioTestHarnessServerModule() argument 46 this.mExecutor = executor; in AudioTestHarnessServerModule() 56 public static AudioTestHarnessServerModule create(Executor executor) { in create() argument 57 Preconditions.checkNotNull(executor, "Executor cannot be null."); in create() 58 return new AudioTestHarnessServerModule(executor); in create()
|
D | AudioTestHarnessGrpcServer.java | 67 AudioTestHarnessGrpcServer(int port, ExecutorService executor, Injector injector) { in AudioTestHarnessGrpcServer() argument 71 this.mExecutor = executor; in AudioTestHarnessGrpcServer() 101 ServerBuilder<?> serverBuilder = ServerBuilder.forPort(mPort).executor(mExecutor); in open()
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerFactory.java | 35 public JavaAudioCapturerFactory(Executor executor) { in JavaAudioCapturerFactory() argument 36 mExecutor = executor; in JavaAudioCapturerFactory()
|
D | JavaAudioCapturer.java | 83 Executor executor) { in JavaAudioCapturer() argument 88 mExecutorService = executor; in JavaAudioCapturer() 103 Executor executor) { in create() argument 108 return new JavaAudioCapturer(audioDevice, audioFormat, targetDataLine, executor); in create()
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/ |
D | MathWork.java | 60 ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(mThreads.get()); in testDoMath() local 67 executor.scheduleAtFixedRate( in testDoMath() 76 executor.shutdownNow(); in testDoMath()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioTestHarnessClient.java | 123 public Builder setExecutor(ScheduledExecutorService executor) { in setExecutor() argument 124 mExecutor = executor; in setExecutor() 159 .executor(mExecutor) in build()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioCaptureStreamTests.java | 80 .executor(mListeningExecutorService) in setUp() 88 .executor(mListeningExecutorService) in setUp() 282 .executor(mListeningExecutorService)
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | InputDeviceRule.kt | 143 val executor = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool()) in <lambda>() constant 144 val future = executor.submit { waitForEmptyUinputEventQueue() } in <lambda>()
|