/packages/services/Car/service/src/com/android/car/oem/ |
D | CarOemProxyServiceHelper.java | 116 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/ |
D | AuthFsTestRule.java | 91 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/ |
D | GalleryAppImpl.java | 43 private ThreadPool mThreadPool; field in GalleryAppImpl 84 if (mThreadPool == null) { in getThreadPool() 85 mThreadPool = new ThreadPool(); in getThreadPool() 87 return mThreadPool; in getThreadPool()
|
D | SlideshowDataAdapter.java | 61 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());
|
D | BatchService.java | 35 private ThreadPool mThreadPool = new ThreadPool(1, 1); field in BatchService 46 return mThreadPool; in getThreadPool()
|
D | SinglePhotoDataAdapter.java | 52 private ThreadPool mThreadPool; field in SinglePhotoDataAdapter 74 mThreadPool = activity.getThreadPool(); in SinglePhotoDataAdapter() 154 mTask = mThreadPool.submit( in resume() 157 mTask = mThreadPool.submit( in resume()
|
D | PhotoDataAdapter.java | 141 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/ |
D | RegistrationBinder.java | 68 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/ |
D | AlbumSlidingWindow.java | 63 private final JobLimiter mThreadPool; field in AlbumSlidingWindow 106 mThreadPool = new JobLimiter(activity.getThreadPool(), JOB_LIMIT); in AlbumSlidingWindow() 299 return mThreadPool.submit( in submitBitmapTask()
|
D | AlbumSetSlidingWindow.java | 61 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()
|
D | TileImageView.java | 122 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/ |
D | RegistrationBinderTest.java | 95 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);
|