Home
last modified time | relevance | path

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

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPerNameExecutorTest.java33 private NamedTaskExecutor mExecutor; field in PerNameExecutorTest
40 mExecutor = new PerNameExecutor(mExecutorFactory); in setUp()
70 mExecutor.cancelPendingTasks(); // cancel a2 in testCancelPendingTasks()
91 mExecutor.execute(a1); in testClose()
94 mExecutor.close(); in testClose()
96 mExecutor.close(); in testClose()
102 mExecutor.execute(task); in addTask()
DMockNamedTaskExecutor.java29 private final MockExecutor mExecutor = new MockExecutor(); field in MockNamedTaskExecutor
32 mExecutor.execute(task); in execute()
36 mExecutor.cancelPendingTasks(); in cancelPendingTasks()
40 mExecutor.close(); in close()
44 return mExecutor.runNext(); in runNext()
49 expected, mExecutor.countPendingTasks()); in assertPendingTaskCount()
DSingleThreadNamedTaskExecutorTest.java31 private SingleThreadNamedTaskExecutor mExecutor; field in SingleThreadNamedTaskExecutorTest
37 mExecutor = new SingleThreadNamedTaskExecutor(Executors.defaultThreadFactory()); in setUp()
51 mExecutor.execute(task); in addTask()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBatchingNamedTaskExecutor.java34 private final NamedTaskExecutor mExecutor; field in BatchingNamedTaskExecutor
45 mExecutor = executor; in BatchingNamedTaskExecutor()
57 mExecutor.execute(task); in dispatch()
91 mExecutor.close(); in close()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryService.java96 private ThreadPoolExecutor mExecutor; field in DictionaryService
110 mExecutor = new ThreadPoolExecutor(1 /* corePoolSize */, 1 /* maximumPoolSize */, in onCreate()
114 mExecutor.allowCoreThreadTimeOut(true); in onCreate()
157 mExecutor.submit(new Runnable() { in onStartCommand()
/packages/apps/Dialer/src/com/android/dialer/util/
DAsyncTaskExecutors.java87 private final Executor mExecutor; field in AsyncTaskExecutors.SimpleAsyncTaskExecutor
90 mExecutor = executor; in SimpleAsyncTaskExecutor()
97 return task.executeOnExecutor(mExecutor, params); in submit()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java81 private final Executor mExecutor; field in ThreadPool
88 mExecutor = new ThreadPoolExecutor( in ThreadPool()
99 mExecutor.execute(w); in submit()
/packages/apps/Mms/src/com/android/mms/util/
DBackgroundLoaderManager.java65 protected final Executor mExecutor; field in BackgroundLoaderManager
74 mExecutor = new ThreadPoolExecutor( in BackgroundLoaderManager()
DPduLoaderManager.java110 mExecutor.execute(task); in getPdu()
DThumbnailManager.java159 mExecutor.execute(task); in getThumbnail()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java102 private final ExecutorService mExecutor = Executors.newCachedThreadPool(); field in MmsService
812 Future<byte[]> pendingResult = mExecutor.submit(copyPduToArray); in readPduFromContentUri()
852 Future<Boolean> pendingResult = mExecutor.submit(copyDownloadedPduToOutput); in writePduToContentUri()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadService.java112 private final ExecutorService mExecutor = buildDownloadExecutor(); field in DownloadService
387 final boolean activeDownload = info.startDownloadIfReady(mExecutor); in updateLocked()