Home
last modified time | relevance | path

Searched refs:volumeName (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/provider/
DMediaStore.java1235 public static Uri getContentUri(String volumeName) { in getContentUri() argument
1236 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("file").build(); in getContentUri()
1247 public static final Uri getContentUri(String volumeName, in getContentUri() argument
1249 return ContentUris.withAppendedId(getContentUri(volumeName), rowId); in getContentUri()
1257 public static Uri getMtpObjectsUri(String volumeName) { in getMtpObjectsUri() argument
1258 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("object").build(); in getMtpObjectsUri()
1266 public static final Uri getMtpObjectsUri(String volumeName, in getMtpObjectsUri() argument
1268 return ContentUris.withAppendedId(getMtpObjectsUri(volumeName), fileId); in getMtpObjectsUri()
1276 public static final Uri getMtpReferencesUri(String volumeName, in getMtpReferencesUri() argument
1278 return getMtpObjectsUri(volumeName, fileId).buildUpon().appendPath("references") in getMtpReferencesUri()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java172 public int getPropertyList(ContentProviderClient provider, String volumeName, in getPropertyList() argument
182 volumeName); in getPropertyList()
DMtpDatabase.java216 public static Uri getObjectPropertiesUri(int format, String volumeName) { in getObjectPropertiesUri() argument
223 return MediaStore.Audio.Media.getContentUri(volumeName); in getObjectPropertiesUri()
227 return MediaStore.Video.Media.getContentUri(volumeName); in getObjectPropertiesUri()
234 return MediaStore.Images.Media.getContentUri(volumeName); in getObjectPropertiesUri()
236 return MediaStore.Files.getContentUri(volumeName); in getObjectPropertiesUri()
/frameworks/base/media/java/android/media/
DMediaScanner.java430 public MediaScanner(Context c, String volumeName) { in MediaScanner() argument
434 mVolumeName = volumeName; in MediaScanner()
451 mAudioUri = Audio.Media.getContentUri(volumeName); in MediaScanner()
452 mVideoUri = Video.Media.getContentUri(volumeName); in MediaScanner()
453 mImagesUri = Images.Media.getContentUri(volumeName); in MediaScanner()
454 mFilesUri = Files.getContentUri(volumeName); in MediaScanner()
461 if (!volumeName.equals("internal")) { in MediaScanner()
465 mPlaylistsUri = Playlists.getContentUri(volumeName); in MediaScanner()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1124 final String volumeName = MediaStore.getVolumeName(uri); in getStorageVolume() local
1125 switch (volumeName) { in getStorageVolume()
1130 if (Objects.equals(vol.getNormalizedUuid(), volumeName)) { in getStorageVolume()