/cts/hostsidetests/backup/src/android/cts/backup/ |
D | ParallelUserBackupRestoreHostSideTest.java | 55 private ExecutorService mExecutorService; field in ParallelUserBackupRestoreHostSideTest 76 mExecutorService = Executors.newFixedThreadPool(2); in setUp() 83 if (mExecutorService != null) { in tearDown() 84 mExecutorService.shutdownNow(); in tearDown() 119 mExecutorService.submit(backupCallableForUser(mParentUserId, backupLatch)); in testParallelBackupAndRestore() 121 mExecutorService.submit(backupCallableForUser(profileUserId, backupLatch)); in testParallelBackupAndRestore() 136 mExecutorService.submit(restoreCallableForUser(mParentUserId, restoreLatch)); in testParallelBackupAndRestore() 138 mExecutorService.submit(restoreCallableForUser(profileUserId, restoreLatch)); in testParallelBackupAndRestore()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 87 private ScheduledExecutorService mExecutorService; field in MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest 148 mExecutorService = Executors.newSingleThreadScheduledExecutor(); in setUp() 206 mExecutorService.shutdownNow(); in tearDown() 232 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPaidSuggestionWhenConnectedToInternetNetwork() 254 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToInternetNetworkWhenConnectedToOemPaidSuggestion() 284 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPrivateSuggestionWhenConnectedToInternetNetwork() 306 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToInternetNetworkWhenConnectedToOemPrivateSuggestion() 338 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPaidSuggestionFailureWhenConnectedToInternetNetwork() 366 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPrivateSuggestionFailureWhenConnectedToInternetNetwork() 394 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToSuggestionFailureWithOemPaidNetCapabilityWhenConnectedToInternetNetwork() [all …]
|
D | MultiStaConcurrencyMultiInternetWifiNetworkTest.java | 93 private ScheduledExecutorService mExecutorService; field in MultiStaConcurrencyMultiInternetWifiNetworkTest 187 mExecutorService = Executors.newSingleThreadScheduledExecutor(); in setUp() 249 mExecutorService.shutdownNow(); in tearDown() 294 mTestHelper.testMultiInternetConnectionFlowWithShellIdentity(mExecutorService, true); in testConnectToSecondaryNetworkWhenConnectedToInternetNetworkMultiAp() 310 mTestHelper.testMultiInternetConnectionFlowWithShellIdentity(mExecutorService, true); in testConnectToSecondaryNetworkWhenConnectedToInternetNetworkDBS() 326 mTestHelper.testMultiInternetConnectionFlowWithShellIdentity(mExecutorService, false); in testConnectToSecondaryNetworkWhenConnectedToInternetNetworkFail()
|
D | WifiNetworkSuggestionTest.java | 124 private ScheduledExecutorService mExecutorService; field in WifiNetworkSuggestionTest 215 mExecutorService = Executors.newSingleThreadScheduledExecutor(); in setUp() 239 mExecutorService.shutdownNow(); in tearDown() 1157 sTestNetwork, suggestion, mExecutorService, in testConnectToSuggestionThenRemoveWithImmediateDisconnect() 1181 sTestNetwork, suggestion, mExecutorService, in testConnectToSuggestionThenRemoveWithLingering() 1212 sTestNetwork, suggestion, mExecutorService, in testConnectToRestrictedSuggestion() 1229 sTestNetwork, suggestion, mExecutorService, Set.of(NET_CAPABILITY_OEM_PAID), false); in testConnectToOemPaidSuggestion() 1246 sTestNetwork, suggestion, mExecutorService, in testConnectToOemPaidAndOemPrivateSuggestion() 1263 sTestNetwork, suggestion, mExecutorService, Set.of(NET_CAPABILITY_OEM_PRIVATE), in testConnectToOemPrivateSuggestion() 1281 sTestNetwork, suggestion, mExecutorService, Set.of(NET_CAPABILITY_OEM_PRIVATE)); in testConnectToOemPaidSuggestionFailure() [all …]
|
/cts/tests/tests/content/HelloWorldApp/src_res_hardening/com/example/helloworld/ |
D | TestActivity.java | 37 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in TestActivity 48 mExecutorService.execute(this::runTest); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraPerformanceActivity.java | 60 private ExecutorService mExecutorService; field in CameraPerformanceActivity 242 mExecutorService.execute(new Runnable() { in performTest() 275 mExecutorService = Executors.newSingleThreadExecutor(); in onResume() 283 mExecutorService.shutdownNow(); in onPause()
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
D | MediaBitstreamsDeviceSideTest.java | 217 ExecutorService mExecutorService; field in MediaBitstreamsDeviceSideTest.TestBitstreamsConformance 240 mExecutorService = Executors.newFixedThreadPool(3); in run() 250 mExecutorService.shutdown(); in run() 323 Future<MediaCodec> dec = mExecutorService.submit(new Callable<MediaCodec>() { in verifyBitstream() 330 Future<Boolean> conform = mExecutorService.submit(new Callable<Boolean>() { in verifyBitstream()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 82 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in BaseSensorTestActivity 142 mExecutorService.execute(this); in onCreate() 148 mExecutorService.shutdownNow(); in onDestroy()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 1048 private ExecutorService mExecutorService = Executors.newFixedThreadPool(20); field in CtsTestServer.ServerThread 1200 mExecutorService.execute(new HandleResponseTask(conn, request, socket)); in run() 1224 mExecutorService.shutdown(); in shutDownOnClientThread() 1225 mExecutorService.awaitTermination(1L, TimeUnit.MINUTES); in shutDownOnClientThread()
|