Home
last modified time | relevance | path

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

/cts/hostsidetests/backup/src/android/cts/backup/
DParallelUserBackupRestoreHostSideTest.java55 private ExecutorService mExecutorService; field in ParallelUserBackupRestoreHostSideTest
76 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkSuggestionTestCase.java60 private final ScheduledExecutorService mExecutorService; field in NetworkSuggestionTestCase
75 mExecutorService = Executors.newSingleThreadScheduledExecutor(); in NetworkSuggestionTestCase()
153 mExecutorService.scheduleAtFixedRate(() -> { in executeTest()
240 mExecutorService.shutdownNow(); in tearDown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java66 private ExecutorService mExecutorService; field in CameraPerformanceActivity
273 mExecutorService.execute(new Runnable() { in performTest()
304 mExecutorService = Executors.newSingleThreadExecutor(); in onResume()
312 mExecutorService.shutdownNow(); in onPause()
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java185 ExecutorService mExecutorService; field in MediaBitstreamsDeviceSideTest.TestBitstreamsConformance
208 mExecutorService = Executors.newFixedThreadPool(3); in run()
218 mExecutorService.shutdown(); in run()
290 Future<MediaCodec> dec = mExecutorService.submit(new Callable<MediaCodec>() { in verifyBitstream()
297 Future<Boolean> conform = mExecutorService.submit(new Callable<Boolean>() { in verifyBitstream()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DBaseGnssTestActivity.java78 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in BaseGnssTestActivity
125 mExecutorService.execute(this); in onCreate()
131 mExecutorService.shutdownNow(); in onDestroy()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java84 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in BaseSensorTestActivity
149 mExecutorService.execute(this); in onCreate()
155 mExecutorService.shutdownNow(); in onDestroy()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java862 private ExecutorService mExecutorService = Executors.newFixedThreadPool(20); field in CtsTestServer.ServerThread
981 mExecutorService.execute(new HandleResponseTask(conn, request, socket)); in run()
1005 mExecutorService.shutdown(); in shutDownOnClientThread()
1006 mExecutorService.awaitTermination(1L, TimeUnit.MINUTES); in shutDownOnClientThread()