Home
last modified time | relevance | path

Searched refs:executor (Results 1 – 9 of 9) sorted by relevance

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogic.java77 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/
DAudioTestHarnessServerModule.java45 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()
DAudioTestHarnessGrpcServer.java67 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/
DJavaAudioCapturerFactory.java35 public JavaAudioCapturerFactory(Executor executor) { in JavaAudioCapturerFactory() argument
36 mExecutor = executor; in JavaAudioCapturerFactory()
DJavaAudioCapturer.java83 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/
DMathWork.java60 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/
DGrpcAudioTestHarnessClient.java123 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/
DGrpcAudioCaptureStreamTests.java80 .executor(mListeningExecutorService) in setUp()
88 .executor(mListeningExecutorService) in setUp()
282 .executor(mListeningExecutorService)
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DInputDeviceRule.kt143 val executor = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool()) in <lambda>() constant
144 val future = executor.submit { waitForEmptyUinputEventQueue() } in <lambda>()