/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | PerNameExecutorTest.java | 33 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()
|
D | MockNamedTaskExecutor.java | 29 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()
|
D | SingleThreadNamedTaskExecutorTest.java | 31 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/ |
D | BatchingNamedTaskExecutor.java | 34 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/ |
D | DictionaryService.java | 96 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/ |
D | AsyncTaskExecutors.java | 87 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/ |
D | ThreadPool.java | 81 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/ |
D | BackgroundLoaderManager.java | 65 protected final Executor mExecutor; field in BackgroundLoaderManager 74 mExecutor = new ThreadPoolExecutor( in BackgroundLoaderManager()
|
D | PduLoaderManager.java | 110 mExecutor.execute(task); in getPdu()
|
D | ThumbnailManager.java | 159 mExecutor.execute(task); in getThumbnail()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 102 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/ |
D | DownloadService.java | 112 private final ExecutorService mExecutor = buildDownloadExecutor(); field in DownloadService 387 final boolean activeDownload = info.startDownloadIfReady(mExecutor); in updateLocked()
|