Home
last modified time | relevance | path

Searched refs:mThreadPool (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/service/src/com/android/car/oem/
DCarOemProxyServiceHelper.java116 private final ExecutorService mThreadPool; field in CarOemProxyServiceHelper
140 mThreadPool = Executors.newFixedThreadPool(mBinderDispatchThreadPoolSize); in CarOemProxyServiceHelper()
171 Future<T> result = mThreadPool.submit(callable); in doBinderTimedCallWithDefaultValue()
211 Future<T> result = mThreadPool.submit(callable); in doBinderTimedCallWithTimeout()
267 Future<T> result = mThreadPool.submit(callable); in doBinderCallWithDefaultValueAndDelayedWaitAndCrash()
278 mThreadPool.execute(() -> { in doBinderCallWithDefaultValueAndDelayedWaitAndCrash()
388 Future<T> result = mThreadPool.submit(callable); in doBinderCallWithTimeoutCrash()
423 mThreadPool.execute(() -> { in doBinderOneWayCall()
426 Future<?> result = mThreadPool.submit(runnable); in doBinderOneWayCall()
460 Future<String> result = mThreadPool.submit(oemStackTracer); in crashCarService()
/packages/modules/Virtualization/authfs/tests/common/src/java/com/android/fs/common/
DAuthFsTestRule.java91 private ExecutorService mThreadPool; field in AuthFsTestRule
181 Future<?> unusedFuture = mThreadPool.submit(() -> runForResult(sAndroid, cmd, "fd_server"));
193 mThreadPool.submit(
245 mThreadPool = Executors.newCachedThreadPool();
269 if (mThreadPool != null) {
270 mThreadPool.shutdownNow();
271 mThreadPool = null;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryAppImpl.java43 private ThreadPool mThreadPool; field in GalleryAppImpl
84 if (mThreadPool == null) { in getThreadPool()
85 mThreadPool = new ThreadPool(); in getThreadPool()
87 return mThreadPool; in getThreadPool()
DSlideshowDataAdapter.java61 private final ThreadPool mThreadPool; field in SlideshowDataAdapter
74 mThreadPool = context.getThreadPool(); in SlideshowDataAdapter()
175 return mThreadPool.submit(new Job<Slide>() { in nextSlide()
202 mReloadTask = mThreadPool.submit(new ReloadTask());
DBatchService.java35 private ThreadPool mThreadPool = new ThreadPool(1, 1); field in BatchService
46 return mThreadPool; in getThreadPool()
DSinglePhotoDataAdapter.java52 private ThreadPool mThreadPool; field in SinglePhotoDataAdapter
74 mThreadPool = activity.getThreadPool(); in SinglePhotoDataAdapter()
154 mTask = mThreadPool.submit( in resume()
157 mTask = mThreadPool.submit( in resume()
DPhotoDataAdapter.java141 private final ThreadPool mThreadPool; field in PhotoDataAdapter
182 mThreadPool = activity.getThreadPool(); in PhotoDataAdapter()
789 entry.screenNailTask = mThreadPool.submit( in startTaskIfNeeded()
799 entry.fullImageTask = mThreadPool.submit( in startTaskIfNeeded()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java68 private final ExecutorService mThreadPool; field in RegistrationBinder
82 mThreadPool = threadPool; in RegistrationBinder()
185 mThreadPool.execute(() -> { in provisionKeysOnKeyConsumed()
223 mThreadPool.submit(() -> getKeyThreadWorker(keyId, callback))); in getKey()
311 mThreadPool.execute(() -> { in storeUpgradedKeyAsync()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java63 private final JobLimiter mThreadPool; field in AlbumSlidingWindow
106 mThreadPool = new JobLimiter(activity.getThreadPool(), JOB_LIMIT); in AlbumSlidingWindow()
299 return mThreadPool.submit( in submitBitmapTask()
DAlbumSetSlidingWindow.java61 private final ThreadPool mThreadPool; field in AlbumSetSlidingWindow
100 mThreadPool = activity.getThreadPool(); in AlbumSetSlidingWindow()
431 return mThreadPool.submit(mMediaItem.requestImage( in submitBitmapTask()
495 return mThreadPool.submit(mLabelMaker.requestLabel( in submitBitmapTask()
DTileImageView.java122 private final ThreadPool mThreadPool; field in TileImageView
154 mThreadPool = context.getThreadPool(); in TileImageView()
155 mTileDecoder = mThreadPool.submit(new TileDecoder()); in TileImageView()
397 mTileDecoder = mThreadPool.submit(new TileDecoder()); in prepareTextures()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRegistrationBinderTest.java95 private ExecutorService mThreadPool; field in RegistrationBinderTest
126 mThreadPool.shutdown();
128 .that(mThreadPool.awaitTermination(MAX_TIMEOUT.toMillis(), TimeUnit.MILLISECONDS))
138 mThreadPool = Executors.newCachedThreadPool();
148 mRkpServer, mMockProvisioner, mThreadPool);