Searched refs:mExecutorService (Results 1 – 7 of 7) sorted by relevance
55 private ExecutorService mExecutorService; field in ParallelUserBackupRestoreHostSideTest76 mExecutorService = Executors.newFixedThreadPool(2); in setUp()83 if (mExecutorService != null) { in tearDown()84 mExecutorService.shutdownNow(); in tearDown()117 mExecutorService.submit(backupCallableForUser(mParentUserId, backupLatch)); in testParallelBackupAndRestore()119 mExecutorService.submit(backupCallableForUser(profileUserId, backupLatch)); in testParallelBackupAndRestore()134 mExecutorService.submit(restoreCallableForUser(mParentUserId, restoreLatch)); in testParallelBackupAndRestore()136 mExecutorService.submit(restoreCallableForUser(profileUserId, restoreLatch)); in testParallelBackupAndRestore()
60 private final ScheduledExecutorService mExecutorService; field in NetworkSuggestionTestCase75 mExecutorService = Executors.newSingleThreadScheduledExecutor(); in NetworkSuggestionTestCase()153 mExecutorService.scheduleAtFixedRate(() -> { in executeTest()240 mExecutorService.shutdownNow(); in tearDown()
66 private ExecutorService mExecutorService; field in CameraPerformanceActivity273 mExecutorService.execute(new Runnable() { in performTest()304 mExecutorService = Executors.newSingleThreadExecutor(); in onResume()312 mExecutorService.shutdownNow(); in onPause()
216 ExecutorService mExecutorService; field in MediaBitstreamsDeviceSideTest.TestBitstreamsConformance239 mExecutorService = Executors.newFixedThreadPool(3); in run()249 mExecutorService.shutdown(); in run()322 Future<MediaCodec> dec = mExecutorService.submit(new Callable<MediaCodec>() { in verifyBitstream()329 Future<Boolean> conform = mExecutorService.submit(new Callable<Boolean>() { in verifyBitstream()
78 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in BaseGnssTestActivity125 mExecutorService.execute(this); in onCreate()131 mExecutorService.shutdownNow(); in onDestroy()
84 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in BaseSensorTestActivity144 mExecutorService.execute(this); in onCreate()150 mExecutorService.shutdownNow(); in onDestroy()
862 private ExecutorService mExecutorService = Executors.newFixedThreadPool(20); field in CtsTestServer.ServerThread980 mExecutorService.execute(new HandleResponseTask(conn, request, socket)); in run()1004 mExecutorService.shutdown(); in shutDownOnClientThread()1005 mExecutorService.awaitTermination(1L, TimeUnit.MINUTES); in shutDownOnClientThread()