Searched defs:rootId (Results 1 - 10 of 10) sorted by relevance

/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 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 DRootsCache.java105 mRecentsRoot.rootId = null;
280 public RootInfo getRootOneshot(String authority, String rootId) { argument
282 RootInfo root = getRootLocked(authority, rootId);
286 root = getRootLocked(authority, rootId);
292 public RootInfo getRootBlocking(String authority, String rootId) { argument
296 return getRootLocked(authority, rootId);
300 private RootInfo getRootLocked(String authority, String rootId) { argument
302 if (Objects.equals(root.rootId, rootId)) {
315 if (Objects.equals(test.rootId, roo
[all...]
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 });
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java293 public Cursor queryRecentDocuments(String rootId, String[] projection) argument
382 * @param rootId the root to search under.
392 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
H A DDocumentsContract.java544 public static Uri buildRootUri(String authority, String rootId) { argument
546 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId).build();
557 public static Uri buildRecentDocumentsUri(String authority, String rootId) { argument
559 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId)
684 String authority, String rootId, String query) {
686 .appendPath(PATH_ROOT).appendPath(rootId).appendPath(PATH_SEARCH)
683 buildSearchDocumentsUri( String authority, String rootId, String query) argument
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java467 * @param rootId The root id for browsing.
470 public BrowserRoot(@NonNull String rootId, @Nullable Bundle extras) { argument
471 if (rootId == null) {
475 mRootId = rootId;
/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...]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java79 public String rootId; field in class:ExternalStorageProvider.RootInfo
133 final String rootId;
135 rootId = ROOT_ID_PRIMARY_EMULATED;
137 rootId = volume.getUuid();
143 if (mIdToPath.containsKey(rootId)) {
144 Log.w(TAG, "Duplicate UUID " + rootId + "; skipping");
150 mIdToPath.put(rootId, path);
153 root.rootId = rootId;
156 if (ROOT_ID_PRIMARY_EMULATED.equals(rootId)) {
460 querySearchDocuments(String rootId, String query, String[] projection) argument
[all...]
H A DTestDocumentsProvider.java295 public Cursor queryRecentDocuments(String rootId, String[] projection) argument

Completed in 137 milliseconds