Searched refs:rootId (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DRootInfo.java48 public String rootId; field in class:RootInfo
69 rootId = null;
89 rootId = DurableUtils.readNullableString(in);
108 DurableUtils.writeNullableString(out, rootId);
145 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID);
175 return authority == null && rootId == null;
188 && "images_root".equals(rootId);
193 && "videos_root".equals(rootId);
198 && "audio_root".equals(rootId);
203 return "Root{authority=" + authority + ", rootId
[all...]
H A DDocumentStack.java83 builder.append(root.rootId).append('#');
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentLoader.java98 public final String rootId; field in class:RecentLoader.RecentTask
102 public RecentTask(String authority, String rootId) { argument
104 this.rootId = rootId;
130 final Uri uri = DocumentsContract.buildRecentDocumentsUri(authority, rootId);
133 mWithRoot = new RootCursorWrapper(authority, rootId, cursor, MAX_DOCS_FROM_ROOT);
136 Log.w(TAG, "Failed to load " + authority + ", " + rootId, e);
177 final RecentTask task = new RecentTask(root.authority, root.rootId);
H A DRootsCache.java105 mRecentsRoot.rootId = null;
276 public RootInfo getRootOneshot(String authority, String rootId) { argument
278 RootInfo root = getRootLocked(authority, rootId);
282 root = getRootLocked(authority, rootId);
288 public RootInfo getRootBlocking(String authority, String rootId) { argument
292 return getRootLocked(authority, rootId);
296 private RootInfo getRootLocked(String authority, String rootId) { argument
298 if (Objects.equal(root.rootId, rootId)) {
311 if (Objects.equal(test.rootId, roo
[all...]
H A DRootCursorWrapper.java39 public static final String COLUMN_ROOT_ID = "android:rootId";
41 public RootCursorWrapper(String authority, String rootId, Cursor cursor, int maxCount) { argument
43 mRootId = rootId;
H A DRecentsProvider.java67 // state/authority/rootId/docId
103 public static Uri buildState(String authority, String rootId, String documentId) { argument
105 .appendPath("state").appendPath(authority).appendPath(rootId).appendPath(documentId)
182 final String rootId = uri.getPathSegments().get(2);
186 new String[] { authority, rootId, documentId }, null, null, sortOrder);
214 final String rootId = uri.getPathSegments().get(2);
218 key.put(StateColumns.ROOT_ID, rootId);
225 new String[] { authority, rootId, documentId });
H A DDirectoryLoader.java123 mRoot.authority, mRoot.rootId, mDoc.documentId);
168 cursor = new RootCursorWrapper(mUri.getAuthority(), mRoot.rootId, cursor, -1);
H A DDirectoryFragment.java176 builder.append(root != null ? root.rootId : "null").append(';');
267 root.authority, root.rootId, query);
358 root.authority, root.rootId, doc.documentId);
H A DDocumentsActivity.java272 final String rootId = DocumentsContract.getRootId(mRootUri);
273 return mRoots.getRootOneshot(mRootUri.getAuthority(), rootId);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java72 public String rootId; field in class:ExternalStorageProvider.RootInfo
124 final String rootId;
126 rootId = ROOT_ID_PRIMARY_EMULATED;
128 rootId = volume.getUuid();
134 if (mIdToPath.containsKey(rootId)) {
135 Log.w(TAG, "Duplicate UUID " + rootId + "; skipping");
141 mIdToPath.put(rootId, path);
144 root.rootId = rootId;
147 if (ROOT_ID_PRIMARY_EMULATED.equals(rootId)) {
348 querySearchDocuments(String rootId, String query, String[] projection) argument
[all...]
H A DTestDocumentsProvider.java295 public Cursor queryRecentDocuments(String rootId, String[] projection) argument
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java517 public static Uri buildRootUri(String authority, String rootId) { argument
519 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId).build();
530 public static Uri buildRecentDocumentsUri(String authority, String rootId) { argument
532 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId)
576 String authority, String rootId, String query) {
578 .appendPath(PATH_ROOT).appendPath(rootId).appendPath(PATH_SEARCH)
575 buildSearchDocumentsUri( String authority, String rootId, String query) argument
H A DDocumentsProvider.java229 public Cursor queryRecentDocuments(String rootId, String[] projection) argument
318 * @param rootId the root to search under.
328 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument

Completed in 271 milliseconds