Home
last modified time | relevance | path

Searched refs:existingTask (Results 1 – 2 of 2) sorted by relevance

/packages/services/Mtp/src/com/android/mtp/
DDocumentLoader.java128 final LoaderTask existingTask = mTaskList.findTask(identifier); in getNextTaskOrReleaseBackgroundThread() local
129 if (existingTask != null) { in getNextTaskOrReleaseBackgroundThread()
130 Preconditions.checkState(existingTask.getState() != LoaderTask.STATE_LOADING); in getNextTaskOrReleaseBackgroundThread()
131 mTaskList.remove(existingTask); in getNextTaskOrReleaseBackgroundThread()
/packages/apps/TV/src/com/android/tv/util/images/
DImageLoader.java249 LoadBitmapTask existingTask = sPendingListMap.get(loadBitmapTask.getKey()); in doLoadBitmap() local
250 if (existingTask != null && !loadBitmapTask.isReloadNeeded(existingTask)) { in doLoadBitmap()
253 existingTask.mCallbacks.add(callback); in doLoadBitmap()