Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DMultiRootDocumentsLoader.java92 private final Map<String, QueryTask> mTasks = new HashMap<>(); field in MultiRootDocumentsLoader
129 synchronized (mTasks) { in loadInBackground()
145 mTasks.put(rootEntry.getKey(), in loadInBackgroundLocked()
149 mFirstPassLatch = new CountDownLatch(mTasks.size()); in loadInBackgroundLocked()
150 for (QueryTask task : mTasks.values()) { in loadInBackgroundLocked()
167 List<Cursor> cursors = new ArrayList<>(mTasks.size()); in loadInBackgroundLocked()
168 for (QueryTask task : mTasks.values()) { in loadInBackgroundLocked()
326 synchronized (mTasks) { in onReset()
327 for (QueryTask task : mTasks.values()) { in onReset()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningController.java73 private List<AbstractProvisioningTask> mTasks = new ArrayList<>(); field in AbstractProvisioningController
98 mTasks.add(task); in addTasks()
140 if (mTasks.isEmpty()) { in runTask()
144 AbstractProvisioningTask nextTask = mTasks.get(index); in runTask()
164 if (mCurrentTaskIndex == mTasks.size()) { in onSuccess()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingTaskController.java34 private HashMap<Integer, ProcessingTask> mTasks = new HashMap<Integer, ProcessingTask>(); field in ProcessingTaskController
42 ProcessingTask task = mTasks.get(msg.what);
57 ProcessingTask task = mTasks.get(msg.what); in handleMessage()
91 mTasks.put(task.getType(), task); in add()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewOnDrawExecutor.java37 private final ArrayList<Runnable> mTasks = new ArrayList<>(); field in ViewOnDrawExecutor
71 mTasks.add(command); in execute()
105 mTasks.clear(); in markCompleted()
122 for (final Runnable r : mTasks) { in runAllTasks()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java87 private final Map<ImageKey, ImageLoadingTask> mTasks = new HashMap<>(20); field in LocalImageFetcher
136 ImageLoadingTask task = mTasks.get(key); in getImage()
152 mTasks.put(key, task); in getImage()
172 ImageLoadingTask task = mTasks.remove(key); in cancelRequest()
195 ImageLoadingTask pendingTask = mTasks.get(key); in fulfilRequests()
202 mTasks.remove(key); in fulfilRequests()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java57 ArrayList<Task> mTasks = new ArrayList<>(); field in RecentTasksList
90 : () -> callback.accept(copyOf(mTasks)); in getTasks()
104 mTasks = tasks; in getTasks()
128 mTasks = loadTasksInBackground(Integer.MAX_VALUE, false); in onTaskRemoved()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java85 private List<Pair<Integer, AbstractProvisioningTask>> mTasks = new ArrayList<>(); field in OtaControllerTest
248 mTasks.add(Pair.create(userId, task)); in execute()
284 assertEquals(tasks.length, mTasks.size()); in assertTaskList()
292 for (Pair<Integer, AbstractProvisioningTask> task : mTasks) { in assertTaskListContains()
301 for (Pair<Integer, AbstractProvisioningTask> task : mTasks) { in assertInstallExistingPackageTask()