Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DRecentsLoader.java297 public final List<String> rootIds; field in RecentsLoader.RecentsTask
302 public RecentsTask(String authority, List<String> rootIds) { in RecentsTask() argument
304 this.rootIds = rootIds; in RecentsTask()
334 final Cursor[] res = new Cursor[rootIds.size()]; in runInternal()
335 mCursors = new Cursor[rootIds.size()]; in runInternal()
336 for (int i = 0; i < rootIds.size(); i++) { in runInternal()
338 DocumentsContract.buildRecentDocumentsUri(authority, rootIds.get(i)); in runInternal()
348 mCursors[i] = new RootCursorWrapper(authority, rootIds.get(i), res[i], in runInternal()
351 Log.w(TAG, "Failed to load " + authority + ", " + rootIds.get(i), e); in runInternal()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java116 Collection<String> rootIds = mPrefs.getStringSet("roots", null); in clearCacheAndBuildRoots() local
117 if (rootIds == null) { in clearCacheAndBuildRoots()
118 rootIds = Arrays.asList(new String[] { ROOT_0_ID, ROOT_1_ID }); in clearCacheAndBuildRoots()
122 for (String rootId : rootIds) { in clearCacheAndBuildRoots()