Home
last modified time | relevance | path

Searched refs:mExecutors (Results 1 – 7 of 7) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DPerNameExecutor.java28 private HashMap<String, NamedTaskExecutor> mExecutors; field in PerNameExecutor
38 if (mExecutors == null) return; in cancelPendingTasks()
39 for (NamedTaskExecutor executor : mExecutors.values()) { in cancelPendingTasks()
45 if (mExecutors == null) return; in close()
46 for (NamedTaskExecutor executor : mExecutors.values()) { in close()
52 if (mExecutors == null) { in execute()
53 mExecutors = new HashMap<String, NamedTaskExecutor>(); in execute()
56 NamedTaskExecutor executor = mExecutors.get(name); in execute()
59 mExecutors.put(name, executor); in execute()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsService.java241 private ExecutorService[] mExecutors = new ExecutorService[2]; field in MmsService
288 for (int i = 0; i < mExecutors.length; i++) { in onCreate()
289 mExecutors[i] = Executors.newFixedThreadPool(sThreadPoolSize); in onCreate()
304 for (ExecutorService executor : mExecutors) { in onDestroy()
454 return mExecutors[0]; in getRequestExecutor()
457 return mExecutors[1]; in getRequestExecutor()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java100 protected final Lookup<String, Executor> mExecutors; field in AbstractActionHandler
143 mExecutors = executors; in AbstractActionHandler()
193 task.executeOnExecutor(mExecutors.lookup(root.authority)); in getRootDocument()
206 task.executeOnExecutor(mExecutors.lookup(doc == null ? null : doc.authority)); in refreshDocument()
480 ).executeOnExecutor(mExecutors.lookup(uri.getAuthority()), uri); in loadDocument()
486 .executeOnExecutor(mExecutors.lookup(uri.getAuthority())); in loadRoot()
492 .executeOnExecutor(mExecutors.lookup(uri.getAuthority())); in loadFirstRoot()
587 mExecutors, in onCreateLoader()
598 mExecutors, in onCreateLoader()
DMultiRootDocumentsLoader.java84 private final Lookup<String, Executor> mExecutors; field in MultiRootDocumentsLoader
111 mExecutors = executors; in MultiRootDocumentsLoader()
142 mExecutors.lookup(task.authority).execute(task); in loadInBackgroundLocked()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockNamedTaskExecutorFactory.java26 private final LinkedList<MockNamedTaskExecutor> mExecutors field in MockNamedTaskExecutorFactory
33 for (MockNamedTaskExecutor executor : mExecutors) { in runNext()
40 mExecutors.add(executor); in create()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DDebugView.java50 private Lookup<String, Executor> mExecutors = new DummyLookup<>(); field in DebugView
68 mExecutors = executors; in init()
97 Executor executor = mExecutors.lookup(info.derivedUri.getAuthority()); in accept()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java475 return mExecutors.lookup(cwd.authority); in getExecutorForCurrentDirectory()