/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | MediaDb.java | 27 import com.android.pump.concurrent.Executors; 88 Executors.uiThreadExecutor().execute(() -> addAudios(audios)); in MediaDb() 93 Executors.uiThreadExecutor().execute(() -> addArtists(artists)); in MediaDb() 98 Executors.uiThreadExecutor().execute(() -> addAlbums(albums)); in MediaDb() 103 Executors.uiThreadExecutor().execute(() -> addGenres(genres)); in MediaDb() 108 Executors.uiThreadExecutor().execute(() -> addPlaylists(playlists)); in MediaDb() 115 Executors.uiThreadExecutor().execute(() -> addMovies(movies)); in MediaDb() 120 Executors.uiThreadExecutor().execute(() -> addSeries(series)); in MediaDb() 125 Executors.uiThreadExecutor().execute(() -> addEpisodes(episodes)); in MediaDb() 130 Executors.uiThreadExecutor().execute(() -> addOthers(others)); in MediaDb() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | DialerExecutorModule.java | 33 import java.util.concurrent.Executors; 57 return Executors.newFixedThreadPool( in provideNonUiThreadPool() 75 return Executors.newSingleThreadScheduledExecutor( 98 return Executors.newSingleThreadScheduledExecutor(
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | CameraModuleHelper.java | 27 import java.util.concurrent.Executors; 40 ExecutorService backgroundRunner = Executors.newSingleThreadExecutor(); in providePortabilityActionProvider() 49 ExecutorService backgroundRunner = Executors.newSingleThreadExecutor(); in provideCamera2ActionProvider()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | ImageLoader.java | 29 import com.android.pump.concurrent.Executors; 60 addCallback(callback, Executors.uiThreadExecutor()); in addCallback() 72 removeCallback(callback, Executors.uiThreadExecutor()); in removeCallback() 84 loadImage(uri, callback, Executors.uiThreadExecutor()); in loadImage()
|
/packages/apps/Dialer/java/com/android/incallui/async/ |
D | PausableExecutorImpl.java | 19 import java.util.concurrent.Executors; 38 Executors.newSingleThreadExecutor().execute(command); in execute()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/ |
D | WorkerExecutor.java | 20 import java.util.concurrent.Executors; 40 mSingleThreadExecutor = Executors.newSingleThreadExecutor(); in WorkerExecutor()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | SingleThreadNamedTaskExecutorTest.java | 21 import java.util.concurrent.Executors; 37 mExecutor = new SingleThreadNamedTaskExecutor(Executors.defaultThreadFactory()); in setUp()
|
/packages/apps/TV/common/src/com/android/tv/common/concurrent/ |
D | NamedThreadFactory.java | 20 import java.util.concurrent.Executors; 31 mDefaultThreadFactory = Executors.defaultThreadFactory(); in NamedThreadFactory()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | MediaResourceManager.java | 29 import java.util.concurrent.Executors; 100 private static final Executor MEDIA_LOADING_EXECUTOR = Executors.newFixedThreadPool(10); 106 private static final Executor MEDIA_BACKGROUND_EXECUTOR = Executors.newSingleThreadExecutor(
|
/packages/apps/TV/src/com/android/tv/modules/ |
D | TvApplicationModule.java | 30 import java.util.concurrent.Executors; 48 return Executors.newSingleThreadExecutor(THREAD_FACTORY); in providesDbExecutor()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/app/ |
D | GlobalsApplication.java | 9 import com.android.pump.concurrent.Executors; 60 mExecutor = Executors.newFixedUniqueThreadPool( in getExecutor()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/ |
D | Executors.java | 32 public final class Executors { class 33 private Executors() { } in Executors() method in Executors
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageBackend.java | 37 import java.util.concurrent.Executors; 152 mThreadPoolFast = Executors.newFixedThreadPool(NUM_THREADS_FAST, new FastThreadFactory()); in ImageBackend() 153 mThreadPoolAverage = Executors.newFixedThreadPool(NUM_THREADS_AVERAGE, in ImageBackend() 155 mThreadPoolSlow = Executors.newFixedThreadPool(NUM_THREADS_SLOW, new SlowThreadFactory()); in ImageBackend()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ExecutorUtils.java | 24 import java.util.concurrent.Executors; 43 return Executors.newSingleThreadScheduledExecutor(new ExecutorFactory(name)); in newExecutorService()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | Loader.java | 28 import java.util.concurrent.Executors; 49 private final ExecutorService mExecutor = Executors.newSingleThreadExecutor();
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | SystemStateInterface.java | 34 import java.util.concurrent.Executors; 127 mExecutorService = Executors.newScheduledThreadPool(corePoolSize); in scheduleActionForBootCompleted()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | DrawableDownloader.java | 32 import java.util.concurrent.Executors; 57 Executors.newFixedThreadPool(CORE_POOL_SIZE); 64 Executors.newFixedThreadPool(CORE_RESOURCE_POOL_SIZE);
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | VideoPlayerActivity.java | 38 import com.android.pump.concurrent.Executors; 89 mMediaController = new MediaController(this, token, Executors.uiThreadExecutor(), in onAttachedToWindow()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | ConditionManager.java | 32 import java.util.concurrent.Executors; 53 mExecutorService = Executors.newCachedThreadPool(); in ConditionManager()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionManager.java | 32 import java.util.concurrent.Executors; 53 mExecutorService = Executors.newCachedThreadPool(); in ConditionManager()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 45 import java.util.concurrent.Executors; 142 executor = Executors.newFixedThreadPool(POOL_SIZE); in onCreate() 146 deletionExecutor = Executors.newCachedThreadPool(); in onCreate()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | SearchFeatureProviderImpl.java | 42 import java.util.concurrent.Executors; 144 mExecutorService = Executors.newCachedThreadPool(); in getExecutorService()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | CandidateSuggestionFilter.java | 41 import java.util.concurrent.Executors; 59 sExecutorService = Executors.newCachedThreadPool(); in getInstance()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbFuture.java | 36 import java.util.concurrent.Executors; 43 MoreExecutors.listeningDecorator(Executors.newSingleThreadExecutor(THREAD_FACTORY));
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardLoader.java | 45 import java.util.concurrent.Executors; 79 mExecutorService = Executors.newCachedThreadPool(); in ContextualCardLoader()
|