Home
last modified time | relevance | path

Searched refs:rootId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java88 public String rootId; field in ExternalStorageProvider.RootInfo
160 final String rootId; in updateVolumesLocked() local
167 rootId = ROOT_ID_PRIMARY_EMULATED; in updateVolumesLocked()
193 rootId = volume.getFsUuid(); in updateVolumesLocked()
201 if (TextUtils.isEmpty(rootId)) { in updateVolumesLocked()
205 if (mRoots.containsKey(rootId)) { in updateVolumesLocked()
206 Log.w(TAG, "Duplicate UUID " + rootId + " for " + volume.getId() + "; skipping"); in updateVolumesLocked()
211 mRoots.put(rootId, root); in updateVolumesLocked()
213 root.rootId = rootId; in updateVolumesLocked()
221 if (DEBUG) Log.d(TAG, "Disk for root " + rootId + " is " + disk); in updateVolumesLocked()
[all …]
DTestDocumentsProvider.java295 public Cursor queryRecentDocuments(String rootId, String[] projection) in queryRecentDocuments() argument
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java461 public Cursor queryRecentDocuments(String rootId, String[] projection) in queryRecentDocuments() argument
494 @NonNull String rootId, @Nullable String[] projection, @Nullable Bundle queryArgs, in queryRecentDocuments()
496 Preconditions.checkNotNull(rootId, "rootId can not be null"); in queryRecentDocuments()
498 Cursor c = queryRecentDocuments(rootId, projection); in queryRecentDocuments()
655 public Cursor querySearchDocuments(String rootId, String query, String[] projection) in querySearchDocuments() argument
705 public Cursor querySearchDocuments(@NonNull String rootId, in querySearchDocuments() argument
707 Preconditions.checkNotNull(rootId, "rootId can not be null"); in querySearchDocuments()
709 return querySearchDocuments(rootId, DocumentsContract.getSearchDocumentsQuery(queryArgs), in querySearchDocuments()
720 public void ejectRoot(String rootId) { in ejectRoot() argument
1086 final String rootId = DocumentsContract.getRootId(rootUri); in callUnchecked() local
[all …]
DDocumentsContract.java879 public static Uri buildRootUri(String authority, String rootId) { in buildRootUri() argument
881 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId).build(); in buildRootUri()
892 public static Uri buildRecentDocumentsUri(String authority, String rootId) { in buildRecentDocumentsUri() argument
894 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId) in buildRecentDocumentsUri()
1028 String authority, String rootId, String query) { in buildSearchDocumentsUri() argument
1030 .appendPath(PATH_ROOT).appendPath(rootId).appendPath(PATH_SEARCH) in buildSearchDocumentsUri()
1742 public Path(@Nullable String rootId, List<String> path) { in Path() argument
1746 mRootId = rootId; in Path()
1811 final String rootId = in.readString();
1813 return new Path(rootId, path);
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java379 final String rootId = isEmulated() in createOpenDocumentTreeIntent() local
383 DocumentsContract.EXTERNAL_STORAGE_PROVIDER_AUTHORITY, rootId); in createOpenDocumentTreeIntent()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java831 public BrowserRoot(@NonNull String rootId, @Nullable Bundle extras) { in BrowserRoot() argument
832 if (rootId == null) { in BrowserRoot()
836 mRootId = rootId; in BrowserRoot()