Searched refs:LoaderTask (Results 1 – 1 of 1) sorted by relevance
74 LoaderTask task = mTaskList.findTask(parent); in queryChildDocuments()85 task = new LoaderTask(mMtpManager, mDatabase, mDevice.operationsSupported, parent); in queryChildDocuments()94 if (task.getState() == LoaderTask.STATE_LOADING) { in queryChildDocuments()117 synchronized @Nullable LoaderTask getNextTaskOrReleaseBackgroundThread() { in getNextTaskOrReleaseBackgroundThread()120 for (final LoaderTask task : mTaskList) { in getNextTaskOrReleaseBackgroundThread()121 if (task.getState() == LoaderTask.STATE_LOADING) { in getNextTaskOrReleaseBackgroundThread()128 final LoaderTask existingTask = mTaskList.findTask(identifier); in getNextTaskOrReleaseBackgroundThread()130 Preconditions.checkState(existingTask.getState() != LoaderTask.STATE_LOADING); in getNextTaskOrReleaseBackgroundThread()133 final LoaderTask newTask = new LoaderTask( in getNextTaskOrReleaseBackgroundThread()171 final LoaderTask task; in cancelTask()[all …]