Home
last modified time | relevance | path

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

/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java91 public String rootId; field in ExternalStorageProvider.RootInfo
173 final String rootId; in updateVolumesLocked() local
180 rootId = ROOT_ID_PRIMARY_EMULATED; in updateVolumesLocked()
205 rootId = volume.getFsUuid(); in updateVolumesLocked()
213 if (TextUtils.isEmpty(rootId)) { in updateVolumesLocked()
217 if (mRoots.containsKey(rootId)) { in updateVolumesLocked()
218 Log.w(TAG, "Duplicate UUID " + rootId + " for " + volume.getId() + "; skipping"); in updateVolumesLocked()
223 mRoots.put(rootId, root); in updateVolumesLocked()
225 root.rootId = rootId; in updateVolumesLocked()
233 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.java472 public Cursor queryRecentDocuments(String rootId, String[] projection) in queryRecentDocuments() argument
505 @NonNull String rootId, @Nullable String[] projection, @Nullable Bundle queryArgs, in queryRecentDocuments()
507 Preconditions.checkNotNull(rootId, "rootId can not be null"); in queryRecentDocuments()
509 Cursor c = queryRecentDocuments(rootId, projection); in queryRecentDocuments()
666 public Cursor querySearchDocuments(String rootId, String query, String[] projection) in querySearchDocuments() argument
716 public Cursor querySearchDocuments(@NonNull String rootId, in querySearchDocuments() argument
718 Preconditions.checkNotNull(rootId, "rootId can not be null"); in querySearchDocuments()
720 return querySearchDocuments(rootId, DocumentsContract.getSearchDocumentsQuery(queryArgs), in querySearchDocuments()
731 public void ejectRoot(String rootId) { in ejectRoot() argument
1107 final String rootId = DocumentsContract.getRootId(rootUri); in callUnchecked() local
[all …]
DDocumentsContract.java919 public static Uri buildRootUri(String authority, String rootId) { in buildRootUri() argument
921 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId).build(); in buildRootUri()
932 public static Uri buildRecentDocumentsUri(String authority, String rootId) { in buildRecentDocumentsUri() argument
934 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId) in buildRecentDocumentsUri()
1082 String authority, String rootId, String query) { in buildSearchDocumentsUri() argument
1084 .appendPath(PATH_ROOT).appendPath(rootId).appendPath(PATH_SEARCH) in buildSearchDocumentsUri()
1796 public Path(@Nullable String rootId, List<String> path) { in Path() argument
1800 mRootId = rootId; in Path()
1865 final String rootId = in.readString();
1867 return new Path(rootId, path);
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaPolicyBuilder.java283 final int rootId = displayAreaHierarchy.mRoot.mFeatureId; in validateIds() local
284 if (!allIdSet.add(rootId) || !uniqueIdSet.add(rootId)) { in validateIds()
286 "RootDisplayArea must have unique id, but id=" + rootId + " is not unique."); in validateIds()
288 if (rootId > FEATURE_VENDOR_LAST) { in validateIds()
377 final int rootId = options.getInt(KEY_ROOT_DISPLAY_AREA_ID); in apply() local
378 if (mDisplayRoot.mFeatureId == rootId) { in apply()
382 if (mDisplayAreaGroupRoots.get(i).mFeatureId == rootId) { in apply()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java883 public BrowserRoot(@NonNull String rootId, @Nullable Bundle extras) { in BrowserRoot() argument
884 if (rootId == null) { in BrowserRoot()
888 mRootId = rootId; in BrowserRoot()
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java466 final String rootId = isEmulated() in createOpenDocumentTreeIntent() local
470 DocumentsContract.EXTERNAL_STORAGE_PROVIDER_AUTHORITY, rootId); in createOpenDocumentTreeIntent()