Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java81 public TestSensorOperation(TestSensorEnvironment environment, Executor executor) { in TestSensorOperation() argument
82 this(environment, executor, null /* handler */); in TestSensorOperation()
90 Executor executor, in TestSensorOperation() argument
93 mExecutor = executor; in TestSensorOperation()
229 Executor executor = new Executor() { in createOperation() local
241 return new TestSensorOperation(environment, executor); in createOperation()
254 Executor executor = new Executor() { in createOperation() local
324 return new TestSensorOperation(environment, executor); in createOperation()
338 Executor executor = new Executor() { in createOperation() local
350 return new TestSensorOperation(environment, executor); in createOperation()
[all …]
DParallelSensorOperation.java86 ThreadPoolExecutor executor = new ThreadPoolExecutor( in execute() local
92 executor.allowCoreThreadTimeOut(true); in execute()
93 executor.prestartAllCoreThreads(); in execute()
98 Future<SensorOperation> future = executor.submit(new Callable<SensorOperation>() { in execute()
135 executor.shutdownNow(); in execute()
/cts/libs/vogar-expect/src/vogar/commands/
DCommand.java188 ExecutorService executor = Threads.fixedThreadsExecutor("command", 1); in executeLater() local
189 Future<List<String>> result = executor.submit(new Callable<List<String>>() { in executeLater()
195 executor.shutdown(); in executeLater()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java621 ExecutorService executor = Executors.newCachedThreadPool(); in testReadingSysFilesDoesntFail() local
622 tryToReadFromAllIn(new File("/sys"), executor); in testReadingSysFilesDoesntFail()
623 executor.shutdownNow(); in testReadingSysFilesDoesntFail()
626 private static void tryToReadFromAllIn(File dir, ExecutorService executor) throws IOException { in tryToReadFromAllIn() argument
639 tryToReadFromAllIn(f, executor); in tryToReadFromAllIn()
641 tryFileOpenRead(f, executor); in tryToReadFromAllIn()
647 private static void tryFileOpenRead(final File f, ExecutorService executor) throws IOException { in tryFileOpenRead() argument
662 future = executor.submit(readFile); in tryFileOpenRead()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorTest.java422 FlushExecutor executor = new FlushExecutor(environment, 500 /* eventCount */); in testBatchAndFlushWithMultipleSensors() local
423 parallelSensorOperation.add(new TestSensorOperation(environment, executor)); in testBatchAndFlushWithMultipleSensors()
531 FlushExecutor executor = new FlushExecutor(environment, 500 /* eventCount */); in verifyRegisterListenerCallFlush() local
532 TestSensorOperation operation = new TestSensorOperation(environment, executor, handler); in verifyRegisterListenerCallFlush()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1395 ExecutorService executor = Executors.newSingleThreadExecutor(); in assertSSLConnectionWithClientAuth() local
1396 Future<Certificate[]> future = executor.submit(new Callable<Certificate[]>() { in assertSSLConnectionWithClientAuth()
1405 executor.shutdown(); in assertSSLConnectionWithClientAuth()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex51698 private final java.util.concurrent.Executor executor