Home
last modified time | relevance | path

Searched refs:mExecutors (Results 1 – 5 of 5) 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/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/
DAbstractActionHandler.java98 protected final Lookup<String, Executor> mExecutors; field in AbstractActionHandler
141 mExecutors = executors; in AbstractActionHandler()
191 task.executeOnExecutor(mExecutors.lookup(root.authority)); in getRootDocument()
204 task.executeOnExecutor(mExecutors.lookup(doc == null ? null : doc.authority)); in refreshDocument()
448 ).executeOnExecutor(mExecutors.lookup(uri.getAuthority()), uri); in loadDocument()
454 .executeOnExecutor(mExecutors.lookup(uri.getAuthority())); in loadRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java363 return mExecutors.lookup(cwd.authority); in getExecutorForCurrentDirectory()